Skip to content

Instantly share code, notes, and snippets.

@andr83
Created February 13, 2014 13:09
Show Gist options
  • Save andr83/8974774 to your computer and use it in GitHub Desktop.
Save andr83/8974774 to your computer and use it in GitHub Desktop.
Statistical profiling result from v8.log, (5361 ticks, 46 unaccounted, 0 excluded).
[Unknown]:
ticks total nonlib name
46 0.9%
[Shared libraries]:
ticks total nonlib name
3405 63.5% 0.0% /usr/local/bin/node
1322 24.7% 0.0% /usr/lib/system/libsystem_kernel.dylib
28 0.5% 0.0% /usr/lib/system/libsystem_c.dylib
27 0.5% 0.0% /usr/lib/system/libsystem_platform.dylib
13 0.2% 0.0% /usr/lib/system/libsystem_malloc.dylib
5 0.1% 0.0% /usr/lib/system/libsystem_pthread.dylib
1 0.0% 0.0% /usr/lib/libc++abi.dylib
[JavaScript]:
ticks total nonlib name
237 4.4% 42.3% LazyCompile: *exports.arraySet /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/utils.js:28
170 3.2% 30.4% LazyCompile: *fill_window /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:136
74 1.4% 13.2% Stub: CEntryStub
24 0.4% 4.3% LazyCompile: *adler32 /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/adler32.js:3
17 0.3% 3.0% KeyedStoreIC: A keyed store IC from the snapshot
7 0.1% 1.3% LazyCompile: *str2Array /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:53
7 0.1% 1.3% KeyedLoadIC: A keyed load IC from the snapshot
7 0.1% 1.3% Builtin: A builtin from the snapshot
2 0.0% 0.4% Stub: KeyedStoreElementStub {1}
2 0.0% 0.4% LazyCompile: ~fill_window /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:136
1 0.0% 0.2% Stub: KeyedStoreElementStub
1 0.0% 0.2% Stub: KeyedLoadElementStub
1 0.0% 0.2% Stub: FastCloneShallowArrayStub
1 0.0% 0.2% Stub: CallConstructStub
1 0.0% 0.2% LazyCompile: ~flush_pending /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:47
1 0.0% 0.2% LazyCompile: ~filter native array.js:1036
1 0.0% 0.2% LazyCompile: ~deflator.onData /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:100
1 0.0% 0.2% LazyCompile: ~deflateReset /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:598
1 0.0% 0.2% LazyCompile: Module._load module.js:275
1 0.0% 0.2% LazyCompile: *put_short /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/trees.js:12
1 0.0% 0.2% KeyedStoreIC: args_count: 0
1 0.0% 0.2% Builtin: A builtin from the snapshot {2}
[C++]:
ticks total nonlib name
[GC]:
ticks total nonlib name
117 2.2%
[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
3405 63.5% /usr/local/bin/node
2375 69.8% LazyCompile: *fill_window /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:136
2375 100.0% LazyCompile: ~deflate_stored /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:284
1480 62.3% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
1480 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
1480 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
895 37.7% LazyCompile: *deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
895 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
895 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
686 20.1% LazyCompile: *exports.arraySet /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/utils.js:28
686 100.0% LazyCompile: ~deflator.onEnd /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:110
686 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
686 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
686 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
1322 24.7% /usr/lib/system/libsystem_kernel.dylib
146 11.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
146 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
146 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
146 100.0% LazyCompile: ~Module._compile module.js:374
146 100.0% LazyCompile: ~Module._extensions..js module.js:472
68 5.1% LazyCompile: ~DeflateState /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:469
38 55.9% LazyCompile: ~deflateInit2 /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:606
38 100.0% LazyCompile: ~deflateInit /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:665
38 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
38 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
30 44.1% LazyCompile: ~deflateInit /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:665
30 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
30 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
30 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
38 2.9% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
26 68.4% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
26 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
26 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
26 100.0% LazyCompile: ~Module._compile module.js:374
12 31.6% LazyCompile: ~Deflate.flush /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:58
12 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
12 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
12 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
32 2.4% LazyCompile: ~deflateInit2 /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:606
32 100.0% LazyCompile: ~deflateInit /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:665
32 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
32 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
32 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
30 2.3% LazyCompile: ~ReadableState _stream_readable.js:32
30 100.0% LazyCompile: ~Readable _stream_readable.js:100
30 100.0% LazyCompile: ~Duplex _stream_duplex.js:39
30 100.0% LazyCompile: ~Socket net.js:136
30 100.0% LazyCompile: ~WriteStream tty.js:71
28 2.1% LazyCompile: ~deflateReset /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:598
28 100.0% LazyCompile: ~deflateInit /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:665
28 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
28 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
28 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
237 4.4% LazyCompile: *exports.arraySet /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/utils.js:28
71 30.0% LazyCompile: *fill_window /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:136
71 100.0% LazyCompile: ~deflate_stored /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:284
41 57.7% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
41 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
41 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
30 42.3% LazyCompile: *deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
30 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
30 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
58 24.5% LazyCompile: ~deflator.onEnd /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:110
58 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
58 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
58 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
58 100.0% LazyCompile: ~Module._compile module.js:374
20 8.4% LazyCompile: ~flush_pending /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:47
13 65.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
13 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
13 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
13 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
7 35.0% LazyCompile: ~flush_block_only /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:66
7 100.0% LazyCompile: ~deflate_stored /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:284
7 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
7 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
19 8.0% LazyCompile: ~deflator.onData /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:100
19 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
19 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
19 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
19 100.0% LazyCompile: ~Module._compile module.js:374
16 6.8% LazyCompile: ~copy_block /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/trees.js:56
16 100.0% LazyCompile: ~_tr_stored_block /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/trees.js:102
16 100.0% LazyCompile: ~_tr_flush_block /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/trees.js:116
16 100.0% LazyCompile: ~flush_block_only /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:66
16 100.0% LazyCompile: ~deflate_stored /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:284
13 5.5% LazyCompile: *flush_block_only /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:66
13 100.0% LazyCompile: ~deflate_stored /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:284
7 53.8% LazyCompile: *deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
7 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
7 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
6 46.2% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
6 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
6 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
13 5.5% LazyCompile: *_tr_flush_block /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/trees.js:116
13 100.0% LazyCompile: *flush_block_only /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:66
13 100.0% LazyCompile: ~deflate_stored /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:284
10 76.9% LazyCompile: *deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
10 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
3 23.1% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
3 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
10 4.2% LazyCompile: *deflator.onData /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:100
9 90.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
9 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
9 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
9 100.0% LazyCompile: ~Module._compile module.js:374
1 10.0% LazyCompile: ~Deflate.flush /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:58
1 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
1 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
1 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
10 4.2% LazyCompile: *deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
10 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
10 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
10 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
10 100.0% LazyCompile: ~Module._compile module.js:374
7 3.0% LazyCompile: *flush_pending /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:47
6 85.7% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
6 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
6 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
6 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
1 14.3% LazyCompile: ~flush_block_only /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:66
1 100.0% LazyCompile: ~deflate_stored /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:284
1 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
1 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
170 3.2% LazyCompile: *fill_window /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:136
170 100.0% LazyCompile: ~deflate_stored /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:284
113 66.5% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
113 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
113 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
113 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
57 33.5% LazyCompile: *deflate /Volumes/dev/var/www/git/nodeca/pako/lib/zlib/deflate.js:689
57 100.0% LazyCompile: ~deflate /Volumes/dev/var/www/git/nodeca/pako/lib/deflate.js:95
57 100.0% LazyCompile: ~test /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:14
57 100.0% Function: ~<anonymous> /Volumes/dev/var/www/git/nodeca/pako/benchmark/test.js:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment