Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiling error - Performance report no longer exists #1189

Closed
jspri opened this issue Aug 4, 2016 · 4 comments
Closed

Profiling error - Performance report no longer exists #1189

jspri opened this issue Aug 4, 2016 · 4 comments

Comments

@jspri
Copy link

jspri commented Aug 4, 2016

Expected Behavior

Profiler works normally.

Actual Behavior

When attempting to view report generated after running profiler get the follow error Performance report no longer exists: Performance_20160804.vspx

While the report is being created a v8.log is created in the directory. Once the the recording is finished the log is deleted. A copy of the logs state midway is here

As suggested by the wiki I tried using Microsoft.NodejsTools.NodeLogConverter.exe directly however that was throwing a large number of warnings and eventually crashed on execution. From the outside it looks as though this component probably hasn't been updated to work with logs created by the latest version of node.

  • NTVS Version: v1.2.40726.00
  • Visual Studio Version: v14.0.25425.01 Update 3 (latest)
  • Node.js Version: v6.3.1 (x64)
Steps to Reproduce
  1. Launch nodejs profiling
  2. Standalone script > pick script/working directory, no command line arguments
  3. Start profiling
  4. Stop after any length of time
  5. Attempt to view report by double clicking
@jspri jspri changed the title Profiling error: Performance report no longer exists Profiling error- Performance report no longer exists Aug 4, 2016
@jspri jspri changed the title Profiling error- Performance report no longer exists Profiling error - Performance report no longer exists Aug 4, 2016
@mjbvz mjbvz added the profiling label Aug 4, 2016
@mjbvz
Copy link
Contributor

mjbvz commented Aug 4, 2016

Thank you for reporting this.

I was unable to repo the problem by following these steps, but did see similar behavior when trying to open a report while the profiler was still running. A few questions to help with the investigation:

  • Does this happen for all projects or just this one? Does it happen for a new express project?
  • What type of project are you profiling (server, command line app, ...)?
  • What warning and errors are printed when running the log converted manually?

We should support Node 6.3 just fine, but there is a known issue with x64 profiling (#434) around displaying function names.

@jspri
Copy link
Author

jspri commented Aug 8, 2016

Does this happen for all projects or just this one? Does it happen for a new express project?

I created a new express project and that profiled ok. When I profiled the original app from inside the express solution that also worked ok. It exhibited (#434) as you mentioned but was otherwise fine.

However, the problem still exists when I start visual studio and profile immediately without opening a solution. This would probably rule out the log parser as being the source of the error.

What type of project are you profiling (server, command line app, ...)?

It's a web crawler.

@TYoung86
Copy link

TYoung86 commented Nov 28, 2016

Reproduced the problem by attempting to profile a Node.js project created from existing code before saving the sln and njsproj files. Tried to delete the report, said access denied to path "C:\Program Files\Micro...blahblah...", not where my project is, definitely shouldn't have rights to... Saved project and re-opened, was able to run profiler.

Separately, the profiler is giving me "No Call Tree Data Is Available"... restarted VS and had same problem... deleted all generated performance data in the project directory, restarted VS and got it ... not quite working... All I got was a single call 786 times to promises.emitPendingUnhandledRejections ... but none of my code was profiled.

@paulvanbrenk
Copy link
Contributor

The current profiler is no longer supported, while we investigate options for a replacement. Current guidance is to use the building profiler.

More info here:

https://nodejs.org/en/docs/guides/simple-profiling/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants