Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created December 23, 2014 19:38
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 tmcw/7f504c59be64f5f84062 to your computer and use it in GitHub Desktop.
Save tmcw/7f504c59be64f5f84062 to your computer and use it in GitHub Desktop.
Statistical profiling result from v8.log, (3108 ticks, 3 unaccounted, 0 excluded).
[Unknown]:
ticks total nonlib name
3 0.1%
[Shared libraries]:
ticks total nonlib name
145 4.7% 0.0% /usr/local/bin/node
6 0.2% 0.0% /usr/lib/system/libsystem_kernel.dylib
5 0.2% 0.0% /usr/lib/system/libsystem_platform.dylib
1 0.0% 0.0% /usr/lib/system/libsystem_pthread.dylib
[JavaScript]:
ticks total nonlib name
2569 82.7% 87.1% LazyCompile: *module.exports /Users/tmcw/src/turf-within/node_modules/turf-inside/index.js:5
235 7.6% 8.0% LazyCompile: *module.exports /Users/tmcw/src/turf-within/index.js:4
129 4.2% 4.4% Stub: CompareStub_EQ
5 0.2% 0.2% LazyCompile: *hexagon /Users/tmcw/src/turf-perf/node_modules/turf-hex/index.js:16
3 0.1% 0.1% LazyCompile: EQUALS native runtime.js:54
2 0.1% 0.1% LazyCompile: *hexgrid /Users/tmcw/src/turf-perf/node_modules/turf-hex/index.js:42
1 0.0% 0.0% Stub: ToBooleanStub
1 0.0% 0.0% Stub: KeyedLoadElementStub
1 0.0% 0.0% Stub: CompareICStub
1 0.0% 0.0% Stub: CEntryStub
1 0.0% 0.0% LazyCompile: ~hexagon /Users/tmcw/src/turf-perf/node_modules/turf-hex/index.js:16
[C++]:
ticks total nonlib name
[GC]:
ticks total nonlib name
116 3.7%
[Bottom up (heavy) profile]:
Note: percentage shows a share of a particular caller in the total
amount of its parent calls.
Callers occupying less than 2.0% are not shown.
ticks parent name
2569 82.7% LazyCompile: *module.exports /Users/tmcw/src/turf-within/node_modules/turf-inside/index.js:5
2564 99.8% LazyCompile: *module.exports /Users/tmcw/src/turf-within/index.js:4
2564 100.0% Function: ~<anonymous> /Users/tmcw/src/turf-perf/index.js:1
2564 100.0% LazyCompile: ~Module._compile module.js:374
2564 100.0% LazyCompile: ~Module._extensions..js module.js:472
2564 100.0% LazyCompile: ~Module.load module.js:346
235 7.6% LazyCompile: *module.exports /Users/tmcw/src/turf-within/index.js:4
235 100.0% Function: ~<anonymous> /Users/tmcw/src/turf-perf/index.js:1
235 100.0% LazyCompile: ~Module._compile module.js:374
235 100.0% LazyCompile: ~Module._extensions..js module.js:472
235 100.0% LazyCompile: ~Module.load module.js:346
235 100.0% LazyCompile: Module._load module.js:275
145 4.7% /usr/local/bin/node
9 6.2% LazyCompile: ~NativeModule.compile node.js:915
9 100.0% LazyCompile: ~NativeModule.require node.js:870
2 22.2% LazyCompile: ~startup node.js:30
2 100.0% Function: ~<anonymous> node.js:27
1 11.1% LazyCompile: ~tryFile module.js:138
1 100.0% LazyCompile: ~Module._findPath module.js:160
1 100.0% LazyCompile: ~Module._resolveFilename module.js:323
1 11.1% LazyCompile: ~startup.globalVariables node.js:160
1 100.0% LazyCompile: ~startup node.js:30
1 100.0% Function: ~<anonymous> node.js:27
1 11.1% LazyCompile: ~<anonymous> node.js:204
1 100.0% Function: ~<anonymous> /Users/tmcw/src/turf-perf/index.js:1
1 100.0% LazyCompile: ~Module._compile module.js:374
1 11.1% Function: ~<anonymous> tty.js:1
1 100.0% LazyCompile: ~NativeModule.compile node.js:915
1 100.0% LazyCompile: ~NativeModule.require node.js:870
1 11.1% Function: ~<anonymous> stream.js:1
1 100.0% LazyCompile: ~NativeModule.compile node.js:915
1 100.0% LazyCompile: ~NativeModule.require node.js:870
1 11.1% Function: ~<anonymous> net.js:1
1 100.0% LazyCompile: ~NativeModule.compile node.js:915
1 100.0% LazyCompile: ~NativeModule.require node.js:870
1 11.1% Function: ~<anonymous> buffer.js:1
1 100.0% LazyCompile: ~NativeModule.compile node.js:915
1 100.0% LazyCompile: ~NativeModule.require node.js:870
3 2.1% LazyCompile: *hexagon /Users/tmcw/src/turf-perf/node_modules/turf-hex/index.js:16
3 100.0% LazyCompile: *hexgrid /Users/tmcw/src/turf-perf/node_modules/turf-hex/index.js:42
3 100.0% Function: ~<anonymous> /Users/tmcw/src/turf-perf/index.js:1
3 100.0% LazyCompile: ~Module._compile module.js:374
3 100.0% LazyCompile: ~Module._extensions..js module.js:472
129 4.2% Stub: CompareStub_EQ
129 100.0% LazyCompile: *module.exports /Users/tmcw/src/turf-within/node_modules/turf-inside/index.js:5
129 100.0% LazyCompile: *module.exports /Users/tmcw/src/turf-within/index.js:4
129 100.0% Function: ~<anonymous> /Users/tmcw/src/turf-perf/index.js:1
129 100.0% LazyCompile: ~Module._compile module.js:374
129 100.0% LazyCompile: ~Module._extensions..js module.js:472
[Top down (heavy) profile]:
Note: callees occupying less than 0.1% are not shown.
inclusive self name
ticks total ticks total
2990 96.2% 0 0.0% Function: ~<anonymous> node.js:27
2989 96.2% 0 0.0% LazyCompile: ~startup node.js:30
2981 95.9% 0 0.0% LazyCompile: ~Module.runMain module.js:495
2980 95.9% 0 0.0% LazyCompile: Module._load module.js:275
2974 95.7% 0 0.0% LazyCompile: ~Module.load module.js:346
2973 95.7% 0 0.0% LazyCompile: ~Module._extensions..js module.js:472
2972 95.6% 0 0.0% LazyCompile: ~Module._compile module.js:374
2972 95.6% 0 0.0% Function: ~<anonymous> /Users/tmcw/src/turf-perf/index.js:1
2934 94.4% 235 7.6% LazyCompile: *module.exports /Users/tmcw/src/turf-within/index.js:4
2699 86.8% 2564 82.5% LazyCompile: *module.exports /Users/tmcw/src/turf-within/node_modules/turf-inside/index.js:5
129 4.2% 129 4.2% Stub: CompareStub_EQ
9 0.3% 2 0.1% LazyCompile: *hexgrid /Users/tmcw/src/turf-perf/node_modules/turf-hex/index.js:42
7 0.2% 4 0.1% LazyCompile: *hexagon /Users/tmcw/src/turf-perf/node_modules/turf-hex/index.js:16
7 0.2% 0 0.0% LazyCompile: ~<anonymous> node.js:204
7 0.2% 0 0.0% LazyCompile: ~NativeModule.require node.js:870
7 0.2% 0 0.0% LazyCompile: ~NativeModule.compile node.js:915
6 0.2% 0 0.0% Function: ~<anonymous> console.js:1
4 0.1% 0 0.0% LazyCompile: ~<anonymous> node.js:638
4 0.1% 0 0.0% LazyCompile: ~createWritableStdioStream node.js:573
6 0.2% 0 0.0% LazyCompile: ~require module.js:379
6 0.2% 0 0.0% LazyCompile: ~Module.require module.js:361
6 0.2% 0 0.0% LazyCompile: Module._load module.js:275
4 0.1% 0 0.0% LazyCompile: ~Module.load module.js:346
6 0.2% 0 0.0% LazyCompile: ~module.exports /Users/tmcw/src/turf-within/index.js:4
4 0.1% 0 0.0% LazyCompile: ~hexgrid /Users/tmcw/src/turf-perf/node_modules/turf-hex/index.js:42
4 0.1% 4 0.1% LazyCompile: *module.exports /Users/tmcw/src/turf-within/node_modules/turf-inside/index.js:5
6 0.2% 0 0.0% LazyCompile: ~Module._resolveFilename module.js:323
6 0.2% 0 0.0% LazyCompile: ~Module._findPath module.js:160
5 0.2% 0 0.0% LazyCompile: ~tryFile module.js:138
4 0.1% 0 0.0% LazyCompile: ~NativeModule.require node.js:870
4 0.1% 0 0.0% LazyCompile: ~NativeModule.compile node.js:915
109 3.5% 109 3.5% /usr/local/bin/node
5 0.2% 5 0.2% /usr/lib/system/libsystem_platform.dylib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment