Skip to content

Instantly share code, notes, and snippets.

@danielabel
Last active May 5, 2016 14:41
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 danielabel/f857bc46ef8cf931d35a4ed4a603d4d4 to your computer and use it in GitHub Desktop.
Save danielabel/f857bc46ef8cf931d35a4ed4a603d4d4 to your computer and use it in GitHub Desktop.
var express = require('express');
var crypto = require('crypto');
var app = express();
var users = [];
app.get('/', function (req, res) {
res.send('Hello World!');
});
app.get('/newUser', function (req, res) {
var username = req.query.username || '';
var password = req.query.password || '';
username = username.replace(/[!@#$%^&*]/g, '');
if (!username || !password || users[username]) {
return res.sendStatus(400);
}
var salt = crypto.randomBytes(128).toString('base64');
var hash = crypto.pbkdf2Sync(password, salt, 10000, 512);
users[username] = {
salt: salt,
hash: hash
};
res.sendStatus(200);
});
app.get('/auth', function (req, res) {
var username = req.query.username || '';
var password = req.query.password || '';
username = username.replace(/[!@#$%^&*]/g, '');
if (!username || !password || !users[username]) {
return res.sendStatus(400);
}
var hash = crypto.pbkdf2Sync(password, users[username].salt, 10000, 512);
if (users[username].hash.toString() === hash.toString()) {
res.sendStatus(200);
} else {
res.sendStatus(401);
}
});
app.listen(8080, function () {
console.log('Example app listening on port 8080!');
});
Statistical profiling result from null, (363859 ticks, 3906 unaccounted, 0 excluded).
[Shared libraries]:
ticks total nonlib name
193686 53.8% /Users/dan/.nvm/versions/node/v5.5.0/bin/node
114294 31.8% /usr/lib/system/libsystem_malloc.dylib
50502 14.0% /usr/lib/system/libsystem_platform.dylib
888 0.2% /usr/lib/system/libsystem_kernel.dylib
72 0.0% /usr/lib/system/libsystem_c.dylib
23 0.0% /usr/lib/system/libsystem_pthread.dylib
[JavaScript]:
ticks total nonlib name
3896 1.1% 798.4% LazyCompile: *pbkdf2 crypto.js:557:16
15 0.0% 3.1% KeyedLoadIC: A keyed load IC from the snapshot
10 0.0% 2.0% Stub: LoadICStub
9 0.0% 1.8% LazyCompile: ~Socket._writeGeneric net.js:622:42
9 0.0% 1.8% LazyCompile: *_tickCallback node.js:368:27
8 0.0% 1.6% LazyCompile: ~_flushOutput _http_outgoing.js:646:63
7 0.0% 1.4% Stub: GrowArrayElementsStub
7 0.0% 1.4% LazyCompile: ~onParserExecuteCommon _http_server.js:371:33
7 0.0% 1.4% LazyCompile: *OutgoingMessage.setHeader _http_outgoing.js:335:47
7 0.0% 1.4% Handler: Error
6 0.0% 1.2% Stub: RegExpExecStub
6 0.0% 1.2% Stub: InstanceofStub
6 0.0% 1.2% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:271:64
6 0.0% 1.2% LazyCompile: *nextTick node.js:510:22
5 0.0% 1.0% Stub: FastCloneShallowArrayStub
5 0.0% 1.0% LazyCompile: ~resOnFinish _http_server.js:490:25
5 0.0% 1.0% LazyCompile: ~Uint8Array native typedarray.js:124:31
5 0.0% 1.0% Builtin: JSEntryTrampoline
4 0.0% 0.8% Stub: StringAddStub_CheckNone_NotTenured
4 0.0% 0.8% Stub: StringAddStub
4 0.0% 0.8% Stub: FastNewClosureStub
4 0.0% 0.8% RegExp: .*[\\.\\/\\\\]
4 0.0% 0.8% LazyCompile: ~readableAddChunk _stream_readable.js:124:26
4 0.0% 0.8% LazyCompile: ~parserOnIncoming _http_server.js:454:28
4 0.0% 0.8% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:178:16
4 0.0% 0.8% LazyCompile: ~handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/application.js:157:29
4 0.0% 0.8% LazyCompile: nextTickCallbackWith2Args node.js:471:39
4 0.0% 0.8% LazyCompile: *emit events.js:130:44
4 0.0% 0.8% Handler: emit
4 0.0% 0.8% Handler: An IC handler from the snapshot {8}
4 0.0% 0.8% Builtin: ArgumentsAdaptorTrampoline
3 0.0% 0.6% Stub: RecordWriteStub {6}
3 0.0% 0.6% Stub: LoadConstantStub
3 0.0% 0.6% Stub: JSEntryStub
3 0.0% 0.6% Stub: FastNewContextStub {2}
3 0.0% 0.6% Stub: CompareICStub
3 0.0% 0.6% Stub: CEntryStub
3 0.0% 0.6% Stub: ArgumentsAccessStub
3 0.0% 0.6% RegExp: ^[a-zA-Z0-9_!#$%&'*+.^`|~-]+$
3 0.0% 0.6% LazyCompile: ~trim_prefix /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:284:23
3 0.0% 0.6% LazyCompile: ~removeListener events.js:285:28
3 0.0% 0.6% LazyCompile: ~format /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/content-type/index.js:63:16
3 0.0% 0.6% LazyCompile: ~finish _http_outgoing.js:544:18
3 0.0% 0.6% LazyCompile: ~emit events.js:130:44
3 0.0% 0.6% LazyCompile: *test native regexp.js:135:20
3 0.0% 0.6% LazyCompile: *sort native array.js:903:19
3 0.0% 0.6% LazyCompile: *parseurl /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/parseurl/index.js:40:18
3 0.0% 0.6% LazyCompile: *parserOnMessageComplete _http_common.js:115:33
3 0.0% 0.6% LazyCompile: *internals.parseValues /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/parse.js:19:34
3 0.0% 0.6% LazyCompile: *etag /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/etag/index.js:71:14
3 0.0% 0.6% LazyCompile: *OutgoingMessage._storeHeader _http_outgoing.js:190:50
3 0.0% 0.6% LazyCompile: *Buffer.write buffer.js:546:34
3 0.0% 0.6% LazyCompile: *<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
3 0.0% 0.6% KeyedLoadIC: A keyed load IC from the snapshot {1}
3 0.0% 0.6% Handler: An IC handler from the snapshot {10}
3 0.0% 0.6% Builtin: JSConstructStubGeneric
3 0.0% 0.6% Builtin: FunctionCall
2 0.0% 0.4% Stub: ToBooleanStub
2 0.0% 0.4% Stub: RecordWriteStub {5}
2 0.0% 0.4% Stub: RecordWriteStub {4}
2 0.0% 0.4% Stub: RecordWriteStub {1}
2 0.0% 0.4% Stub: RecordWriteStub {12}
2 0.0% 0.4% Stub: LoadFieldStub {1}
2 0.0% 0.4% Stub: GrowArrayElementsStub {1}
2 0.0% 0.4% Stub: FastNewContextStub
2 0.0% 0.4% Stub: CallFunctionStub
2 0.0% 0.4% Stub: CallConstructStub
2 0.0% 0.4% Stub: CallApiAccessorStub {1}
2 0.0% 0.4% Stub: CallApiAccessorStub
2 0.0% 0.4% RegExp: ^Connection$
2 0.0% 0.4% RegExp: ^(\\/?|)([\\s\\S]*?)((?:\\.{1\,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$
2 0.0% 0.4% RegExp: [\\r\\n]
2 0.0% 0.4% LazyCompile: ~split native string.js:424:23
2 0.0% 0.4% LazyCompile: ~setPrototypeOf native v8natives.js:656:30
2 0.0% 0.4% LazyCompile: ~parse /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/content-type/index.js:104:15
2 0.0% 0.4% LazyCompile: ~onParserExecute _http_server.js:366:27
2 0.0% 0.4% LazyCompile: ~module.exports /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/parse.js:153:27
2 0.0% 0.4% LazyCompile: ~min native math.js:61:17
2 0.0% 0.4% LazyCompile: ~internals.parseKeys /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/parse.js:89:32
2 0.0% 0.4% LazyCompile: ~header /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:706:29
2 0.0% 0.4% LazyCompile: ~connectionListener _http_server.js:261:28
2 0.0% 0.4% LazyCompile: ~clearBuffer _stream_writable.js:362:21
2 0.0% 0.4% LazyCompile: ~byteLength buffer.js:259:20
2 0.0% 0.4% LazyCompile: ~ToPrimitive native runtime.js:422:21
2 0.0% 0.4% LazyCompile: ~OutgoingMessage.write _http_outgoing.js:420:43
2 0.0% 0.4% LazyCompile: INSTANCE_OF native runtime.js:289:21
2 0.0% 0.4% LazyCompile: *storeHeader _http_outgoing.js:303:21
2 0.0% 0.4% LazyCompile: *isFinite native v8natives.js:36:24
2 0.0% 0.4% LazyCompile: *fromString buffer.js:103:20
2 0.0% 0.4% LazyCompile: *dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
2 0.0% 0.4% LazyCompile: *Uint8ArrayConstructByArrayBuffer native typedarray.js:37:42
2 0.0% 0.4% LazyCompile: *ToName native runtime.js:466:16
2 0.0% 0.4% LazyCompile: *String native string.js:28:27
2 0.0% 0.4% LazyCompile: *Readable.on _stream_readable.js:665:33
2 0.0% 0.4% LazyCompile: *OutgoingMessage.end _http_outgoing.js:526:41
2 0.0% 0.4% LazyCompile: *IncomingMessage _http_incoming.js:20:25
2 0.0% 0.4% KeyedLoadIC: A keyed load IC from the snapshot {2}
2 0.0% 0.4% Handler: pop
2 0.0% 0.4% Handler: oncomplete
2 0.0% 0.4% Handler: handle
2 0.0% 0.4% Handler: finished
2 0.0% 0.4% Handler: callback
2 0.0% 0.4% Handler: An IC handler from the snapshot {9}
2 0.0% 0.4% Handler: An IC handler from the snapshot {6}
2 0.0% 0.4% Handler: An IC handler from the snapshot {3}
2 0.0% 0.4% Handler: An IC handler from the snapshot {2}
2 0.0% 0.4% Handler: An IC handler from the snapshot {15}
2 0.0% 0.4% Handler: An IC handler from the snapshot {13}
2 0.0% 0.4% Builtin: FunctionApply
1 0.0% 0.2% Stub: ToBooleanStub(Undefined,SpecObject)
1 0.0% 0.2% Stub: ToBooleanStub(Smi)
1 0.0% 0.2% Stub: StoreTransitionStub
1 0.0% 0.2% Stub: StoreFieldStub {1}
1 0.0% 0.2% Stub: StoreFieldStub
1 0.0% 0.2% Stub: RecordWriteStub {9}
1 0.0% 0.2% Stub: RecordWriteStub {8}
1 0.0% 0.2% Stub: RecordWriteStub {7}
1 0.0% 0.2% Stub: RecordWriteStub {3}
1 0.0% 0.2% Stub: RecordWriteStub {2}
1 0.0% 0.2% Stub: RecordWriteStub {15}
1 0.0% 0.2% Stub: RecordWriteStub {14}
1 0.0% 0.2% Stub: RecordWriteStub {13}
1 0.0% 0.2% Stub: RecordWriteStub {11}
1 0.0% 0.2% Stub: RecordWriteStub {10}
1 0.0% 0.2% Stub: RecordWriteStub
1 0.0% 0.2% Stub: LoadIndexedStringStub
1 0.0% 0.2% Stub: LoadFieldStub {3}
1 0.0% 0.2% Stub: LoadFieldStub {2}
1 0.0% 0.2% Stub: LoadFieldStub
1 0.0% 0.2% Stub: FastNewContextStub {4}
1 0.0% 0.2% Stub: FastNewContextStub {3}
1 0.0% 0.2% Stub: FastNewContextStub {1}
1 0.0% 0.2% Stub: CompareICStub {4}
1 0.0% 0.2% Stub: CompareICStub {3}
1 0.0% 0.2% Stub: CompareICStub {2}
1 0.0% 0.2% Stub: CompareICStub {1}
1 0.0% 0.2% Stub: CallICStub(args(6), METHOD,
1 0.0% 0.2% Stub: CallFunctionStub_Args1
1 0.0% 0.2% Stub: CallApiGetterStub
1 0.0% 0.2% Stub: CallApiAccessorStub {3}
1 0.0% 0.2% Stub: CEntryStub {1}
1 0.0% 0.2% Stub: BinaryOpWithAllocationSiteStub
1 0.0% 0.2% Stub: BinaryOpICStub {1}
1 0.0% 0.2% Stub: BinaryOpICStub
1 0.0% 0.2% Stub: ArraySingleArgumentConstructorStub
1 0.0% 0.2% Stub: ArrayConstructorStub
1 0.0% 0.2% Stub: ArrayBufferViewLoadFieldStub
1 0.0% 0.2% StorePolymorphicIC: _idlePrev
1 0.0% 0.2% StoreMegamorphic: args_count: 0
1 0.0% 0.2% Script: ~/Users/dan/code/profiling/simple-express/node_modules/express/node_modules/send/node_modules/http-errors/index.js
1 0.0% 0.2% RegExp: ^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+\\/[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$
1 0.0% 0.2% RegExp: ^Expect$
1 0.0% 0.2% RegExp: ; *([!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *= *("(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*"|[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *
1 0.0% 0.2% LazyCompile: ~unrefTimer net.js:175:51
1 0.0% 0.2% LazyCompile: ~trim native string.js:553:22
1 0.0% 0.2% LazyCompile: ~substr native string.js:513:22
1 0.0% 0.2% LazyCompile: ~subarray native typedarray.js:167:28
1 0.0% 0.2% LazyCompile: ~send /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:99:25
1 0.0% 0.2% LazyCompile: ~reuse timers.js:122:15
1 0.0% 0.2% LazyCompile: ~restore /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:603:17
1 0.0% 0.2% LazyCompile: ~remove internal/linkedlist.js:28:16
1 0.0% 0.2% LazyCompile: ~query /Users/dan/code/profiling/simple-express/node_modules/express/lib/middleware/query.js:43:24
1 0.0% 0.2% LazyCompile: ~onSocketFinish net.js:186:24
1 0.0% 0.2% LazyCompile: ~internals.parseValues /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/parse.js:19:34
1 0.0% 0.2% LazyCompile: ~first /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/on-finished/node_modules/ee-first/index.js:24:15
1 0.0% 0.2% LazyCompile: ~exports._unrefActive timers.js:599:32
1 0.0% 0.2% LazyCompile: ~exports.FreeList.free internal/freelist.js:18:43
1 0.0% 0.2% LazyCompile: ~dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
1 0.0% 0.2% LazyCompile: ~app.(anonymous function) /Users/dan/code/profiling/simple-express/node_modules/express/lib/application.js:472:25
1 0.0% 0.2% LazyCompile: ~_tickCallback node.js:368:27
1 0.0% 0.2% LazyCompile: ~ToBoolean native runtime.js:427:19
1 0.0% 0.2% LazyCompile: ~Socket net.js:109:16
1 0.0% 0.2% LazyCompile: ~ServerResponse.writeHead _http_server.js:160:46
1 0.0% 0.2% LazyCompile: ~Readable.push _stream_readable.js:100:35
1 0.0% 0.2% LazyCompile: ~OutgoingMessage._send _http_outgoing.js:122:43
1 0.0% 0.2% LazyCompile: ~IncomingMessage _http_incoming.js:20:25
1 0.0% 0.2% LazyCompile: ~EventEmitter.init events.js:36:29
1 0.0% 0.2% LazyCompile: ~Decode native uri.js:160:16
1 0.0% 0.2% LazyCompile: nextTickCallbackWith0Args node.js:449:39
1 0.0% 0.2% LazyCompile: matchLayer /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:555:20
1 0.0% 0.2% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
1 0.0% 0.2% LazyCompile: exports.decode /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/utils.js:75:27
1 0.0% 0.2% LazyCompile: IN native runtime.js:277:12
1 0.0% 0.2% LazyCompile: APPLY_PREPARE native runtime.js:336:23
1 0.0% 0.2% LazyCompile: *writeOrBuffer _stream_writable.js:255:23
1 0.0% 0.2% LazyCompile: *wetag /Users/dan/code/profiling/simple-express/node_modules/express/lib/utils.js:52:31
1 0.0% 0.2% LazyCompile: *utcDate _http_outgoing.js:32:17
1 0.0% 0.2% LazyCompile: *unrefTimeout timers.js:531:22
1 0.0% 0.2% LazyCompile: *toUTCString native date.js:462:25
1 0.0% 0.2% LazyCompile: *toString native v8natives.js:1029:26
1 0.0% 0.2% LazyCompile: *toLowerCase native string.js:537:29
1 0.0% 0.2% LazyCompile: *substr native string.js:513:22
1 0.0% 0.2% LazyCompile: *sendStatus /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:335:37
1 0.0% 0.2% LazyCompile: *send /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:99:25
1 0.0% 0.2% LazyCompile: *res.get /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:735:19
1 0.0% 0.2% LazyCompile: *parserOnIncoming _http_server.js:454:28
1 0.0% 0.2% LazyCompile: *parserOnHeadersComplete _http_common.js:42:33
1 0.0% 0.2% LazyCompile: *next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:178:16
1 0.0% 0.2% LazyCompile: *isNaN native v8natives.js:32:21
1 0.0% 0.2% LazyCompile: *init internal/linkedlist.js:3:14
1 0.0% 0.2% LazyCompile: *fresh /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/fresh/index.js:21:15
1 0.0% 0.2% LazyCompile: *exports._unrefActive timers.js:599:32
1 0.0% 0.2% LazyCompile: *exec native regexp.js:88:22
1 0.0% 0.2% LazyCompile: *Writable.write _stream_writable.js:186:36
1 0.0% 0.2% LazyCompile: *Writable.uncork _stream_writable.js:219:37
1 0.0% 0.2% LazyCompile: *Writable.cork _stream_writable.js:213:35
1 0.0% 0.2% LazyCompile: *ToString native runtime.js:453:18
1 0.0% 0.2% LazyCompile: *Socket.write net.js:615:34
1 0.0% 0.2% LazyCompile: *Socket.setTimeout net.js:299:39
1 0.0% 0.2% LazyCompile: *Socket.destroy net.js:493:36
1 0.0% 0.2% LazyCompile: *Readable.read _stream_readable.js:251:35
1 0.0% 0.2% LazyCompile: *OutgoingMessage._writeRaw _http_outgoing.js:145:47
1 0.0% 0.2% LazyCompile: *IncomingMessage._dump _http_incoming.js:179:43
1 0.0% 0.2% LazyCompile: *EventEmitter events.js:5:22
1 0.0% 0.2% KeyedStoreIC: A keyed store IC from the snapshot
1 0.0% 0.2% Handler: undefined
1 0.0% 0.2% Handler: symbol("nonexistent_symbol" hash 2359266c) {1}
1 0.0% 0.2% Handler: symbol("nonexistent_symbol" hash 2359266c)
1 0.0% 0.2% Handler: shift
1 0.0% 0.2% Handler: set
1 0.0% 0.2% Handler: read
1 0.0% 0.2% Handler: params
1 0.0% 0.2% Handler: indexOf
1 0.0% 0.2% Handler: headers
1 0.0% 0.2% Handler: exec
1 0.0% 0.2% Handler: bytesRead
1 0.0% 0.2% Handler: bind
1 0.0% 0.2% Handler: _pendingData {1}
1 0.0% 0.2% Handler: _maxListeners {1}
1 0.0% 0.2% Handler: _maxListeners
1 0.0% 0.2% Handler: _events
1 0.0% 0.2% Handler: _dump
1 0.0% 0.2% Handler: _chunks
1 0.0% 0.2% Handler: Array
1 0.0% 0.2% Handler: An IC handler from the snapshot {7}
1 0.0% 0.2% Handler: An IC handler from the snapshot {5}
1 0.0% 0.2% Handler: An IC handler from the snapshot {4}
1 0.0% 0.2% Handler: An IC handler from the snapshot {1}
1 0.0% 0.2% Handler: An IC handler from the snapshot {18}
1 0.0% 0.2% Handler: An IC handler from the snapshot {17}
1 0.0% 0.2% Handler: An IC handler from the snapshot {16}
1 0.0% 0.2% Handler: An IC handler from the snapshot {14}
1 0.0% 0.2% Handler: An IC handler from the snapshot {12}
1 0.0% 0.2% Handler: An IC handler from the snapshot {11}
1 0.0% 0.2% Handler: An IC handler from the snapshot
1 0.0% 0.2% Handler: $toPrimitive
[C++]:
ticks total nonlib name
[Summary]:
ticks total nonlib name
4390 1.2% 899.6% JavaScript
0 0.0% 0.0% C++
41 0.0% 8.4% GC
359465 99.9% Shared libraries
[C++ entry points]:
ticks cpp total name
[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
193686 53.8% /Users/dan/.nvm/versions/node/v5.5.0/bin/node
171750 88.7% LazyCompile: *pbkdf2 crypto.js:557:16
150223 87.5% LazyCompile: *<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
150223 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
150223 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
150223 100.0% LazyCompile: *dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
21523 12.5% LazyCompile: *exports.pbkdf2Sync crypto.js:552:30
21523 100.0% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
21523 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
21523 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
21741 11.2% /Users/dan/.nvm/versions/node/v5.5.0/bin/node
21162 97.3% LazyCompile: ~pbkdf2 crypto.js:557:16
21162 100.0% LazyCompile: ~exports.pbkdf2Sync crypto.js:552:30
21007 99.3% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
21007 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
114294 31.8% /usr/lib/system/libsystem_malloc.dylib
114264 100.0% LazyCompile: *pbkdf2 crypto.js:557:16
100106 87.6% LazyCompile: *<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
100106 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
100106 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
100106 100.0% LazyCompile: *dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
14158 12.4% LazyCompile: *exports.pbkdf2Sync crypto.js:552:30
14158 100.0% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
14158 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
14158 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
50502 14.0% /usr/lib/system/libsystem_platform.dylib
50473 99.9% LazyCompile: *pbkdf2 crypto.js:557:16
44502 88.2% LazyCompile: *<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
44502 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
44502 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
44502 100.0% LazyCompile: *dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
5971 11.8% LazyCompile: *exports.pbkdf2Sync crypto.js:552:30
5971 100.0% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
5971 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
5971 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
Statistical profiling result from isolate-0x101804a00-v8.log, (363859 ticks, 3906 unaccounted, 0 excluded).
[Shared libraries]:
ticks total nonlib name
193679 53.2% /Users/dan/.nvm/versions/node/v5.5.0/bin/node
114294 31.4% /usr/lib/system/libsystem_malloc.dylib
50502 13.9% /usr/lib/system/libsystem_platform.dylib
888 0.2% /usr/lib/system/libsystem_kernel.dylib
72 0.0% /usr/lib/system/libsystem_c.dylib
23 0.0% /usr/lib/system/libsystem_pthread.dylib
[JavaScript]:
ticks total nonlib name
15 0.0% 0.3% KeyedLoadIC: A keyed load IC from the snapshot
10 0.0% 0.2% Stub: LoadICStub
9 0.0% 0.2% LazyCompile: ~Socket._writeGeneric net.js:622:42
9 0.0% 0.2% LazyCompile: *_tickCallback node.js:368:27
8 0.0% 0.2% LazyCompile: ~_flushOutput _http_outgoing.js:646:63
7 0.0% 0.2% Stub: GrowArrayElementsStub
7 0.0% 0.2% LazyCompile: ~onParserExecuteCommon _http_server.js:371:33
7 0.0% 0.2% LazyCompile: *OutgoingMessage.setHeader _http_outgoing.js:335:47
7 0.0% 0.2% Handler: Error
6 0.0% 0.1% Stub: RegExpExecStub
6 0.0% 0.1% Stub: InstanceofStub
6 0.0% 0.1% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:271:64
6 0.0% 0.1% LazyCompile: *nextTick node.js:510:22
5 0.0% 0.1% Stub: FastCloneShallowArrayStub
5 0.0% 0.1% LazyCompile: ~resOnFinish _http_server.js:490:25
5 0.0% 0.1% LazyCompile: ~Uint8Array native typedarray.js:124:31
5 0.0% 0.1% Builtin: JSEntryTrampoline
4 0.0% 0.1% Stub: StringAddStub_CheckNone_NotTenured
4 0.0% 0.1% Stub: StringAddStub
4 0.0% 0.1% Stub: FastNewClosureStub
4 0.0% 0.1% RegExp: .*[\\.\\/\\\\]
4 0.0% 0.1% LazyCompile: ~readableAddChunk _stream_readable.js:124:26
4 0.0% 0.1% LazyCompile: ~parserOnIncoming _http_server.js:454:28
4 0.0% 0.1% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:178:16
4 0.0% 0.1% LazyCompile: ~handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/application.js:157:29
4 0.0% 0.1% LazyCompile: nextTickCallbackWith2Args node.js:471:39
4 0.0% 0.1% LazyCompile: *emit events.js:130:44
4 0.0% 0.1% Handler: emit
4 0.0% 0.1% Handler: An IC handler from the snapshot {8}
4 0.0% 0.1% Builtin: ArgumentsAdaptorTrampoline
3 0.0% 0.1% Stub: RecordWriteStub {6}
3 0.0% 0.1% Stub: LoadConstantStub
3 0.0% 0.1% Stub: JSEntryStub
3 0.0% 0.1% Stub: FastNewContextStub {2}
3 0.0% 0.1% Stub: CompareICStub
3 0.0% 0.1% Stub: CEntryStub
3 0.0% 0.1% Stub: ArgumentsAccessStub
3 0.0% 0.1% RegExp: ^[a-zA-Z0-9_!#$%&'*+.^`|~-]+$
3 0.0% 0.1% LazyCompile: ~trim_prefix /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:284:23
3 0.0% 0.1% LazyCompile: ~removeListener events.js:285:28
3 0.0% 0.1% LazyCompile: ~format /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/content-type/index.js:63:16
3 0.0% 0.1% LazyCompile: ~finish _http_outgoing.js:544:18
3 0.0% 0.1% LazyCompile: ~emit events.js:130:44
3 0.0% 0.1% LazyCompile: *test native regexp.js:135:20
3 0.0% 0.1% LazyCompile: *sort native array.js:903:19
3 0.0% 0.1% LazyCompile: *parseurl /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/parseurl/index.js:40:18
3 0.0% 0.1% LazyCompile: *parserOnMessageComplete _http_common.js:115:33
3 0.0% 0.1% LazyCompile: *internals.parseValues /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/parse.js:19:34
3 0.0% 0.1% LazyCompile: *etag /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/etag/index.js:71:14
3 0.0% 0.1% LazyCompile: *OutgoingMessage._storeHeader _http_outgoing.js:190:50
3 0.0% 0.1% LazyCompile: *Buffer.write buffer.js:546:34
3 0.0% 0.1% LazyCompile: *<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
3 0.0% 0.1% KeyedLoadIC: A keyed load IC from the snapshot {1}
3 0.0% 0.1% Handler: An IC handler from the snapshot {10}
3 0.0% 0.1% Builtin: JSConstructStubGeneric
3 0.0% 0.1% Builtin: FunctionCall
2 0.0% 0.0% Stub: ToBooleanStub
2 0.0% 0.0% Stub: RecordWriteStub {5}
2 0.0% 0.0% Stub: RecordWriteStub {4}
2 0.0% 0.0% Stub: RecordWriteStub {1}
2 0.0% 0.0% Stub: RecordWriteStub {12}
2 0.0% 0.0% Stub: LoadFieldStub {1}
2 0.0% 0.0% Stub: GrowArrayElementsStub {1}
2 0.0% 0.0% Stub: FastNewContextStub
2 0.0% 0.0% Stub: CallFunctionStub
2 0.0% 0.0% Stub: CallConstructStub
2 0.0% 0.0% Stub: CallApiAccessorStub {1}
2 0.0% 0.0% Stub: CallApiAccessorStub
2 0.0% 0.0% RegExp: ^Connection$
2 0.0% 0.0% RegExp: ^(\\/?|)([\\s\\S]*?)((?:\\.{1\,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$
2 0.0% 0.0% RegExp: [\\r\\n]
2 0.0% 0.0% LazyCompile: ~split native string.js:424:23
2 0.0% 0.0% LazyCompile: ~setPrototypeOf native v8natives.js:656:30
2 0.0% 0.0% LazyCompile: ~parse /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/content-type/index.js:104:15
2 0.0% 0.0% LazyCompile: ~onParserExecute _http_server.js:366:27
2 0.0% 0.0% LazyCompile: ~module.exports /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/parse.js:153:27
2 0.0% 0.0% LazyCompile: ~min native math.js:61:17
2 0.0% 0.0% LazyCompile: ~internals.parseKeys /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/parse.js:89:32
2 0.0% 0.0% LazyCompile: ~header /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:706:29
2 0.0% 0.0% LazyCompile: ~connectionListener _http_server.js:261:28
2 0.0% 0.0% LazyCompile: ~clearBuffer _stream_writable.js:362:21
2 0.0% 0.0% LazyCompile: ~byteLength buffer.js:259:20
2 0.0% 0.0% LazyCompile: ~ToPrimitive native runtime.js:422:21
2 0.0% 0.0% LazyCompile: ~OutgoingMessage.write _http_outgoing.js:420:43
2 0.0% 0.0% LazyCompile: INSTANCE_OF native runtime.js:289:21
2 0.0% 0.0% LazyCompile: *storeHeader _http_outgoing.js:303:21
2 0.0% 0.0% LazyCompile: *isFinite native v8natives.js:36:24
2 0.0% 0.0% LazyCompile: *fromString buffer.js:103:20
2 0.0% 0.0% LazyCompile: *dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
2 0.0% 0.0% LazyCompile: *Uint8ArrayConstructByArrayBuffer native typedarray.js:37:42
2 0.0% 0.0% LazyCompile: *ToName native runtime.js:466:16
2 0.0% 0.0% LazyCompile: *String native string.js:28:27
2 0.0% 0.0% LazyCompile: *Readable.on _stream_readable.js:665:33
2 0.0% 0.0% LazyCompile: *OutgoingMessage.end _http_outgoing.js:526:41
2 0.0% 0.0% LazyCompile: *IncomingMessage _http_incoming.js:20:25
2 0.0% 0.0% KeyedLoadIC: A keyed load IC from the snapshot {2}
2 0.0% 0.0% Handler: pop
2 0.0% 0.0% Handler: oncomplete
2 0.0% 0.0% Handler: handle
2 0.0% 0.0% Handler: finished
2 0.0% 0.0% Handler: callback
2 0.0% 0.0% Handler: An IC handler from the snapshot {9}
2 0.0% 0.0% Handler: An IC handler from the snapshot {6}
2 0.0% 0.0% Handler: An IC handler from the snapshot {3}
2 0.0% 0.0% Handler: An IC handler from the snapshot {2}
2 0.0% 0.0% Handler: An IC handler from the snapshot {15}
2 0.0% 0.0% Handler: An IC handler from the snapshot {13}
2 0.0% 0.0% Builtin: FunctionApply
1 0.0% 0.0% Stub: ToBooleanStub(Undefined,SpecObject)
1 0.0% 0.0% Stub: ToBooleanStub(Smi)
1 0.0% 0.0% Stub: StoreTransitionStub
1 0.0% 0.0% Stub: StoreFieldStub {1}
1 0.0% 0.0% Stub: StoreFieldStub
1 0.0% 0.0% Stub: RecordWriteStub {9}
1 0.0% 0.0% Stub: RecordWriteStub {8}
1 0.0% 0.0% Stub: RecordWriteStub {7}
1 0.0% 0.0% Stub: RecordWriteStub {3}
1 0.0% 0.0% Stub: RecordWriteStub {2}
1 0.0% 0.0% Stub: RecordWriteStub {15}
1 0.0% 0.0% Stub: RecordWriteStub {14}
1 0.0% 0.0% Stub: RecordWriteStub {13}
1 0.0% 0.0% Stub: RecordWriteStub {11}
1 0.0% 0.0% Stub: RecordWriteStub {10}
1 0.0% 0.0% Stub: RecordWriteStub
1 0.0% 0.0% Stub: LoadIndexedStringStub
1 0.0% 0.0% Stub: LoadFieldStub {3}
1 0.0% 0.0% Stub: LoadFieldStub {2}
1 0.0% 0.0% Stub: LoadFieldStub
1 0.0% 0.0% Stub: FastNewContextStub {4}
1 0.0% 0.0% Stub: FastNewContextStub {3}
1 0.0% 0.0% Stub: FastNewContextStub {1}
1 0.0% 0.0% Stub: CompareICStub {4}
1 0.0% 0.0% Stub: CompareICStub {3}
1 0.0% 0.0% Stub: CompareICStub {2}
1 0.0% 0.0% Stub: CompareICStub {1}
1 0.0% 0.0% Stub: CallICStub(args(6), METHOD,
1 0.0% 0.0% Stub: CallFunctionStub_Args1
1 0.0% 0.0% Stub: CallApiGetterStub
1 0.0% 0.0% Stub: CallApiAccessorStub {3}
1 0.0% 0.0% Stub: CEntryStub {1}
1 0.0% 0.0% Stub: BinaryOpWithAllocationSiteStub
1 0.0% 0.0% Stub: BinaryOpICStub {1}
1 0.0% 0.0% Stub: BinaryOpICStub
1 0.0% 0.0% Stub: ArraySingleArgumentConstructorStub
1 0.0% 0.0% Stub: ArrayConstructorStub
1 0.0% 0.0% Stub: ArrayBufferViewLoadFieldStub
1 0.0% 0.0% StorePolymorphicIC: _idlePrev
1 0.0% 0.0% StoreMegamorphic: args_count: 0
1 0.0% 0.0% Script: ~/Users/dan/code/profiling/simple-express/node_modules/express/node_modules/send/node_modules/http-errors/index.js
1 0.0% 0.0% RegExp: ^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+\\/[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$
1 0.0% 0.0% RegExp: ^Expect$
1 0.0% 0.0% RegExp: ; *([!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *= *("(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*"|[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *
1 0.0% 0.0% LazyCompile: ~unrefTimer net.js:175:51
1 0.0% 0.0% LazyCompile: ~trim native string.js:553:22
1 0.0% 0.0% LazyCompile: ~substr native string.js:513:22
1 0.0% 0.0% LazyCompile: ~subarray native typedarray.js:167:28
1 0.0% 0.0% LazyCompile: ~send /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:99:25
1 0.0% 0.0% LazyCompile: ~reuse timers.js:122:15
1 0.0% 0.0% LazyCompile: ~restore /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:603:17
1 0.0% 0.0% LazyCompile: ~remove internal/linkedlist.js:28:16
1 0.0% 0.0% LazyCompile: ~query /Users/dan/code/profiling/simple-express/node_modules/express/lib/middleware/query.js:43:24
1 0.0% 0.0% LazyCompile: ~onSocketFinish net.js:186:24
1 0.0% 0.0% LazyCompile: ~internals.parseValues /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/parse.js:19:34
1 0.0% 0.0% LazyCompile: ~first /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/on-finished/node_modules/ee-first/index.js:24:15
1 0.0% 0.0% LazyCompile: ~exports._unrefActive timers.js:599:32
1 0.0% 0.0% LazyCompile: ~exports.FreeList.free internal/freelist.js:18:43
1 0.0% 0.0% LazyCompile: ~dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
1 0.0% 0.0% LazyCompile: ~app.(anonymous function) /Users/dan/code/profiling/simple-express/node_modules/express/lib/application.js:472:25
1 0.0% 0.0% LazyCompile: ~_tickCallback node.js:368:27
1 0.0% 0.0% LazyCompile: ~ToBoolean native runtime.js:427:19
1 0.0% 0.0% LazyCompile: ~Socket net.js:109:16
1 0.0% 0.0% LazyCompile: ~ServerResponse.writeHead _http_server.js:160:46
1 0.0% 0.0% LazyCompile: ~Readable.push _stream_readable.js:100:35
1 0.0% 0.0% LazyCompile: ~OutgoingMessage._send _http_outgoing.js:122:43
1 0.0% 0.0% LazyCompile: ~IncomingMessage _http_incoming.js:20:25
1 0.0% 0.0% LazyCompile: ~EventEmitter.init events.js:36:29
1 0.0% 0.0% LazyCompile: ~Decode native uri.js:160:16
1 0.0% 0.0% LazyCompile: nextTickCallbackWith0Args node.js:449:39
1 0.0% 0.0% LazyCompile: matchLayer /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:555:20
1 0.0% 0.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
1 0.0% 0.0% LazyCompile: exports.decode /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/qs/lib/utils.js:75:27
1 0.0% 0.0% LazyCompile: IN native runtime.js:277:12
1 0.0% 0.0% LazyCompile: APPLY_PREPARE native runtime.js:336:23
1 0.0% 0.0% LazyCompile: *writeOrBuffer _stream_writable.js:255:23
1 0.0% 0.0% LazyCompile: *wetag /Users/dan/code/profiling/simple-express/node_modules/express/lib/utils.js:52:31
1 0.0% 0.0% LazyCompile: *utcDate _http_outgoing.js:32:17
1 0.0% 0.0% LazyCompile: *unrefTimeout timers.js:531:22
1 0.0% 0.0% LazyCompile: *toUTCString native date.js:462:25
1 0.0% 0.0% LazyCompile: *toString native v8natives.js:1029:26
1 0.0% 0.0% LazyCompile: *toLowerCase native string.js:537:29
1 0.0% 0.0% LazyCompile: *substr native string.js:513:22
1 0.0% 0.0% LazyCompile: *sendStatus /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:335:37
1 0.0% 0.0% LazyCompile: *send /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:99:25
1 0.0% 0.0% LazyCompile: *res.get /Users/dan/code/profiling/simple-express/node_modules/express/lib/response.js:735:19
1 0.0% 0.0% LazyCompile: *pbkdf2 crypto.js:557:16
1 0.0% 0.0% LazyCompile: *parserOnIncoming _http_server.js:454:28
1 0.0% 0.0% LazyCompile: *parserOnHeadersComplete _http_common.js:42:33
1 0.0% 0.0% LazyCompile: *next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/index.js:178:16
1 0.0% 0.0% LazyCompile: *isNaN native v8natives.js:32:21
1 0.0% 0.0% LazyCompile: *init internal/linkedlist.js:3:14
1 0.0% 0.0% LazyCompile: *fresh /Users/dan/code/profiling/simple-express/node_modules/express/node_modules/fresh/index.js:21:15
1 0.0% 0.0% LazyCompile: *exports._unrefActive timers.js:599:32
1 0.0% 0.0% LazyCompile: *exec native regexp.js:88:22
1 0.0% 0.0% LazyCompile: *Writable.write _stream_writable.js:186:36
1 0.0% 0.0% LazyCompile: *Writable.uncork _stream_writable.js:219:37
1 0.0% 0.0% LazyCompile: *Writable.cork _stream_writable.js:213:35
1 0.0% 0.0% LazyCompile: *ToString native runtime.js:453:18
1 0.0% 0.0% LazyCompile: *Socket.write net.js:615:34
1 0.0% 0.0% LazyCompile: *Socket.setTimeout net.js:299:39
1 0.0% 0.0% LazyCompile: *Socket.destroy net.js:493:36
1 0.0% 0.0% LazyCompile: *Readable.read _stream_readable.js:251:35
1 0.0% 0.0% LazyCompile: *OutgoingMessage._writeRaw _http_outgoing.js:145:47
1 0.0% 0.0% LazyCompile: *IncomingMessage._dump _http_incoming.js:179:43
1 0.0% 0.0% LazyCompile: *EventEmitter events.js:5:22
1 0.0% 0.0% KeyedStoreIC: A keyed store IC from the snapshot
1 0.0% 0.0% Handler: undefined
1 0.0% 0.0% Handler: symbol("nonexistent_symbol" hash 2359266c) {1}
1 0.0% 0.0% Handler: symbol("nonexistent_symbol" hash 2359266c)
1 0.0% 0.0% Handler: shift
1 0.0% 0.0% Handler: set
1 0.0% 0.0% Handler: read
1 0.0% 0.0% Handler: params
1 0.0% 0.0% Handler: indexOf
1 0.0% 0.0% Handler: headers
1 0.0% 0.0% Handler: exec
1 0.0% 0.0% Handler: bytesRead
1 0.0% 0.0% Handler: bind
1 0.0% 0.0% Handler: _pendingData {1}
1 0.0% 0.0% Handler: _maxListeners {1}
1 0.0% 0.0% Handler: _maxListeners
1 0.0% 0.0% Handler: _events
1 0.0% 0.0% Handler: _dump
1 0.0% 0.0% Handler: _chunks
1 0.0% 0.0% Handler: Array
1 0.0% 0.0% Handler: An IC handler from the snapshot {7}
1 0.0% 0.0% Handler: An IC handler from the snapshot {5}
1 0.0% 0.0% Handler: An IC handler from the snapshot {4}
1 0.0% 0.0% Handler: An IC handler from the snapshot {1}
1 0.0% 0.0% Handler: An IC handler from the snapshot {18}
1 0.0% 0.0% Handler: An IC handler from the snapshot {17}
1 0.0% 0.0% Handler: An IC handler from the snapshot {16}
1 0.0% 0.0% Handler: An IC handler from the snapshot {14}
1 0.0% 0.0% Handler: An IC handler from the snapshot {12}
1 0.0% 0.0% Handler: An IC handler from the snapshot {11}
1 0.0% 0.0% Handler: An IC handler from the snapshot
1 0.0% 0.0% Handler: $toPrimitive
[C++]:
ticks total nonlib name
[Summary]:
ticks total nonlib name
495 0.1% 11.2% JavaScript
0 0.0% 0.0% C++
41 0.0% 0.9% GC
359458 98.8% Shared libraries
3906 1.1% Unaccounted
[C++ entry points]:
ticks cpp total name
[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
193679 53.2% /Users/dan/.nvm/versions/node/v5.5.0/bin/node
171750 88.7% LazyCompile: *pbkdf2 crypto.js:557:16
150223 87.5% LazyCompile: *<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
150223 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
150223 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
150223 100.0% LazyCompile: *dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
21523 12.5% LazyCompile: *exports.pbkdf2Sync crypto.js:552:30
21523 100.0% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
21523 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
21523 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
21741 11.2% /Users/dan/.nvm/versions/node/v5.5.0/bin/node
21162 97.3% LazyCompile: ~pbkdf2 crypto.js:557:16
21162 100.0% LazyCompile: ~exports.pbkdf2Sync crypto.js:552:30
21007 99.3% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
21007 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
114294 31.4% /usr/lib/system/libsystem_malloc.dylib
114264 100.0% LazyCompile: *pbkdf2 crypto.js:557:16
100106 87.6% LazyCompile: *<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
100106 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
100106 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
100106 100.0% LazyCompile: *dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
14158 12.4% LazyCompile: *exports.pbkdf2Sync crypto.js:552:30
14158 100.0% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
14158 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
14158 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
50502 13.9% /usr/lib/system/libsystem_platform.dylib
50473 99.9% LazyCompile: *pbkdf2 crypto.js:557:16
44502 88.2% LazyCompile: *<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
44502 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
44502 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
44502 100.0% LazyCompile: *dispatch /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:98:45
5971 11.8% LazyCompile: *exports.pbkdf2Sync crypto.js:552:30
5971 100.0% LazyCompile: ~<anonymous> /Users/dan/code/profiling/simple-express/app.js:33:27
5971 100.0% LazyCompile: handle /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/layer.js:86:49
5971 100.0% LazyCompile: ~next /Users/dan/code/profiling/simple-express/node_modules/express/lib/router/route.js:114:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment