Created
December 5, 2013 00:03
-
-
Save vincentwoo/7797905 to your computer and use it in GitHub Desktop.
nprof output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vincents-MacBook-Air:~ vwoo$ nprof | |
Statistical profiling result from v8.log, (643958 ticks, 12 unaccounted, 0 excluded). | |
[Unknown]: | |
ticks total nonlib name | |
12 0.0% | |
[Shared libraries]: | |
ticks total nonlib name | |
636845 98.9% 0.0% /lib/x86_64-linux-gnu/libc-2.17.so | |
5910 0.9% 0.0% 7fff405ce000-7fff405d0000 | |
799 0.1% 0.0% /usr/bin/nodejs | |
169 0.0% 0.0% /lib/x86_64-linux-gnu/libpthread-2.17.so | |
2 0.0% 0.0% /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 | |
1 0.0% 0.0% /lib/x86_64-linux-gnu/libm-2.17.so | |
1 0.0% 0.0% /lib/x86_64-linux-gnu/ld-2.17.so | |
[JavaScript]: | |
ticks total nonlib name | |
12 0.0% 5.2% LazyCompile: ~Terminal /home/vwoo/coderpad-tty/node_modules/pty.js/lib/pty.js:25 | |
8 0.0% 3.5% LazyCompile: ~EventEmitter.emit events.js:53 | |
7 0.0% 3.0% LazyCompile: ~Buffer buffer.js:156 | |
6 0.0% 2.6% Stub: FastNewClosureStub | |
5 0.0% 2.2% Stub: StringAddStub | |
5 0.0% 2.2% Stub: JSEntryStub {1} | |
5 0.0% 2.2% LazyCompile: ~onread net.js:494 | |
5 0.0% 2.2% LazyCompile: listOnTimeout timers.js:77 | |
4 0.0% 1.7% Stub: ArgumentsAccessStub_NewNonStrictFast | |
3 0.0% 1.3% Stub: ToBooleanStub_UndefinedSpecObject | |
3 0.0% 1.3% Stub: CompareICStub {1} | |
3 0.0% 1.3% LazyCompile: ~instance.parse /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:94 | |
3 0.0% 1.3% LazyCompile: ~indexOf native string.js:118 | |
3 0.0% 1.3% LazyCompile: ~StreamReader._readBuffer /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi/stream_reader.js:18 | |
3 0.0% 1.3% LazyCompile: ~<anonymous> _stream_readable.js:741 | |
3 0.0% 1.3% LazyCompile: *Socket._write net.js:617 | |
3 0.0% 1.3% KeyedLoadIC: A keyed load IC from the snapshot | |
3 0.0% 1.3% CallMegamorphic: args_count: 2 {1} | |
2 0.0% 0.9% Stub: RecordWriteStub | |
2 0.0% 0.9% Stub: KeyedLoadElementStub | |
2 0.0% 0.9% Stub: FastNewContextStub {2} | |
2 0.0% 0.9% Stub: FastNewContextStub {1} | |
2 0.0% 0.9% Stub: FastCloneShallowArrayStub | |
2 0.0% 0.9% Stub: CompareICStub | |
2 0.0% 0.9% Stub: BinaryOpStub_BIT_AND_OverwriteLeft_SMI | |
2 0.0% 0.9% RegExp: ^(\\/?|)([\\s\\S]*?)((?:\\.{1\,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$ | |
2 0.0% 0.9% LazyCompile: ~readableAddChunk _stream_readable.js:136 | |
2 0.0% 0.9% LazyCompile: ~filter native array.js:1036 | |
2 0.0% 0.9% LazyCompile: instance._encode /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:389 | |
2 0.0% 0.9% LazyCompile: APPLY_PREPARE native runtime.js:438 | |
2 0.0% 0.9% LazyCompile: <anonymous> /home/vwoo/coderpad-tty/server.js:188 | |
2 0.0% 0.9% LazyCompile: *isNaN native v8natives.js:96 | |
2 0.0% 0.9% LazyCompile: *instance.send /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api.js:75 | |
2 0.0% 0.9% LazyCompile: *instance.parse /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:94 | |
2 0.0% 0.9% LazyCompile: *howMuchToRead _stream_readable.js:214 | |
2 0.0% 0.9% LazyCompile: *Writable.write _stream_writable.js:160 | |
2 0.0% 0.9% LazyCompile: *StringSplitOnRegExp native string.js:591 | |
2 0.0% 0.9% LazyCompile: *Session.didMessage /home/vwoo/coderpad-tty/node_modules/sockjs/lib/transport.js:218 | |
2 0.0% 0.9% LazyCompile: *Messages.write /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/streams.js:125 | |
2 0.0% 0.9% LazyCompile: *LZString.compress /home/vwoo/coderpad-tty/static/lz-string.js:280 | |
1 0.0% 0.4% Stub: ToBooleanStub_Bool | |
1 0.0% 0.4% Stub: SubStringStub | |
1 0.0% 0.4% Stub: RegExpExecStub | |
1 0.0% 0.4% Stub: RecordWriteStub {2} | |
1 0.0% 0.4% Stub: RecordWriteStub {1} | |
1 0.0% 0.4% Stub: KeyedStoreElementStub {2} | |
1 0.0% 0.4% Stub: KeyedStoreElementStub | |
1 0.0% 0.4% Stub: JSEntryStub | |
1 0.0% 0.4% Stub: FastNewContextStub | |
1 0.0% 0.4% Stub: FastCloneShallowObjectStub {1} | |
1 0.0% 0.4% Stub: FastCloneShallowObjectStub | |
1 0.0% 0.4% Stub: ElementsTransitionAndStoreStub | |
1 0.0% 0.4% Stub: CompareStub_EQ_STRICT | |
1 0.0% 0.4% Stub: CallFunctionStub_Args4_Recording | |
1 0.0% 0.4% Stub: CallFunctionStub_Args2_Recording | |
1 0.0% 0.4% Stub: CallFunctionStub_Args1_Recording | |
1 0.0% 0.4% Stub: CallConstructStub_Recording | |
1 0.0% 0.4% Stub: CallConstructStub | |
1 0.0% 0.4% Stub: CEntryStub | |
1 0.0% 0.4% Stub: BinaryOpStub_SUB_Alloc_HeapNumbers | |
1 0.0% 0.4% Stub: BinaryOpStub_ADD_OverwriteLeft_BothStrings | |
1 0.0% 0.4% RegExp: ^(\\/?|)([\\s\\S]*?)((?:\\.{1\,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$ {1} | |
1 0.0% 0.4% RegExp: [\\x00-\\x1f\\ud800-\\udfff\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufff0-\\uffff] | |
1 0.0% 0.4% RegExp: [\\r\\n]+ | |
1 0.0% 0.4% LazyCompile: ~substr native string.js:695 | |
1 0.0% 0.4% LazyCompile: ~send /home/vwoo/coderpad-tty/node_modules/primus-emitter/lib/emitter.js:101 | |
1 0.0% 0.4% LazyCompile: ~parse native json.js:55 | |
1 0.0% 0.4% LazyCompile: ~ondata stream.js:49 | |
1 0.0% 0.4% LazyCompile: ~instance.send /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api.js:75 | |
1 0.0% 0.4% LazyCompile: ~instance.frame /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:134 | |
1 0.0% 0.4% LazyCompile: ~instance._parseOpcode /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:259 | |
1 0.0% 0.4% LazyCompile: ~fs.statSync fs.js:682 | |
1 0.0% 0.4% LazyCompile: ~fromCharCode native string.js:805 | |
1 0.0% 0.4% LazyCompile: ~exports._unrefActive timers.js:425 | |
1 0.0% 0.4% LazyCompile: ~createPipe net.js:33 | |
1 0.0% 0.4% LazyCompile: ~WritableState _stream_writable.js:41 | |
1 0.0% 0.4% LazyCompile: ~ToString native runtime.js:550 | |
1 0.0% 0.4% LazyCompile: ~Timeout.close timers.js:305 | |
1 0.0% 0.4% LazyCompile: ~Sparky /home/vwoo/coderpad-tty/node_modules/primus/index.js:57 | |
1 0.0% 0.4% LazyCompile: ~SlowBuffer.slice buffer.js:145 | |
1 0.0% 0.4% LazyCompile: ~Session.register /home/vwoo/coderpad-tty/node_modules/sockjs/lib/transport.js:111 | |
1 0.0% 0.4% LazyCompile: ~ReadableState _stream_readable.js:32 | |
1 0.0% 0.4% LazyCompile: ~Readable.on _stream_readable.js:688 | |
1 0.0% 0.4% LazyCompile: ~Readable _stream_readable.js:100 | |
1 0.0% 0.4% LazyCompile: ~OutgoingMessage._storeHeader http.js:553 | |
1 0.0% 0.4% LazyCompile: ~NativeModule.require node.js:842 | |
1 0.0% 0.4% LazyCompile: ~LZString.compress /home/vwoo/coderpad-tty/static/lz-string.js:280 | |
1 0.0% 0.4% LazyCompile: ~IsInconsistentDescriptor native v8natives.js:367 | |
1 0.0% 0.4% LazyCompile: ~Hybi.mask /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:29 | |
1 0.0% 0.4% LazyCompile: ~Event /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api/event.js:1 | |
1 0.0% 0.4% LazyCompile: ~DefineObjectProperty native v8natives.js:695 | |
1 0.0% 0.4% LazyCompile: ~Decode native uri.js:208 | |
1 0.0% 0.4% LazyCompile: ~Buffer.write buffer.js:315 | |
1 0.0% 0.4% LazyCompile: ~Buffer.toString buffer.js:392 | |
1 0.0% 0.4% LazyCompile: ~<anonymous> path.js:358 | |
1 0.0% 0.4% LazyCompile: ~<anonymous> _stream_writable.js:260 | |
1 0.0% 0.4% LazyCompile: ~<anonymous> /home/vwoo/coderpad-tty/node_modules/sockjs/lib/webjs.js:72 | |
1 0.0% 0.4% LazyCompile: stringify native json.js:308 | |
1 0.0% 0.4% LazyCompile: RegExpConstructor native regexp.js:86 | |
1 0.0% 0.4% LazyCompile: NonNumberToNumber native runtime.js:538 | |
1 0.0% 0.4% LazyCompile: Join native array.js:119 | |
1 0.0% 0.4% LazyCompile: *writeOrBuffer _stream_writable.js:197 | |
1 0.0% 0.4% LazyCompile: *tryFile module.js:138 | |
1 0.0% 0.4% LazyCompile: *toLowerCase native string.js:739 | |
1 0.0% 0.4% LazyCompile: *test native regexp.js:217 | |
1 0.0% 0.4% LazyCompile: *split native string.js:554 | |
1 0.0% 0.4% LazyCompile: *remove _linklist.js:47 | |
1 0.0% 0.4% LazyCompile: *now native date.js:314 | |
1 0.0% 0.4% LazyCompile: *instance.frame /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:134 | |
1 0.0% 0.4% LazyCompile: *instance._parseOpcode /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:259 | |
1 0.0% 0.4% LazyCompile: *instance._parseLength /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/node_modules/websocket-driver/lib/websocket/driver/hybi.js:287 | |
1 0.0% 0.4% LazyCompile: *fs.openSync fs.js:424 | |
1 0.0% 0.4% LazyCompile: *filter native array.js:1036 | |
1 0.0% 0.4% LazyCompile: *exports.active timers.js:165 | |
1 0.0% 0.4% LazyCompile: *exec native regexp.js:168 | |
1 0.0% 0.4% LazyCompile: *emitReadable_ _stream_readable.js:407 | |
1 0.0% 0.4% LazyCompile: *ceil native math.js:79 | |
1 0.0% 0.4% LazyCompile: *captureStackTrace native messages.js:1113 | |
1 0.0% 0.4% LazyCompile: *afterWrite net.js:704 | |
1 0.0% 0.4% LazyCompile: *SubString native string.js:205 | |
1 0.0% 0.4% LazyCompile: *Stream stream.js:42 | |
1 0.0% 0.4% LazyCompile: *Socket._read net.js:379 | |
1 0.0% 0.4% LazyCompile: *Session.flushToRecv /home/vwoo/coderpad-tty/node_modules/sockjs/lib/transport.js:174 | |
1 0.0% 0.4% LazyCompile: *Readable.read _stream_readable.js:252 | |
1 0.0% 0.4% LazyCompile: *Readable.push _stream_readable.js:116 | |
1 0.0% 0.4% LazyCompile: *Readable.on _stream_readable.js:688 | |
1 0.0% 0.4% LazyCompile: *EventTarget.dispatchEvent /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:17 | |
1 0.0% 0.4% LazyCompile: *Event.initEvent /home/vwoo/coderpad-tty/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api/event.js:7 | |
1 0.0% 0.4% LazyCompile: *Buffer.write buffer.js:315 | |
1 0.0% 0.4% LazyCompile: *Buffer.copy buffer.js:509 | |
1 0.0% 0.4% LazyCompile: *<anonymous> /home/vwoo/coderpad-tty/node_modules/sockjs/lib/utils.js:99 | |
1 0.0% 0.4% KeyedLoadIC: args_count: 0 {1} | |
1 0.0% 0.4% KeyedLoadIC: args_count: 0 | |
1 0.0% 0.4% KeyedCallMegamorphic: args_count: 4 | |
1 0.0% 0.4% KeyedCallMegamorphic: args_count: 2 | |
1 0.0% 0.4% Function: ~<anonymous> /home/vwoo/coderpad-tty/node_modules/sockjs/lib/trans-jsonp.js:1 | |
1 0.0% 0.4% CallMegamorphic: args_count: 3 | |
1 0.0% 0.4% CallMegamorphic: args_count: 1 {1} | |
1 0.0% 0.4% Builtin: A builtin from the snapshot {4} | |
1 0.0% 0.4% Builtin: A builtin from the snapshot {3} | |
1 0.0% 0.4% Builtin: A builtin from the snapshot {2} | |
1 0.0% 0.4% Builtin: A builtin from the snapshot {1} | |
1 0.0% 0.4% Builtin: A builtin from the snapshot | |
[C++]: | |
ticks total nonlib name | |
[GC]: | |
ticks total nonlib name | |
23 0.0% | |
[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 | |
636845 98.9% /lib/x86_64-linux-gnu/libc-2.17.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment