Skip to content
int3 edited this page Nov 30, 2012 · 23 revisions

Useful Links

Tracing Hotspot Execution

  • For (slow) bytecode tracing, download the debug build here and run with -XX:+TraceBytecodes
  • For faster method tracing: https://github.com/int3/dsjt
  • Of course, a debugger (like jdb) is useful too

Profiling Javascript Engines

  • Useful Node flags:
    • --trace-bailout --trace-opt --trace-deopt --code-comments -- inspect JIT behavior
    • --prof (Parse profile dump using nprof) -- find the most heavily-used functions
Clone this wiki locally