Skip to content

Instantly share code, notes, and snippets.

@bigeasy
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bigeasy/e58f97b67258cd19fe78 to your computer and use it in GitHub Desktop.
Save bigeasy/e58f97b67258cd19fe78 to your computer and use it in GitHub Desktop.
Profiling discussion.
[12:38:59] <prettyrobots> Any nice blog posts on profiling Node.js?
[12:39:10] <prettyrobots> I've run a program with `--prof`, but I can't find a way to visualize it.
[12:40:40] kessler (~kessler@odap-199-203-61-108.bb.netvision.net.il) left IRC. (Ping timeout: 246 seconds)
[12:42:08] joates (~joates@host109-152-220-28.range109-152.btcentralplus.com) left IRC. (Quit: Leaving)
[12:43:15] Maciek416 (~Maciek@2601:7:2100:2c1:e4b2:2ee:277d:28d1) left IRC. (Ping timeout: 272 seconds)
[12:50:33] peutetre (~peutetre@ip18861980.dynamic.kabel-deutschland.de) left IRC. (Quit: peutetre)
[12:51:03] toddself_zz is now known as toddself
[12:56:17] kessler (~kessler@odap-199-203-61-108.bb.netvision.net.il) joined the channel.
[13:02:04] phated (~phated@ip72-208-140-83.ph.ph.cox.net) joined the channel.
[13:03:43] kumavis (~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net) joined the channel.
[13:05:18] shama (~shama@c-73-164-214-148.hsd1.or.comcast.net) joined the channel.
[13:08:02] <thlorenz> prettyrobots: I used to be able to load v8.log into chrome://tracing, but it seems to not work anymore
[13:08:31] anandthakker (~anonymous@aqu33-3-82-230-112-156.fbx.proxad.net) left IRC. (Ping timeout: 272 seconds)
[13:08:38] <thlorenz> see: https://github.com/thlorenz/v8-perf/issues/4
[13:08:45] phated (~phated@ip72-208-140-83.ph.ph.cox.net) left IRC. (Ping timeout: 260 seconds)
[13:09:32] <thlorenz> prettyrobots: this could also help: https://github.com/thlorenz/v8-profiling
[13:09:34] anandthakker (~anonymous@aqu33-3-82-230-112-156.fbx.proxad.net) joined the channel.
[13:09:57] <thlorenz> specifically https://github.com/thlorenz/v8-profiling#processing-tick-data
[13:10:37] ryan_stevens (~ryan_stev@50.141.67.133) left IRC. (Ping timeout: 245 seconds)
[13:13:57] cpup (~cpup@32.218.117.128) left IRC. (Ping timeout: 245 seconds)
[13:15:10] cpup (~cpup@32.218.117.128) joined the channel.
[13:15:33] ryan_stevens (~ryan_stev@c-50-156-117-107.hsd1.ca.comcast.net) joined the channel.
[13:16:07] thealphanerd (~thealphan@pdpc/supporter/student/thealphanerd) joined the channel.
[13:23:55] <nathan7> goddamnit, Dominic, please appear on IRC
[13:25:15] jxson (jxson@nat/google/x-ncwjrecbhlhdtnjy) joined the channel.
[13:29:26] warbrett (~warbrett@wsip-184-176-136-106.ph.ph.cox.net) left IRC. (Ping timeout: 272 seconds)
[13:31:47] djcoin (~djcoin@128-79-237-66.hfc.dyn.abo.bbox.fr) left IRC. (Quit: WeeChat 1.0)
[13:33:01] gangleri (~gangleri@87-198-26-90.ptr.magnet.ie) joined the channel.
[13:37:54] peutetre (~peutetre@ip18861980.dynamic.kabel-deutschland.de) joined the channel.
[13:38:54] coderzach (~coderzach@ool-18ba627b.dyn.optonline.net) left IRC. (Remote host closed the connection)
[13:39:32] kessler (~kessler@odap-199-203-61-108.bb.netvision.net.il) left IRC. (Ping timeout: 260 seconds)
[13:39:52] gorhgorh (~gorhgorh@175.229.207.77.rev.sfr.net) joined the channel.
[13:50:10] <prettyrobots> @thlorenz: When did it stop working. I can install an old Node.js to get to it.
[13:52:44] <thlorenz> prettyrobots: not related to node, but to version of Chrome
[13:53:17] <thlorenz> I'm not sure, but maybe they no longer keep this working since the Chrome Devtools timeline has part of that functionality now
[13:53:26] <thlorenz> stopped working about 2 months ago
[13:53:49] <paul_irish> thlorenz: you've seen profviz right
[13:54:18] <paul_irish> optimizeLegibility
[13:54:21] <paul_irish> whoops
[13:54:27] <paul_irish> https://v8.googlecode.com/svn/trunk/tools/profviz/profviz.html <===
[13:55:29] <thlorenz> paul_irish: https://github.com/thlorenz/v8-profiling#in-the-browser yeah :)
[13:56:15] <thlorenz> not exactly same functionality though as chrome://tracing
[13:56:23] <paul_irish> aye
[13:56:37] <paul_irish> i'm not sure if it was intentional that v8 logs now fail in trace-viewer
[13:56:44] <thlorenz> I miss the ability to interact with things and see my code executing in relation to v8 events like GC:Scavenge
[13:57:07] <thlorenz> :( any intent to fix it or will it be deprecated in favor of devtool timeline?
[13:57:17] <thlorenz> *devtools
[13:57:20] <paul_irish> https://github.com/google/trace-viewer i can cc an engineer on any issue you file
[13:57:34] <paul_irish> no tracing will live for a while
[13:57:52] <paul_irish> it'll only die when timeline can do everything it can
[13:57:55] <paul_irish> which we're not close to yet
[13:58:29] <thlorenz> wow awesome, thanks, I'll file an issue - all I can say though is that same v8 logs that could be loaded before produce undesired results now
[13:58:58] <paul_irish> toss some screenshots in there
[13:59:12] <paul_irish> im pretty sure we still want v8 logs to work in tracing
[13:59:13] <paul_irish> so
[13:59:19] <paul_irish> valid regression
[14:01:52] phated (~phated@wsip-70-166-103-182.ph.ph.cox.net) joined the channel.
[14:04:27] kumavis (~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net) left IRC. (Ping timeout: 245 seconds)
[14:06:45] warbrett (~warbrett@wsip-70-166-103-182.ph.ph.cox.net) joined the channel.
[14:11:07] kessler (~kessler@odap-199-203-61-108.bb.netvision.net.il) joined the channel.
[14:14:31] AvianPhone (~AvianPhon@2600:1001:b11e:5706:84a6:a8f5:5c0f:8887) left IRC. (Quit: Bye)
[14:15:58] gangleri (~gangleri@87-198-26-90.ptr.magnet.ie) left IRC. (Ping timeout: 272 seconds)
[14:20:35] therealkoopa (~therealko@pool-108-52-202-109.phlapa.fios.verizon.net) left IRC. (Remote host closed the connection)
[14:23:34] <thlorenz> paul_irish: https://github.com/google/trace-viewer/issues/622
[14:25:12] toddself (~toddself@pool-173-68-17-221.pghkny.fios.verizon.net) left IRC.
[14:27:12] Maciek416 (~Maciek@c-71-193-203-43.hsd1.or.comcast.net) joined the channel.
[14:27:29] thisandagain_ (sid39659@gateway/web/irccloud.com/x-kkmouvoofclhuwte) joined the channel.
[14:29:41] <prettyrobots> thlorenz: Thank you.
[14:29:50] <thlorenz> prettyrobots: np :)
[14:31:32] Maciek416 (~Maciek@c-71-193-203-43.hsd1.or.comcast.net) left IRC. (Ping timeout: 245 seconds)
[14:35:49] yoshuawuyts_____ (~yoshuawuy@2001:981:a181:1:d15c:8900:9f25:c3e4) left IRC. (Quit: Computer has gone to sleep.)
[14:36:01] kumavis (~kumavis@c-69-181-164-196.hsd1.ca.comcast.net) joined the channel.
[14:36:10] kumavis (~kumavis@c-69-181-164-196.hsd1.ca.comcast.net) left IRC. (Remote host closed the connection)
[14:39:16] demariuschrite (~demariusc@c-68-41-136-85.hsd1.mi.comcast.net) joined the channel.
[14:40:27] <prettyrobots> demariuschrite: You can't see any scrollback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment