Skip to content

Instantly share code, notes, and snippets.

@indutny indutny/gist:fd38ebf0fb88fcad195d Secret
Last active Dec 14, 2015

Embed
What would you like to do?
Statistical profiling result from v8.log, (10467 ticks, 131 unaccounted, 0 excluded).
[Unknown]:
ticks total nonlib name
131 1.3%
[Shared libraries]:
ticks total nonlib name
7460 71.3% 0.0% /Users/indutny/Code/indutny/node/./node
1099 10.5% 0.0% /usr/lib/system/libsystem_c.dylib
46 0.4% 0.0% /usr/lib/libstdc++.6.dylib
22 0.2% 0.0% /usr/lib/system/libsystem_kernel.dylib
[JavaScript]:
ticks total nonlib name
253 2.4% 13.8% LazyCompile: *Buffer buffer.js:156
153 1.5% 8.3% LazyCompile: *Buffer.write buffer.js:315
112 1.1% 6.1% LazyCompile: *Hash.digest crypto.js:199
93 0.9% 5.1% LazyCompile: *Hash crypto.js:172
81 0.8% 4.4% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
75 0.7% 4.1% Stub: InstanceofStub
70 0.7% 3.8% LazyCompile: *Hash.update crypto.js:191
64 0.6% 3.5% Builtin: A builtin from the snapshot {1}
62 0.6% 3.4% Stub: JSEntryStub
62 0.6% 3.4% Stub: CEntryStub
61 0.6% 3.3% Builtin: A builtin from the snapshot
60 0.6% 3.3% LazyCompile: STRING_ADD_RIGHT native runtime.js:198
60 0.6% 3.3% Builtin: A builtin from the snapshot {2}
57 0.5% 3.1% LazyCompile: *isFinite native v8natives.js:103
47 0.4% 2.6% LazyCompile: <anonymous> native string.js:36
42 0.4% 2.3% Stub: CompareStub
42 0.4% 2.3% Stub: CallConstructStub
32 0.3% 1.7% Stub: CompareICStub {1}
32 0.3% 1.7% LazyCompile: ConfigureTemplateInstance native apinatives.js:105
30 0.3% 1.6% LazyCompile: *LazyTransform crypto.js:153
29 0.3% 1.6% Builtin: A builtin from the snapshot {4}
28 0.3% 1.5% Stub: StringAddStub
28 0.3% 1.5% Stub: NumberToStringStub
24 0.2% 1.3% Stub: BinaryOpStub
24 0.2% 1.3% Builtin: A builtin from the snapshot {5}
23 0.2% 1.3% Stub: StringAddStub {1}
23 0.2% 1.3% Stub: JSEntryStub {1}
23 0.2% 1.3% LazyCompile: NonNumberToNumber native runtime.js:538
18 0.2% 1.0% LazyCompile: *toLowerCase native string.js:739
16 0.2% 0.9% Builtin: A builtin from the snapshot {6}
11 0.1% 0.6% Stub: ToBooleanStub_UndefinedSpecObject
11 0.1% 0.6% Stub: BinaryOpStub_MUL_Alloc_SMI
11 0.1% 0.6% LazyCompile: ~Buffer buffer.js:156
9 0.1% 0.5% Stub: RecordWriteStub {4}
9 0.1% 0.5% Builtin: A builtin from the snapshot {3}
8 0.1% 0.4% Stub: RecordWriteStub {1}
8 0.1% 0.4% Stub: RecordWriteStub
7 0.1% 0.4% Stub: RecordWriteStub {5}
5 0.0% 0.3% Stub: RecordWriteStub {7}
4 0.0% 0.2% Stub: RecordWriteStub {3}
4 0.0% 0.2% Stub: RecordWriteStub {2}
2 0.0% 0.1% Stub: RecordWriteStub {6}
2 0.0% 0.1% Stub: CompareICStub {2}
2 0.0% 0.1% Function: ~<anonymous> /Users/indutny/Code/indutny/node/1.js:1
1 0.0% 0.1% Stub: ToBooleanStub_Smi
1 0.0% 0.1% Stub: CompareICStub
1 0.0% 0.1% LazyCompile: ~startup.processConfig node.js:303
1 0.0% 0.1% LazyCompile: ~onwrite _stream_writable.js:233
1 0.0% 0.1% LazyCompile: ~createWritableStdioStream node.js:546
1 0.0% 0.1% LazyCompile: ~DefineObjectProperty native v8natives.js:695
[C++]:
ticks total nonlib name
[GC]:
ticks total nonlib name
535 5.1%
[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
7460 71.3% /Users/indutny/Code/indutny/node/./node
2786 37.3% LazyCompile: *Hash.digest crypto.js:199
2755 98.9% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
2755 100.0% LazyCompile: ~Module._compile module.js:374
2755 100.0% LazyCompile: ~Module._extensions..js module.js:472
2755 100.0% LazyCompile: ~Module.load module.js:346
1570 21.0% LazyCompile: *Hash crypto.js:172
1344 85.6% LazyCompile: *Hash crypto.js:172
1328 98.8% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
1328 100.0% LazyCompile: ~Module._compile module.js:374
1328 100.0% LazyCompile: ~Module._extensions..js module.js:472
226 14.4% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
226 100.0% LazyCompile: ~Module._compile module.js:374
226 100.0% LazyCompile: ~Module._extensions..js module.js:472
226 100.0% LazyCompile: ~Module.load module.js:346
868 11.6% LazyCompile: *Buffer buffer.js:156
868 100.0% LazyCompile: *Hash.update crypto.js:191
868 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
868 100.0% LazyCompile: ~Module._compile module.js:374
868 100.0% LazyCompile: ~Module._extensions..js module.js:472
848 11.4% LazyCompile: *Buffer.write buffer.js:315
831 98.0% LazyCompile: *Buffer buffer.js:156
831 100.0% LazyCompile: *Hash.update crypto.js:191
831 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
831 100.0% LazyCompile: ~Module._compile module.js:374
17 2.0% LazyCompile: ~Buffer buffer.js:156
17 100.0% LazyCompile: *Hash.update crypto.js:191
13 76.5% Function: ~<anonymous> /Users/indutny/Code/indutny/node/1.js:1
13 100.0% LazyCompile: ~Module._compile module.js:374
4 23.5% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
4 100.0% LazyCompile: ~Module._compile module.js:374
342 4.6% LazyCompile: *Hash.update crypto.js:191
337 98.5% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
337 100.0% LazyCompile: ~Module._compile module.js:374
337 100.0% LazyCompile: ~Module._extensions..js module.js:472
337 100.0% LazyCompile: ~Module.load module.js:346
223 3.0% LazyCompile: STRING_ADD_RIGHT native runtime.js:198
219 98.2% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
219 100.0% LazyCompile: ~Module._compile module.js:374
219 100.0% LazyCompile: ~Module._extensions..js module.js:472
219 100.0% LazyCompile: ~Module.load module.js:346
153 2.1% LazyCompile: *toLowerCase native string.js:739
153 100.0% LazyCompile: *Buffer.write buffer.js:315
150 98.0% LazyCompile: *Buffer buffer.js:156
150 100.0% LazyCompile: *Hash.update crypto.js:191
150 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
1099 10.5% /usr/lib/system/libsystem_c.dylib
396 36.0% LazyCompile: *Hash.digest crypto.js:199
390 98.5% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
390 100.0% LazyCompile: ~Module._compile module.js:374
390 100.0% LazyCompile: ~Module._extensions..js module.js:472
390 100.0% LazyCompile: ~Module.load module.js:346
296 26.9% LazyCompile: *Buffer buffer.js:156
296 100.0% LazyCompile: *Hash.update crypto.js:191
296 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
296 100.0% LazyCompile: ~Module._compile module.js:374
296 100.0% LazyCompile: ~Module._extensions..js module.js:472
140 12.7% LazyCompile: *Hash crypto.js:172
90 64.3% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
90 100.0% LazyCompile: ~Module._compile module.js:374
90 100.0% LazyCompile: ~Module._extensions..js module.js:472
90 100.0% LazyCompile: ~Module.load module.js:346
50 35.7% LazyCompile: *Hash crypto.js:172
50 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
50 100.0% LazyCompile: ~Module._compile module.js:374
50 100.0% LazyCompile: ~Module._extensions..js module.js:472
133 12.1% LazyCompile: *Buffer.write buffer.js:315
130 97.7% LazyCompile: *Buffer buffer.js:156
130 100.0% LazyCompile: *Hash.update crypto.js:191
130 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
130 100.0% LazyCompile: ~Module._compile module.js:374
3 2.3% LazyCompile: ~Buffer buffer.js:156
3 100.0% LazyCompile: *Hash.update crypto.js:191
2 66.7% Function: ~<anonymous> /Users/indutny/Code/indutny/node/1.js:1
2 100.0% LazyCompile: ~Module._compile module.js:374
1 33.3% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
1 100.0% LazyCompile: ~Module._compile module.js:374
42 3.8% LazyCompile: *Hash.update crypto.js:191
42 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
42 100.0% LazyCompile: ~Module._compile module.js:374
42 100.0% LazyCompile: ~Module._extensions..js module.js:472
42 100.0% LazyCompile: ~Module.load module.js:346
37 3.4% LazyCompile: STRING_ADD_RIGHT native runtime.js:198
37 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
37 100.0% LazyCompile: ~Module._compile module.js:374
37 100.0% LazyCompile: ~Module._extensions..js module.js:472
37 100.0% LazyCompile: ~Module.load module.js:346
26 2.4% LazyCompile: *toLowerCase native string.js:739
26 100.0% LazyCompile: *Buffer.write buffer.js:315
26 100.0% LazyCompile: *Buffer buffer.js:156
26 100.0% LazyCompile: *Hash.update crypto.js:191
26 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
253 2.4% LazyCompile: *Buffer buffer.js:156
253 100.0% LazyCompile: *Hash.update crypto.js:191
253 100.0% LazyCompile: *<anonymous> /Users/indutny/Code/indutny/node/1.js:1
253 100.0% LazyCompile: ~Module._compile module.js:374
253 100.0% LazyCompile: ~Module._extensions..js module.js:472
253 100.0% LazyCompile: ~Module.load module.js:346
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.