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

Plask profling #39

Open
vorg opened this issue Apr 20, 2015 · 1 comment
Open

Plask profling #39

vorg opened this issue Apr 20, 2015 · 1 comment

Comments

@vorg
Copy link
Contributor

vorg commented Apr 20, 2015

I've been following this guide on how to make a flame chart from node v8.log profile and they mention

With a version of node that has a --log-timer-events as part of v8-options, run the app in profiling mode and load the resulting v8.log into Chrome at chrome://tracing.

Is --log-timer-events a compilation option? My graphs are empty so not sure if these log timer evens are properly logged. I'm running:

Plask.app/Contents/MacOS/Plask --prof --track_gc_object_stats --trace_gc_verbose --log_timer_events main.js

Any other ways to profile a Plask app?

@deanm
Copy link
Owner

deanm commented Apr 21, 2015

Yeah, I've profiled plask many times, in general --prof works and writes out v8 log files, but there will be more than one log file, because the log file is per context. You need a tick processor that matches the right version of v8, which is the only tricky bit, but I've done it a few times before and gotten good profiles.

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

No branches or pull requests

2 participants