Skip to content

Instantly share code, notes, and snippets.

@kenany
Created July 26, 2014 01:42
Show Gist options
  • Save kenany/be573bf57edea691b4be to your computer and use it in GitHub Desktop.
Save kenany/be573bf57edea691b4be to your computer and use it in GitHub Desktop.
jotto v8 profile
Statistical profiling result from v8.log, (38883 ticks, 0 unaccounted, 0 excluded).
[Shared libraries]:
ticks total nonlib name
10689 27.5% 0.0% /home/kenan/bin/bin/node
2325 6.0% 0.0% /usr/lib/libc-2.19.so
12 0.0% 0.0% /usr/lib/libpthread-2.19.so
3 0.0% 0.0% 7fffe39a9000-7fffe39ab000
[JavaScript]:
ticks total nonlib name
7949 20.4% 30.7% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
4764 12.3% 18.4% Builtin: A builtin from the snapshot {1}
4287 11.0% 16.6% LazyCompile: *indexOf native string.js:118
2743 7.1% 10.6% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
1344 3.5% 5.2% Stub: FastNewContextStub
1253 3.2% 4.8% LazyCompile: *isString /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/node_modules/lodash.isstring/index.js:32
1204 3.1% 4.7% Stub: CEntryStub
995 2.6% 3.8% LazyCompile: *isArray native array.js:1488
674 1.7% 2.6% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
296 0.8% 1.1% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
130 0.3% 0.5% Stub: CallFunctionStub_Args3
111 0.3% 0.4% KeyedStoreIC: A keyed store IC from the snapshot
50 0.1% 0.2% RegExp: ^(\\/?|)([\\s\\S]*?)((?:\\.{1\,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$
3 0.0% 0.0% Stub: FastNewClosureStub
3 0.0% 0.0% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/no-repeated-letters/node_modules/lodash.contains/index.js:44
2 0.0% 0.0% Stub: KeyedLoadElementStub
2 0.0% 0.0% LazyCompile: ~indexOf native string.js:118
2 0.0% 0.0% LazyCompile: ~Module._compile module.js:374
2 0.0% 0.0% LazyCompile: IN native runtime.js:354
2 0.0% 0.0% LazyCompile: <anonymous> native messages.js:1157
2 0.0% 0.0% LazyCompile: *slice native string.js:510
2 0.0% 0.0% LazyCompile: *filter native array.js:1036
2 0.0% 0.0% Builtin: A builtin from the snapshot
1 0.0% 0.0% Stub: RegExpConstructResultStub
1 0.0% 0.0% Stub: RecordWriteStub
1 0.0% 0.0% Stub: KeyedStoreElementStub
1 0.0% 0.0% Stub: JSEntryStub
1 0.0% 0.0% Stub: CompareStub_EQ_STRICT
1 0.0% 0.0% Stub: CompareICStub {2}
1 0.0% 0.0% Stub: CompareICStub {1}
1 0.0% 0.0% Stub: CompareICStub
1 0.0% 0.0% Stub: CallConstructStub_Recording
1 0.0% 0.0% RegExp: (.*?)(?:[\\/]+|$)
1 0.0% 0.0% LazyCompile: ~substr native string.js:695
1 0.0% 0.0% LazyCompile: ~forEach /home/kenan/Code/jotto/node_modules/lodash.min/node_modules/lodash.foreach/index.js:38
1 0.0% 0.0% LazyCompile: ~filter native array.js:1036
1 0.0% 0.0% LazyCompile: ~exports.resolve path.js:304
1 0.0% 0.0% LazyCompile: ~Module._nodeModulePaths module.js:207
1 0.0% 0.0% LazyCompile: ~Buffer buffer.js:156
1 0.0% 0.0% LazyCompile: ~<anonymous> /home/kenan/Code/jotto/node_modules/lodash.min/index.js:80
1 0.0% 0.0% LazyCompile: ToObject native runtime.js:567
1 0.0% 0.0% LazyCompile: Module._load module.js:275
1 0.0% 0.0% LazyCompile: Join native array.js:119
1 0.0% 0.0% LazyCompile: *realpathSync fs.js:1212
1 0.0% 0.0% LazyCompile: *guessValue /home/kenan/Code/jotto/index.js:30
1 0.0% 0.0% LazyCompile: *fs.lstatSync fs.js:682
1 0.0% 0.0% LazyCompile: *ToUint32 native runtime.js:586
1 0.0% 0.0% LazyCompile: *Module.require module.js:361
1 0.0% 0.0% LazyCompile: *IsAccessorDescriptor native v8natives.js:347
1 0.0% 0.0% LazyCompile: *ConvertDescriptorArrayToDescriptor native v8natives.js:581
1 0.0% 0.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:35
1 0.0% 0.0% KeyedStoreIC: args_count: 0
1 0.0% 0.0% KeyedLoadIC: args_count: 0 {1}
1 0.0% 0.0% KeyedLoadIC: A keyed load IC from the snapshot
1 0.0% 0.0% Builtin: A builtin from the snapshot {2}
[C++]:
ticks total nonlib name
[GC]:
ticks total nonlib name
208 0.5%
[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
10689 27.5% /home/kenan/bin/bin/node
10104 94.5% LazyCompile: *indexOf native string.js:118
10104 100.0% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
10104 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
10104 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
10100 100.0% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
7949 20.4% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
7949 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
7949 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
7942 99.9% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
7814 98.4% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
7814 100.0% LazyCompile: *guessValue /home/kenan/Code/jotto/index.js:30
4764 12.3% Builtin: A builtin from the snapshot {1}
2237 47.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
2237 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
2235 99.9% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
2192 98.1% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
2192 100.0% LazyCompile: *guessValue /home/kenan/Code/jotto/index.js:30
2087 43.8% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
2087 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
2087 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
2085 99.9% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
2057 98.7% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
300 6.3% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
297 99.0% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
297 100.0% LazyCompile: *guessValue /home/kenan/Code/jotto/index.js:30
297 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/node_modules/lodash.min/index.js:80
297 100.0% LazyCompile: ~forEach /home/kenan/Code/jotto/node_modules/lodash.min/node_modules/lodash.foreach/index.js:38
116 2.4% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
116 100.0% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
112 96.6% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
112 100.0% LazyCompile: *guessValue /home/kenan/Code/jotto/index.js:30
112 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/node_modules/lodash.min/index.js:80
4 3.4% LazyCompile: ~guessResults /home/kenan/Code/jotto/index.js:14
4 100.0% LazyCompile: ~guessValue /home/kenan/Code/jotto/index.js:30
4 100.0% LazyCompile: ~prefer /home/kenan/Code/jotto/index.js:83
4287 11.0% LazyCompile: *indexOf native string.js:118
4287 100.0% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
4287 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
4287 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
4284 99.9% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
4214 98.4% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
2743 7.1% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
2742 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
2740 99.9% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
2693 98.3% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
2693 100.0% LazyCompile: *guessValue /home/kenan/Code/jotto/index.js:30
2693 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/node_modules/lodash.min/index.js:80
2325 6.0% /usr/lib/libc-2.19.so
2256 97.0% LazyCompile: *indexOf native string.js:118
2256 100.0% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
2256 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
2256 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
2254 99.9% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
1344 3.5% Stub: FastNewContextStub
1344 100.0% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
1344 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
1344 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
1343 99.9% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
1319 98.2% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
1253 3.2% LazyCompile: *isString /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/node_modules/lodash.isstring/index.js:32
1251 99.8% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
1251 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
1251 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
1251 100.0% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
1225 97.9% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
26 2.1% LazyCompile: ~guessResults /home/kenan/Code/jotto/index.js:14
1204 3.1% Stub: CEntryStub
1109 92.1% LazyCompile: *indexOf native string.js:118
1109 100.0% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
1109 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
1109 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
1109 100.0% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
93 7.7% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
93 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
93 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
93 100.0% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
91 97.8% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
2 2.2% LazyCompile: ~guessResults /home/kenan/Code/jotto/index.js:14
995 2.6% LazyCompile: *isArray native array.js:1488
896 90.1% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
896 100.0% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
896 100.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
896 100.0% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
883 98.5% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
[Top down (heavy) profile]:
Note: callees occupying less than 0.1% are not shown.
inclusive self name
ticks total ticks total
38394 98.7% 0 0.0% Function: ~<anonymous> node.js:27
38394 98.7% 0 0.0% LazyCompile: ~startup node.js:30
38383 98.7% 0 0.0% LazyCompile: ~Module.runMain module.js:495
38382 98.7% 0 0.0% LazyCompile: Module._load module.js:275
38374 98.7% 0 0.0% LazyCompile: ~Module.load module.js:346
38373 98.7% 0 0.0% LazyCompile: ~Module._extensions..js module.js:472
38372 98.7% 0 0.0% LazyCompile: ~Module._compile module.js:374
38372 98.7% 0 0.0% Function: ~<anonymous> /home/kenan/Code/jotto/bin/cmd.js:1
38069 97.9% 0 0.0% LazyCompile: ~next /home/kenan/Code/jotto/bin/cmd.js:45
38051 97.9% 0 0.0% LazyCompile: ~bestGuess /home/kenan/Code/jotto/index.js:73
38051 97.9% 0 0.0% LazyCompile: ~min /home/kenan/Code/jotto/node_modules/lodash.min/index.js:56
38051 97.9% 1 0.0% LazyCompile: ~forEach /home/kenan/Code/jotto/node_modules/lodash.min/node_modules/lodash.foreach/index.js:38
37391 96.2% 0 0.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/node_modules/lodash.min/index.js:80
37390 96.2% 1 0.0% LazyCompile: *guessValue /home/kenan/Code/jotto/index.js:30
37386 96.1% 0 0.0% LazyCompile: *guessResults /home/kenan/Code/jotto/index.js:14
37362 96.1% 294 0.8% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
36646 94.2% 664 1.7% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
35753 92.0% 2693 6.9% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
30865 79.4% 7814 20.1% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
17465 44.9% 4214 10.8% LazyCompile: *indexOf native string.js:118
9931 25.5% 9931 25.5% /home/kenan/bin/bin/node
2228 5.7% 2228 5.7% /usr/lib/libc-2.19.so
1092 2.8% 1092 2.8% Stub: CEntryStub
2057 5.3% 2057 5.3% Builtin: A builtin from the snapshot {1}
1319 3.4% 1319 3.4% Stub: FastNewContextStub
1225 3.2% 1225 3.2% LazyCompile: *isString /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/node_modules/lodash.isstring/index.js:32
883 2.3% 883 2.3% LazyCompile: *isArray native array.js:1488
91 0.2% 91 0.2% Stub: CEntryStub
2192 5.6% 2192 5.6% Builtin: A builtin from the snapshot {1}
112 0.3% 112 0.3% Builtin: A builtin from the snapshot {1}
108 0.3% 108 0.3% KeyedStoreIC: A keyed store IC from the snapshot
297 0.8% 297 0.8% Builtin: A builtin from the snapshot {1}
124 0.3% 124 0.3% Stub: CallFunctionStub_Args3
657 1.7% 1 0.0% LazyCompile: ~<anonymous> /home/kenan/Code/jotto/node_modules/lodash.min/index.js:80
655 1.7% 0 0.0% LazyCompile: ~prefer /home/kenan/Code/jotto/index.js:83
655 1.7% 0 0.0% LazyCompile: ~guessValue /home/kenan/Code/jotto/index.js:30
653 1.7% 0 0.0% LazyCompile: ~guessResults /home/kenan/Code/jotto/index.js:14
619 1.6% 2 0.0% LazyCompile: *forEach /home/kenan/Code/jotto/node_modules/lodash.foreach/index.js:38
608 1.6% 8 0.0% LazyCompile: *<anonymous> /home/kenan/Code/jotto/index.js:16
593 1.5% 47 0.1% LazyCompile: *jots /home/kenan/Code/jotto/node_modules/jots/index.js:3
503 1.3% 128 0.3% LazyCompile: *contains /home/kenan/Code/jotto/node_modules/jots/node_modules/lodash.contains/index.js:44
282 0.7% 70 0.2% LazyCompile: *indexOf native string.js:118
169 0.4% 169 0.4% /home/kenan/bin/bin/node
43 0.1% 43 0.1% Builtin: A builtin from the snapshot {1}
301 0.8% 0 0.0% LazyCompile: ~require module.js:379
161 0.4% 0 0.0% LazyCompile: ~Module.require module.js:361
161 0.4% 0 0.0% LazyCompile: Module._load module.js:275
159 0.4% 0 0.0% LazyCompile: ~Module.load module.js:346
159 0.4% 0 0.0% LazyCompile: ~Module._extensions..js module.js:472
159 0.4% 0 0.0% LazyCompile: ~Module._compile module.js:374
159 0.4% 0 0.0% Function: ~<anonymous> /home/kenan/Code/jotto/index.js:1
104 0.3% 0 0.0% LazyCompile: *require module.js:379
104 0.3% 0 0.0% LazyCompile: *Module.require module.js:361
104 0.3% 0 0.0% LazyCompile: Module._load module.js:275
104 0.3% 0 0.0% LazyCompile: *Module.load module.js:346
104 0.3% 0 0.0% LazyCompile: ~Module._extensions..js module.js:472
104 0.3% 0 0.0% LazyCompile: ~Module._compile module.js:374
81 0.2% 0 0.0% Function: ~<anonymous> /home/kenan/Code/jotto/node_modules/lodash.min/index.js:1
81 0.2% 0 0.0% LazyCompile: *require module.js:379
81 0.2% 0 0.0% LazyCompile: *Module.require module.js:361
81 0.2% 0 0.0% LazyCompile: Module._load module.js:275
79 0.2% 0 0.0% LazyCompile: *Module.load module.js:346
77 0.2% 0 0.0% LazyCompile: ~Module._extensions..js module.js:472
77 0.2% 0 0.0% LazyCompile: ~Module._compile module.js:374
54 0.1% 0 0.0% LazyCompile: ~require module.js:379
54 0.1% 0 0.0% LazyCompile: ~Module.require module.js:361
54 0.1% 0 0.0% LazyCompile: Module._load module.js:275
52 0.1% 0 0.0% LazyCompile: ~Module.load module.js:346
52 0.1% 0 0.0% LazyCompile: ~Module._extensions..js module.js:472
52 0.1% 0 0.0% LazyCompile: ~Module._compile module.js:374
140 0.4% 0 0.0% LazyCompile: *Module.require module.js:361
140 0.4% 0 0.0% LazyCompile: Module._load module.js:275
130 0.3% 0 0.0% LazyCompile: *Module.load module.js:346
129 0.3% 0 0.0% LazyCompile: *Module._extensions..js module.js:472
129 0.3% 0 0.0% LazyCompile: ~Module._compile module.js:374
74 0.2% 0 0.0% Function: ~<anonymous> /home/kenan/Code/jotto/node_modules/lodash.filter/index.js:1
74 0.2% 0 0.0% LazyCompile: *require module.js:379
74 0.2% 0 0.0% LazyCompile: *Module.require module.js:361
74 0.2% 0 0.0% LazyCompile: Module._load module.js:275
74 0.2% 0 0.0% LazyCompile: *Module.load module.js:346
74 0.2% 0 0.0% LazyCompile: *Module._extensions..js module.js:472
74 0.2% 0 0.0% LazyCompile: ~Module._compile module.js:374
43 0.1% 0 0.0% Function: ~<anonymous> /home/kenan/Code/jotto/node_modules/lodash.filter/node_modules/lodash.createcallback/index.js:1
43 0.1% 0 0.0% LazyCompile: *require module.js:379
43 0.1% 0 0.0% LazyCompile: *Module.require module.js:361
43 0.1% 0 0.0% LazyCompile: Module._load module.js:275
41 0.1% 0 0.0% LazyCompile: *Module.load module.js:346
41 0.1% 0 0.0% LazyCompile: *Module._extensions..js module.js:472
40 0.1% 0 0.0% LazyCompile: ~Module._compile module.js:374
204 0.5% 204 0.5% /home/kenan/bin/bin/node
98 0.3% 98 0.3% LazyCompile: *isArray native array.js:1488
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment