Restrict process and Buffer globals to CommonJS by guybedford · Pull Request #26334 · nodejs/node (original) (raw)

I'm going to be spending some time profiling what is going on. I don't see code related to this in inspector profiles or --prof that would make the time difference make sense. I'm wondering if something odd is happening and will have to dig into opts/deopts a bit. The only other alternative for what is causing stuff is the context wrapper but I would have to talk to V8 about why it isn't being optimized away which might take time.

Prof with PR:

$ node --prof-process with.log Statistical profiling result from with.log, (4502 ticks, 1408 unaccounted, 0 excluded).

[Shared libraries]: ticks total nonlib name 10 0.2% /usr/lib/system/libsystem_pthread.dylib 8 0.2% /usr/lib/system/libsystem_platform.dylib 3 0.1% /usr/lib/system/libsystem_malloc.dylib

[JavaScript]: ticks total nonlib name 65 1.4% 1.5% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 51 1.1% 1.1% LazyCompile: *onwrite _stream_writable.js:445:17 46 1.0% 1.0% LazyCompile: *resOnFinish _http_server.js:617:21 45 1.0% 1.0% LazyCompile: *clearBuffer _stream_writable.js:498:21 44 1.0% 1.0% LazyCompile: *assignSocket _http_server.js:203:62 34 0.8% 0.8% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 27 0.6% 0.6% LazyCompile: *parserOnIncoming _http_server.js:662:26 26 0.6% 0.6% LazyCompile: *Readable.read stream_readable.js:400:35 23 0.5% 0.5% LazyCompile: *write _http_outgoing.js:564:16 23 0.5% 0.5% LazyCompile: *socketListenerWrap http_server.js:780:37 22 0.5% 0.5% LazyCompile: *emitReadable _stream_readable.js:560:23 20 0.4% 0.4% LazyCompile: *nextTick internal/process/task_queues.js:109:18 17 0.4% 0.4% LazyCompile: *_storeHeader _http_outgoing.js:285:22 16 0.4% 0.4% LazyCompile: *readableAddChunk _stream_readable.js:224:26 16 0.4% 0.4% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 16 0.4% 0.4% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 15 0.3% 0.3% LazyCompile: *setHeader http_outgoing.js:462:57 14 0.3% 0.3% LazyCompile: *resume _stream_readable.js:920:17 13 0.3% 0.3% LazyCompile: *_finish _http_server.js:169:52 13 0.3% 0.3% LazyCompile: *ReadableState _stream_readable.js:72:23 13 0.3% 0.3% LazyCompile: * internal/util/debuglog.js:57:18 12 0.3% 0.3% LazyCompile: *Readable.removeAllListeners _stream_readable.js:861:49 11 0.2% 0.2% LazyCompile: *debug internal/util/debuglog.js:45:35 10 0.2% 0.2% RegExp: [^\t\x20-\x7e\x80-\xff] 10 0.2% 0.2% LazyCompile: *resetHeadersTimeoutOnReqEnd _http_server.js:796:37 10 0.2% 0.2% LazyCompile: *endReadableNT _stream_readable.js:1124:23 10 0.2% 0.2% LazyCompile: *Writable.uncork _stream_writable.js:311:37 9 0.2% 0.2% LazyCompile: *parserOnMessageComplete _http_common.js:135:33 8 0.2% 0.2% LazyCompile: ServerResponse http_server.js:145:24 7 0.2% 0.2% RegExp: ^[^`a-zA-Z-0-9!#$%&'+.|~]+$ 7 0.2% 0.2% LazyCompile: *setStreamTimeout internal/stream_base_commons.js:202:26 7 0.2% 0.2% LazyCompile: *onFinish _http_outgoing.js:657:18 6 0.1% 0.1% LazyCompile: *matchKnownFields _http_incoming.js:139:26 5 0.1% 0.1% LazyCompile: *updateOutgoingData _http_server.js:445:28 5 0.1% 0.1% LazyCompile: *removeListener events.js:320:28 5 0.1% 0.1% LazyCompile: *emit events.js:153:44 4 0.1% 0.1% LazyCompile: *byteLength buffer.js:488:20 4 0.1% 0.1% LazyCompile: *Readable.on _stream_readable.js:815:33 3 0.1% 0.1% LazyCompile: *removeAllListeners events.js:376:32 3 0.1% 0.1% LazyCompile: *nop _stream_writable.js:54:13 3 0.1% 0.1% LazyCompile: *Writable.write _stream_writable.js:275:36 2 0.0% 0.0% LazyCompile: *unenroll timers.js:62:18 2 0.0% 0.0% LazyCompile: *onParserExecute _http_server.js:525:25 2 0.0% 0.0% LazyCompile: *afterWrite _stream_writable.js:479:20 2 0.0% 0.0% LazyCompile: *_unrefTimer net.js:344:52 1 0.0% 0.0% LazyCompile: *writeHead _http_server.js:234:19 1 0.0% 0.0% LazyCompile: *insert internal/timers.js:305:16 1 0.0% 0.0% LazyCompile: *emitCloseNT _http_server.js:655:21 1 0.0% 0.0% LazyCompile: *append internal/linkedlist.js:29:16 1 0.0% 0.0% LazyCompile: *_send _http_outgoing.js:222:49 1 0.0% 0.0% LazyCompile: *Writable.cork _stream_writable.js:307:35

[C++]: ticks total nonlib name 1606 35.7% 35.8% T __ZN2v88internal10ClassScope28GetUnresolvedPrivateNameTailEv 46 1.0% 1.0% t _szone_malloc_should_clear 43 1.0% 1.0% T __ZN2v86Object3GetENS_5LocalINS_7ContextEEEj 37 0.8% 0.8% T node::StreamBase::Writev(v8::FunctionCallbackInfov8::Value const&) 30 0.7% 0.7% T void node::StreamBase::JSMethod<&(node::StreamBase::Writev(v8::FunctionCallbackInfov8::Value const&))>(v8::FunctionCallbackInfov8::Value const&) 30 0.7% 0.7% T node::native_module::NativeModuleEnv::CompileFunction(v8::FunctionCallbackInfov8::Value const&) 28 0.6% 0.6% T __ZNK2v86String9WriteUtf8EPNS_7IsolateEPciPii 26 0.6% 0.6% T _munmap 19 0.4% 0.4% T ___mach_stack_logging_enumerate_records 16 0.4% 0.4% t __ZN2v812_GLOBAL__N_114CallDepthScopeILb0EEC1EPNS_8internal7IsolateENS_5LocalINS_7ContextEEE 16 0.4% 0.4% T _ZN2v88Function4CallENS_5LocalINS_7ContextEEENS1_INS_5ValueEEEiPS5 15 0.3% 0.3% t node::LibuvStreamWrap::Initialize(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Context, void*)::$_0::__invoke(v8::FunctionCallbackInfov8::Value const&) 15 0.3% 0.3% T __ZN2v811HandleScope10InitializeEPNS_7IsolateE 14 0.3% 0.3% T ___malloc_init 12 0.3% 0.3% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(), &(node::(anonymous namespace)::Parser::on_headers_complete())>::Raw(llhttp__internal_s) 12 0.3% 0.3% t __ZN2v88internal6String7FlattenEPNS0_7IsolateENS0_6HandleIS1_EENS0_14AllocationTypeE 12 0.3% 0.3% T node::ParseEncoding(v8::Isolate*, v8::Localv8::Value, node::encoding) 11 0.2% 0.2% t _update_cache_for_file_streams 11 0.2% 0.2% t _small_free_list_remove_ptr_no_clear 11 0.2% 0.2% T _vm_region_recurse_64 10 0.2% 0.2% t __enlarge 10 0.2% 0.2% T node::StringBytes::StorageSize(v8::Isolate*, v8::Localv8::Value, node::encoding) 9 0.2% 0.2% t node::StreamBase::Write(uv_buf_t*, unsigned long, uv_stream_s*, v8::Localv8::Object) 9 0.2% 0.2% T node::InternalCallbackScope::Close() 8 0.2% 0.2% t __os_nospin_lock_unlock_slow 8 0.2% 0.2% T node::InternalMakeCallback(node::Environment*, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value, node::async_context) 8 0.2% 0.2% T __simple_dprintf 8 0.2% 0.2% T ___channel_get_opt 8 0.2% 0.2% T __ZNK2v85Value8ToStringENS_5LocalINS_7ContextEEE 7 0.2% 0.2% t node::(anonymous namespace)::StringPtr::Reset() 7 0.2% 0.2% T ___carbon_delete 6 0.1% 0.1% T node::StringBytes::Write(v8::Isolate, char*, unsigned long, v8::Localv8::Value, node::encoding, int*) 6 0.1% 0.1% T node::AsyncWrap::EmitTraceEventAfter(node::AsyncWrap::ProviderType, double) 6 0.1% 0.1% T __ZN2v87Isolate17GetCurrentContextEv 6 0.1% 0.1% T __ZN2v87Integer15NewFromUnsignedEPNS_7IsolateEj 6 0.1% 0.1% T __ZN2v87Context29GetNumberOfEmbedderDataFieldsEv 6 0.1% 0.1% T __ZN2v86String14NewFromOneByteEPNS_7IsolateEPKhNS_13NewStringTypeEi 5 0.1% 0.1% t node::NodeArrayBufferAllocator::Free(void*, unsigned long) 5 0.1% 0.1% t node::MaybeStackBuffer<char, 1024ul>::AllocateSufficientStorage(unsigned long) 5 0.1% 0.1% t node::AsyncHooks::pop_async_id(double) 5 0.1% 0.1% T node::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value) 5 0.1% 0.1% T node::ParseEncoding(char const*, node::encoding) 5 0.1% 0.1% T node::LibuvStreamWrap::DoTryWrite(uv_buf_t**, unsigned long*) 5 0.1% 0.1% T node::Environment::GetNow() 5 0.1% 0.1% T node::Emit(node::Environment*, double, node::AsyncHooks::Fields, v8::Localv8::Function) 5 0.1% 0.1% T node::AsyncWrap::MakeCallback(v8::Localv8::Function, int, v8::Localv8::Value) 5 0.1% 0.1% T _free 5 0.1% 0.1% T __ZNK2v86String12WriteOneByteEPNS_7IsolateEPhiii 5 0.1% 0.1% T __ZNK2v85Value10IsFunctionEv 4 0.1% 0.1% t node::MaybeStackBuffer<uv_buf_t, 16ul>::AllocateSufficientStorage(unsigned long) 4 0.1% 0.1% t node::Buffer::(anonymous namespace)::ByteLengthUtf8(v8::FunctionCallbackInfov8::Value const&) 4 0.1% 0.1% t node::(anonymous namespace)::Parser::OnStreamRead(long, uv_buf_t const&) 4 0.1% 0.1% t _free_small 4 0.1% 0.1% t _allocate_pages_securely 4 0.1% 0.1% t _allocate_pages 4 0.1% 0.1% t __ZN2v88internal12_GLOBAL__N_124ProbeInstantiationsCacheEPNS0_7IsolateEiNS1_11CachingModeE 4 0.1% 0.1% t __ZN2v88internal12_GLOBAL__N_117InstantiateObjectEPNS0_7IsolateENS0_6HandleINS0_18ObjectTemplateInfoEEENS4_INS0_10JSReceiverEEEbb 4 0.1% 0.1% t __ZN2v812_GLOBAL__N_114CallDepthScopeILb1EEC1EPNS_8internal7IsolateENS_5LocalINS_7ContextEEE 4 0.1% 0.1% T node::DTRACE_HTTP_SERVER_RESPONSE(v8::FunctionCallbackInfov8::Value const&) 4 0.1% 0.1% T node::DTRACE_HTTP_SERVER_REQUEST(v8::FunctionCallbackInfov8::Value const&) 4 0.1% 0.1% T node::AsyncWrap::EmitTraceEventBefore() 4 0.1% 0.1% T __ZN2v85Array3NewEPNS_7IsolateEPNS_5LocalINS_5ValueEEEm 4 0.1% 0.1% T __ZN2v811HandleScopeD1Ev 4 0.1% 0.1% T __ZN2v811HandleScopeC1EPNS_7IsolateE 3 0.1% 0.1% t node::MaybeStackBuffer<char, 1024ul>::SetLength(unsigned long) 3 0.1% 0.1% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::*)(), &(node::(anonymous namespace)::Parser::on_message_complete())>::Raw(llhttp__internal_s) 3 0.1% 0.1% T non-virtual thunk to node::LibuvStreamWrap::DoTryWrite(uv_buf_t**, unsigned long*) 3 0.1% 0.1% T node::TTYWrap::New(v8::FunctionCallbackInfov8::Value const&) 3 0.1% 0.1% T node::InternalCallbackScope::InternalCallbackScope(node::Environment*, v8::Localv8::Object, node::async_context const&, node::InternalCallbackScope::ResourceExpectation) 3 0.1% 0.1% T node::Buffer::HasInstance(v8::Localv8::Value) 3 0.1% 0.1% T _mach_msg 3 0.1% 0.1% T __ZNK2v86String6LengthEv 3 0.1% 0.1% T __ZNK2v86String10Utf8LengthEPNS_7IsolateE 3 0.1% 0.1% T __ZNK2v85Value17IsArrayBufferViewEv 3 0.1% 0.1% T __ZNK2v85Array6LengthEv 3 0.1% 0.1% T __ZN2v88internal25FunctionCallbackArgumentsC1EPNS0_7IsolateENS0_6ObjectENS0_10HeapObjectES4_S5_Pmi 3 0.1% 0.1% T __ZN2v87Isolate9InContextEv 2 0.0% 0.0% t node::LibuvStreamWrap::ReadStart()::$_2::__invoke(uv_stream_s*, long, uv_buf_t const*) 2 0.0% 0.0% t node::(anonymous namespace)::StringPtr::Update(char const*, unsigned long) 2 0.0% 0.0% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(char const*, unsigned long), &(node::(anonymous namespace)::Parser::on_url(char const*, unsigned long))>::Raw(llhttp__internal_s, char const*, unsigned long) 2 0.0% 0.0% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(char const*, unsigned long), &(node::(anonymous namespace)::Parser::on_header_field(char const*, unsigned long))>::Raw(llhttp__internal_s, char const*, unsigned long) 2 0.0% 0.0% t node::(anonymous namespace)::Parser::Execute(char const*, unsigned long) 2 0.0% 0.0% t __read_images 2 0.0% 0.0% t __os_nospin_lock_lock_slow 2 0.0% 0.0% t __malloc_initialize 2 0.0% 0.0% T node::binding::GetInternalBinding(v8::FunctionCallbackInfov8::Value const&) 2 0.0% 0.0% T node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) 2 0.0% 0.0% T node::LibuvStreamWrap::OnUvAlloc(unsigned long, uv_buf_t*) 2 0.0% 0.0% T _mach_vm_purgable_control 2 0.0% 0.0% T __ZN2v87Isolate10GetCurrentEv 2 0.0% 0.0% T __ZN2v87Integer3NewEPNS_7IsolateEi 2 0.0% 0.0% T __ZN2v87Context5EnterEv 1 0.0% 0.0% t std::__1::__function::__func<node::(anonymous namespace)::Parser::OnStreamRead(long, uv_buf_t const&)::'lambda'(), std::__1::allocator<node::(anonymous namespace)::Parser::OnStreamRead(long, uv_buf_t const&)::'lambda'()>, void ()>::operator()() 1 0.0% 0.0% t non-virtual thunk to node::(anonymous namespace)::Parser::OnStreamAlloc(unsigned long) 1 0.0% 0.0% t node::fs::Read(v8::FunctionCallbackInfov8::Value const&) 1 0.0% 0.0% t node::NodeArrayBufferAllocator::AllocateUninitialized(unsigned long) 1 0.0% 0.0% t node::MaybeStackBuffer<char, 1024ul>::SetLengthAndZeroTerminate(unsigned long) 1 0.0% 0.0% t node::LibuvStreamWrap::ReadStart()::$_1::__invoke(uv_handle_s*, unsigned long, uv_buf_t*) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(char const*, unsigned long), &(node::(anonymous namespace)::Parser::on_header_value(char const*, unsigned long))>::Raw(llhttp__internal_s, char const*, unsigned long) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(), &(node::(anonymous namespace)::Parser::on_message_begin())>::Raw(llhttp__internal_s) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::New(v8::FunctionCallbackInfov8::Value const&) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::MaybePause() 1 0.0% 0.0% t node::(anonymous namespace)::Parser::CreateHeaders() 1 0.0% 0.0% t _unwind_stack_from_table_index 1 0.0% 0.0% t _insert_node 1 0.0% 0.0% t __cxxabiv1::do_free(void*) 1 0.0% 0.0% t ___vfprintf 1 0.0% 0.0% t _ZNSt3__16vectorIdNS_9allocatorIdEEE21__push_back_slow_pathIRKdEEvOT 1 0.0% 0.0% t __ZN2v88internal22HandleScopeImplementer12EnterContextENS0_7ContextE 1 0.0% 0.0% t __ZN2v88internal14LookupIterator17PropertyOrElementEPNS0_7IsolateENS0_6HandleINS0_6ObjectEEENS4_INS0_4NameEEENS4_INS0_10JSReceiverEEENS1_13ConfigurationE 1 0.0% 0.0% t _ZN2v84base19TemplateHashMapImplIPvS2_NS0_26HashEqualityThenKeyMatcherIS2_PFbS2_S2_EEENS0_23DefaultAllocationPolicyEE14LookupOrInsertIZNS8_14LookupOrInsertERKS2_jS7_EUlvE_EEPNS0_20TemplateHashMapEntryIS2_S2_EESB_jRKT_S7 1 0.0% 0.0% T non-virtual thunk to node::LibuvStreamWrap::GetAsyncWrap() 1 0.0% 0.0% T node::TCPWrap::Bind6(v8::FunctionCallbackInfov8::Value const&) 1 0.0% 0.0% T node::NodePlatform::CallOnWorkerThread(std::__1::unique_ptr<v8::Task, std::__1::default_deletev8::Task >) 1 0.0% 0.0% T node::AsyncWrap::EmitAfter(node::Environment*, double) 1 0.0% 0.0% T _malloc 1 0.0% 0.0% T _mach_vm_allocate 1 0.0% 0.0% T _mach_msg_server_once 1 0.0% 0.0% T __os_nospin_lock_unlock 1 0.0% 0.0% T __ZNK2v88internal12RootIndexMap6LookupEmPNS0_9RootIndexE 1 0.0% 0.0% T __ZNK2v86String17IsExternalOneByteEv 1 0.0% 0.0% T __ZNK2v85Value6IsTrueEv 1 0.0% 0.0% T __ZNK2v85Value12IntegerValueENS_5LocalINS_7ContextEEE 1 0.0% 0.0% T __ZN2v88internal21PerIsolateAssertScopeILNS0_20PerIsolateAssertTypeE0ELb1EE9IsAllowedEPNS0_7IsolateE 1 0.0% 0.0% T __ZN2v88internal10ApiNatives17InstantiateObjectEPNS0_7IsolateENS0_6HandleINS0_18ObjectTemplateInfoEEENS4_INS0_10JSReceiverEEE 1 0.0% 0.0% T __ZN2v86Object32SetAlignedPointerInInternalFieldEiPv

[Summary]: ticks total nonlib name 712 15.8% 15.9% JavaScript 2361 52.4% 52.7% C++ 54 1.2% 1.2% GC 21 0.5% Shared libraries 1408 31.3% Unaccounted

[C++ entry points]: ticks cpp total name 1465 79.1% 32.5% T __ZN2v88internal10ClassScope28GetUnresolvedPrivateNameTailEv 37 2.0% 0.8% T node::StreamBase::Writev(v8::FunctionCallbackInfov8::Value const&) 35 1.9% 0.8% t _szone_malloc_should_clear 34 1.8% 0.8% T __ZN2v86Object3GetENS_5LocalINS_7ContextEEEj 28 1.5% 0.6% T __ZNK2v86String9WriteUtf8EPNS_7IsolateEPciPii 14 0.8% 0.3% T ___mach_stack_logging_enumerate_records 12 0.6% 0.3% t __ZN2v812_GLOBAL__N_114CallDepthScopeILb0EEC1EPNS_8internal7IsolateENS_5LocalINS_7ContextEEE 12 0.6% 0.3% T void node::StreamBase::JSMethod<&(node::StreamBase::Writev(v8::FunctionCallbackInfov8::Value const&))>(v8::FunctionCallbackInfov8::Value const&) 12 0.6% 0.3% T node::ParseEncoding(v8::Isolate*, v8::Localv8::Value, node::encoding) 12 0.6% 0.3% T ___malloc_init 10 0.5% 0.2% T node::StringBytes::StorageSize(v8::Isolate*, v8::Localv8::Value, node::encoding) 10 0.5% 0.2% T _vm_region_recurse_64 9 0.5% 0.2% t node::StreamBase::Write(uv_buf_t*, unsigned long, uv_stream_s*, v8::Localv8::Object) 9 0.5% 0.2% t _update_cache_for_file_streams 8 0.4% 0.2% T __ZNK2v85Value8ToStringENS_5LocalINS_7ContextEEE 7 0.4% 0.2% t __enlarge 7 0.4% 0.2% T __simple_dprintf 7 0.4% 0.2% T __ZN2v811HandleScope10InitializeEPNS_7IsolateE 6 0.3% 0.1% t _small_free_list_remove_ptr_no_clear 6 0.3% 0.1% T node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Localv8::Value, node::encoding, int*) 5 0.3% 0.1% t node::NodeArrayBufferAllocator::Free(void*, unsigned long) 5 0.3% 0.1% t node::MaybeStackBuffer<char, 1024ul>::AllocateSufficientStorage(unsigned long) 5 0.3% 0.1% T node::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value) 5 0.3% 0.1% T node::ParseEncoding(char const*, node::encoding) 5 0.3% 0.1% T node::LibuvStreamWrap::DoTryWrite(uv_buf_t**, unsigned long*) 5 0.3% 0.1% T node::Environment::GetNow() 5 0.3% 0.1% T _free 5 0.3% 0.1% T __ZNK2v86String12WriteOneByteEPNS_7IsolateEPhiii 5 0.3% 0.1% T __ZN2v87Integer15NewFromUnsignedEPNS_7IsolateEj 4 0.2% 0.1% t node::MaybeStackBuffer<uv_buf_t, 16ul>::AllocateSufficientStorage(unsigned long) 4 0.2% 0.1% t _free_small 4 0.2% 0.1% t _allocate_pages_securely 4 0.2% 0.1% t _allocate_pages 4 0.2% 0.1% T node::DTRACE_HTTP_SERVER_RESPONSE(v8::FunctionCallbackInfov8::Value const&) 4 0.2% 0.1% T node::DTRACE_HTTP_SERVER_REQUEST(v8::FunctionCallbackInfov8::Value const&) 3 0.2% 0.1% t node::MaybeStackBuffer<char, 1024ul>::SetLength(unsigned long) 3 0.2% 0.1% T non-virtual thunk to node::LibuvStreamWrap::DoTryWrite(uv_buf_t**, unsigned long*) 3 0.2% 0.1% T node::Buffer::HasInstance(v8::Localv8::Value) 3 0.2% 0.1% T __ZNK2v86String6LengthEv 3 0.2% 0.1% T __ZNK2v86String10Utf8LengthEPNS_7IsolateE 3 0.2% 0.1% T __ZNK2v85Value17IsArrayBufferViewEv 3 0.2% 0.1% T __ZNK2v85Array6LengthEv 3 0.2% 0.1% T __ZN2v87Isolate17GetCurrentContextEv 3 0.2% 0.1% T __ZN2v811HandleScopeD1Ev 3 0.2% 0.1% T __ZN2v811HandleScopeC1EPNS_7IsolateE 2 0.1% 0.0% t node::Buffer::(anonymous namespace)::ByteLengthUtf8(v8::FunctionCallbackInfov8::Value const&) 1 0.1% 0.0% t node::NodeArrayBufferAllocator::AllocateUninitialized(unsigned long) 1 0.1% 0.0% t node::MaybeStackBuffer<char, 1024ul>::SetLengthAndZeroTerminate(unsigned long) 1 0.1% 0.0% t _unwind_stack_from_table_index 1 0.1% 0.0% t _insert_node 1 0.1% 0.0% t __malloc_initialize 1 0.1% 0.0% t __ZN2v88internal6String7FlattenEPNS0_7IsolateENS0_6HandleIS1_EENS0_14AllocationTypeE 1 0.1% 0.0% T non-virtual thunk to node::LibuvStreamWrap::GetAsyncWrap() 1 0.1% 0.0% T _malloc 1 0.1% 0.0% T __ZNK2v86String17IsExternalOneByteEv 1 0.1% 0.0% T __ZNK2v85Value6IsTrueEv

[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 1.0% are not shown.

ticks parent name 1606 35.7% T __ZN2v88internal10ClassScope28GetUnresolvedPrivateNameTailEv 318 19.8% T __ZN2v88internal10ClassScope28GetUnresolvedPrivateNameTailEv 116 36.5% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 115 99.1% LazyCompile: *parserOnIncoming _http_server.js:662:26 115 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 42 13.2% LazyCompile: *_storeHeader http_outgoing.js:285:22 41 97.6% LazyCompile: *write _http_outgoing.js:564:16 41 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 40 97.6% LazyCompile: *parserOnIncoming _http_server.js:662:26 1 2.4% LazyCompile: *emit events.js:153:44 1 2.4% LazyCompile: *writeHead _http_server.js:234:19 1 100.0% LazyCompile: ~_implicitHeader http_server.js:229:68 1 100.0% LazyCompile: ~write _http_outgoing.js:564:16 35 11.0% LazyCompile: *Readable.read stream_readable.js:400:35 26 74.3% LazyCompile: *resume stream_readable.js:920:17 26 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 8 22.9% LazyCompile: *emitReadable _stream_readable.js:560:23 8 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 1 2.9% LazyCompile: *flow stream_readable.js:944:14 1 100.0% LazyCompile: ~resume _stream_readable.js:920:17 1 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 32 10.1% LazyCompile: *clearBuffer _stream_writable.js:498:21 32 100.0% LazyCompile: *assignSocket _http_server.js:203:62 31 96.9% LazyCompile: *resOnFinish _http_server.js:617:21 28 90.3% LazyCompile: *onFinish _http_outgoing.js:657:18 3 9.7% LazyCompile: *emit events.js:153:44 1 3.1% LazyCompile: ~resOnFinish _http_server.js:617:21 1 100.0% LazyCompile: *emit events.js:153:44 6 1.9% LazyCompile: ~emitBeforeScript internal/async_hooks.js:345:26 6 100.0% LazyCompile: ~processTicksAndRejections internal/process/task_queues.js:65:35 4 1.3% LazyCompile: ~parserOnIncoming _http_server.js:662:26 3 75.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 1 25.0% LazyCompile: ~parserOnHeadersComplete _http_common.js:71:33 4 1.3% LazyCompile: ~ /Users/bfarias/Documents/node/bench.js:3:54 3 75.0% LazyCompile: ~emit events.js:153:44 3 100.0% LazyCompile: ~parserOnIncoming _http_server.js:662:26 3 100.0% LazyCompile: ~parserOnHeadersComplete _http_common.js:71:33 1 25.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 1 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 4 1.3% LazyCompile: *parserOnIncoming _http_server.js:662:26 4 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 222 13.8% LazyCompile: *clearBuffer _stream_writable.js:498:21 221 99.5% LazyCompile: *assignSocket _http_server.js:203:62 221 100.0% LazyCompile: *resOnFinish _http_server.js:617:21 217 98.2% LazyCompile: *onFinish _http_outgoing.js:657:18 217 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 4 1.8% LazyCompile: *emit events.js:153:44 4 100.0% LazyCompile: ~onFinish _http_outgoing.js:657:18 100 6.2% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 58 3.6% LazyCompile: *assignSocket _http_server.js:203:62 58 100.0% LazyCompile: *resOnFinish _http_server.js:617:21 55 94.8% LazyCompile: *onFinish _http_outgoing.js:657:18 55 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 55 100.0% LazyCompile: *afterWrite _stream_writable.js:479:20 3 5.2% LazyCompile: *emit events.js:153:44 3 100.0% LazyCompile: ~onFinish _http_outgoing.js:657:18 3 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 47 2.9% LazyCompile: *parserOnIncoming _http_server.js:662:26 47 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 43 2.7% LazyCompile: *resOnFinish _http_server.js:617:21 40 93.0% LazyCompile: *onFinish _http_outgoing.js:657:18 40 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 40 100.0% LazyCompile: *afterWrite _stream_writable.js:479:20 40 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 3 7.0% LazyCompile: *emit events.js:153:44 3 100.0% LazyCompile: ~onFinish _http_outgoing.js:657:18 3 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 3 100.0% LazyCompile: *afterWrite _stream_writable.js:479:20 37 2.3% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 36 97.3% LazyCompile: *parserOnIncoming _http_server.js:662:26 36 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 1 2.7% LazyCompile: *emit events.js:153:44 1 100.0% LazyCompile: ~parserOnIncoming _http_server.js:662:26 1 100.0% LazyCompile: *parserOnHeadersComplete http_common.js:71:33 31 1.9% LazyCompile: *write _http_outgoing.js:564:16 31 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 30 96.8% LazyCompile: *parserOnIncoming _http_server.js:662:26 30 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 1 3.2% LazyCompile: *emit events.js:153:44 1 100.0% LazyCompile: ~parserOnIncoming _http_server.js:662:26 1 100.0% LazyCompile: *parserOnHeadersComplete http_common.js:71:33 28 1.7% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 21 1.3% LazyCompile: *resume _stream_readable.js:920:17 21 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 17 1.1% LazyCompile: *setHeader _http_outgoing.js:462:57 17 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 16 94.1% LazyCompile: *parserOnIncoming _http_server.js:662:26 16 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 1 5.9% LazyCompile: *emit events.js:153:44 1 100.0% LazyCompile: ~parserOnIncoming _http_server.js:662:26 1 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33

1408 31.3% UNKNOWN 1187 84.3% LazyCompile: *clearBuffer _stream_writable.js:498:21 1184 99.7% LazyCompile: *assignSocket _http_server.js:203:62 1184 100.0% LazyCompile: *resOnFinish _http_server.js:617:21 1149 97.0% LazyCompile: *onFinish _http_outgoing.js:657:18 1149 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 35 3.0% LazyCompile: *emit events.js:153:44 35 100.0% LazyCompile: ~onFinish _http_outgoing.js:657:18 123 8.7% LazyCompile: *Writable.uncork _stream_writable.js:311:37 123 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 121 98.4% LazyCompile: *parserOnIncoming _http_server.js:662:26 121 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 2 1.6% LazyCompile: *emit events.js:153:44 2 100.0% LazyCompile: ~parserOnIncoming _http_server.js:662:26 2 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33

 65    1.4%  LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35

 51    1.1%  LazyCompile: *onwrite _stream_writable.js:445:17
 40   78.4%    LazyCompile: *clearBuffer _stream_writable.js:498:21
 40  100.0%      LazyCompile: *assignSocket _http_server.js:203:62
 40  100.0%        LazyCompile: *resOnFinish _http_server.js:617:21
 38   95.0%          LazyCompile: *onFinish _http_outgoing.js:657:18
 38  100.0%            LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  2    5.0%          LazyCompile: *emit events.js:153:44
  2  100.0%            LazyCompile: ~onFinish _http_outgoing.js:657:18
  7   13.7%    LazyCompile: *assignSocket _http_server.js:203:62
  7  100.0%      LazyCompile: *resOnFinish _http_server.js:617:21
  6   85.7%        LazyCompile: *onFinish _http_outgoing.js:657:18
  6  100.0%          LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  6  100.0%            LazyCompile: *afterWrite _stream_writable.js:479:20
  1   14.3%        LazyCompile: *emit events.js:153:44
  1  100.0%          LazyCompile: ~onFinish _http_outgoing.js:657:18
  1  100.0%            LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  3    5.9%    LazyCompile: *afterWriteDispatched internal/stream_base_commons.js:141:30
  3  100.0%      LazyCompile: *Writable.uncork _stream_writable.js:311:37
  3  100.0%        LazyCompile: *<anonymous> /Users/bfarias/Documents/node/bench.js:3:54
  3  100.0%          LazyCompile: *parserOnIncoming _http_server.js:662:26
  3  100.0%            LazyCompile: *parserOnHeadersComplete _http_common.js:71:33
  1    2.0%    LazyCompile: *Writable.uncork _stream_writable.js:311:37
  1  100.0%      LazyCompile: *<anonymous> /Users/bfarias/Documents/node/bench.js:3:54
  1  100.0%        LazyCompile: *parserOnIncoming _http_server.js:662:26
  1  100.0%          LazyCompile: *parserOnHeadersComplete _http_common.js:71:33

 46    1.0%  t _szone_malloc_should_clear
 32   69.6%    LazyCompile: *clearBuffer _stream_writable.js:498:21
 32  100.0%      LazyCompile: *assignSocket _http_server.js:203:62
 32  100.0%        LazyCompile: *resOnFinish _http_server.js:617:21
 30   93.8%          LazyCompile: *onFinish _http_outgoing.js:657:18
 30  100.0%            LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  2    6.3%          LazyCompile: *emit events.js:153:44
  2  100.0%            LazyCompile: ~onFinish _http_outgoing.js:657:18
  8   17.4%    T __ZN2v88internal10ClassScope28GetUnresolvedPrivateNameTailEv
  7   87.5%      LazyCompile: *<anonymous> /Users/bfarias/Documents/node/bench.js:3:54
  6   85.7%        LazyCompile: *parserOnIncoming _http_server.js:662:26
  6  100.0%          LazyCompile: *parserOnHeadersComplete _http_common.js:71:33
  1   14.3%        LazyCompile: ~emit events.js:153:44
  1  100.0%          LazyCompile: ~parserOnIncoming _http_server.js:662:26
  1  100.0%            LazyCompile: ~parserOnHeadersComplete _http_common.js:71:33
  1   12.5%      LazyCompile: ~errnoException internal/errors.js:446:24
  1  100.0%        LazyCompile: ~afterWriteDispatched internal/stream_base_commons.js:141:30
  1  100.0%          LazyCompile: ~writevGeneric internal/stream_base_commons.js:107:23
  1  100.0%            LazyCompile: ~Socket._writeGeneric net.js:672:42
  3    6.5%    LazyCompile: *Writable.uncork _stream_writable.js:311:37
  3  100.0%      LazyCompile: *<anonymous> /Users/bfarias/Documents/node/bench.js:3:54
  3  100.0%        LazyCompile: *parserOnIncoming _http_server.js:662:26
  3  100.0%          LazyCompile: *parserOnHeadersComplete _http_common.js:71:33

 46    1.0%  LazyCompile: *resOnFinish _http_server.js:617:21
 42   91.3%    LazyCompile: *onFinish _http_outgoing.js:657:18
 42  100.0%      LazyCompile: *onCorkedFinish _stream_writable.js:672:24
 42  100.0%        LazyCompile: *afterWrite _stream_writable.js:479:20
 42  100.0%          LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35
  3    6.5%    LazyCompile: *emit events.js:153:44
  3  100.0%      LazyCompile: ~onFinish _http_outgoing.js:657:18
  3  100.0%        LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  3  100.0%          LazyCompile: *afterWrite _stream_writable.js:479:20
  3  100.0%            LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35
  1    2.2%    LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  1  100.0%      LazyCompile: *afterWrite _stream_writable.js:479:20
  1  100.0%        LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35

Prof without PR:

$ node --prof-process without.log Code move event for unknown code: 0x75c6bc4ab0 Code move event for unknown code: 0x75c36ebd00 Code move event for unknown code: 0x75c36ebf58 Code move event for unknown code: 0x75c6bc7fc8 Code move event for unknown code: 0x75c36ec648 Code move event for unknown code: 0x75c6bc8190 Code move event for unknown code: 0x75c36f8f28 Code move event for unknown code: 0x75c36f9188 Code move event for unknown code: 0x75a1ad2b98 Code move event for unknown code: 0x75c6bccd40 Code move event for unknown code: 0x75c6bcd318 Code move event for unknown code: 0x75c6bcd930 Code move event for unknown code: 0x75c6bce3e0 Code move event for unknown code: 0x75c6bce570 Code move event for unknown code: 0x75a1ad63c8 Code move event for unknown code: 0x75a1ad6770 Code move event for unknown code: 0x75a1ad6c78 Code move event for unknown code: 0x75a1adbdf0 Code move event for unknown code: 0x75a1adc618 Code move event for unknown code: 0x75a1adc8c8 Code move event for unknown code: 0x75a1adcff0 Code move event for unknown code: 0x75a1addba0 Code move event for unknown code: 0x75a1ade5d0 Code move event for unknown code: 0x75a1ade8f8 Code move event for unknown code: 0x75a1adea98 Code move event for unknown code: 0x75a1adec00 Code move event for unknown code: 0x75a1aded58 Code move event for unknown code: 0x75a1adf0f0 Code move event for unknown code: 0x7552b517b0 Code move event for unknown code: 0x7552b51f58 Code move event for unknown code: 0x7552b526c0 Code move event for unknown code: 0x7552b53910 Code move event for unknown code: 0x7552b53a80 Code move event for unknown code: 0x7552b53da0 Code move event for unknown code: 0x7552b540f0 Code move event for unknown code: 0x7552b547d8 Code move event for unknown code: 0x7552b54f30 Code move event for unknown code: 0x7552b55240 Code move event for unknown code: 0x7552b557a0 Code move event for unknown code: 0x7552b55a60 Code move event for unknown code: 0x7552b55d98 Code move event for unknown code: 0x7552b55f68 Code move event for unknown code: 0x7552b565d0 Code move event for unknown code: 0x7552b56a08 Code move event for unknown code: 0x7552b57490 Code move event for unknown code: 0x7552b57688 Code move event for unknown code: 0x7552b577c0 Code move event for unknown code: 0x7552b57b28 Code move event for unknown code: 0x7552b58740 Code move event for unknown code: 0x7552b58988 Code move event for unknown code: 0x7552b58b08 Code move event for unknown code: 0x7552b58cc8 Code move event for unknown code: 0x7552b58ec0 Code move event for unknown code: 0x7552b590a8 Code move event for unknown code: 0x7552b592b8 Code move event for unknown code: 0x7552b59460 Code move event for unknown code: 0x7552b59678 Code move event for unknown code: 0x7552b59848 Code move event for unknown code: 0x7552b59a50 Code move event for unknown code: 0x7552b59dd0 Code move event for unknown code: 0x7552b5a008 Code move event for unknown code: 0x7552b5a220 Code move event for unknown code: 0x7552b5a508 Code move event for unknown code: 0x7552b5a810 Code move event for unknown code: 0x7552b5ac10 Code move event for unknown code: 0x7552b5b0a0 Code move event for unknown code: 0x7552b5b2b8 Code move event for unknown code: 0x7552b5b710 Code move event for unknown code: 0x7552b5b9a0 Code move event for unknown code: 0x7552b5bed8 Code move event for unknown code: 0x7552b5c100 Code move event for unknown code: 0x7552b5c730 Code move event for unknown code: 0x7552b5c8a8 Code move event for unknown code: 0x7552b5c9f8 Code move event for unknown code: 0x7552b5cba8 Code move event for unknown code: 0x7552b5ce20 Code move event for unknown code: 0x7552b5d2b8 Code move event for unknown code: 0x7552b5d7d8 Code move event for unknown code: 0x7552b5da70 Code move event for unknown code: 0x7552b5dc90 Code move event for unknown code: 0x7552b5de98 Code move event for unknown code: 0x7552b5e018 Code move event for unknown code: 0x7552b5e1f8 Code move event for unknown code: 0x7552b5e468 Code move event for unknown code: 0x7552b5e5f8 Code move event for unknown code: 0x7552b5e860 Code move event for unknown code: 0x7552b5eb90 Code move event for unknown code: 0x7552b5ee50 Code move event for unknown code: 0x7552b5f790 Code move event for unknown code: 0x7552b5f9f0 Code move event for unknown code: 0x7552b5fba8 Code move event for unknown code: 0x7552b5ff58 Code move event for unknown code: 0x7552b60778 Code move event for unknown code: 0x7552b60e70 Code move event for unknown code: 0x7552b619c0 Code move event for unknown code: 0x7552b61d08 Code move event for unknown code: 0x7552b61ee0 Code move event for unknown code: 0x7552b62230 Code move event for unknown code: 0x75c6be90c0 Code move event for unknown code: 0x75c6be9230 Code move event for unknown code: 0x75c6be93f0 Code move event for unknown code: 0x75c6bebb60 Code move event for unknown code: 0x75c6bebd00 Code move event for unknown code: 0x75c6bebfe0 Code move event for unknown code: 0x75a1af0ff8 Code move event for unknown code: 0x75a1af1878 Code move event for unknown code: 0x75a1af1e28 Code move event for unknown code: 0x75a1af2500 Code move event for unknown code: 0x75c6bef1b8 Code move event for unknown code: 0x75a1af27a8 Code move event for unknown code: 0x75c6befa48 Code move event for unknown code: 0x75a1af2c80 Code move event for unknown code: 0x75c6bf0788 Code move event for unknown code: 0x75a1af2df0 Code move event for unknown code: 0x75c6bf0ac0 Code move event for unknown code: 0x75a1af2f50 Code move event for unknown code: 0x75c6bf0c20 Code move event for unknown code: 0x75a1af30e8 Code move event for unknown code: 0x75c6bf0e38 Code move event for unknown code: 0x75a1af3360 Code move event for unknown code: 0x75c6bf13b8 Code move event for unknown code: 0x75a1af34d8 Code move event for unknown code: 0x75c6bf15d0 Code move event for unknown code: 0x75a1af3660 Code move event for unknown code: 0x75c6bf17b8 Code move event for unknown code: 0x75a1af37d8 Code move event for unknown code: 0x75c6bf19d0 Code move event for unknown code: 0x75a1af3a10 Code move event for unknown code: 0x75c6bf1c28 Code move event for unknown code: 0x75a1af3ba8 Code move event for unknown code: 0x75c6bf1e90 Code move event for unknown code: 0x75a1af3de8 Code move event for unknown code: 0x75a1af4178 Code move event for unknown code: 0x75a1af4378 Code move event for unknown code: 0x75c6bf2758 Code move event for unknown code: 0x75a1af4650 Code move event for unknown code: 0x75c6bf2958 Code move event for unknown code: 0x75a1af4848 Code move event for unknown code: 0x75c6bf2d08 Code move event for unknown code: 0x75a1af4a88 Code move event for unknown code: 0x75c6bf3338 Code move event for unknown code: 0x75a1af4df0 Code move event for unknown code: 0x75c6bf3510 Code move event for unknown code: 0x75a1af4f80 Code move event for unknown code: 0x75c6bf3850 Code move event for unknown code: 0x75a1af50e8 Code move event for unknown code: 0x75c6bf3b18 Code move event for unknown code: 0x75a1af52d8 Code move event for unknown code: 0x75a1af57e8 Code move event for unknown code: 0x75a1af5dd8 Code move event for unknown code: 0x75c6bf3e68 Code move event for unknown code: 0x75c6bf41a8 Code move event for unknown code: 0x75c6bf4750 Code move event for unknown code: 0x75c6bf4ae0 Code move event for unknown code: 0x75c6bf4dc8 Code move event for unknown code: 0x75c6bf5058 Code move event for unknown code: 0x75c6bf52d0 Code move event for unknown code: 0x75c6bf55d0 Code move event for unknown code: 0x75c6bf5af0 Code move event for unknown code: 0x75c6bf6298 Code move event for unknown code: 0x75c6bf6a60 Code move event for unknown code: 0x75c6bf72c0 Code move event for unknown code: 0x75c6bf74b0 Code move event for unknown code: 0x7552b7f448 Statistical profiling result from without.log, (4455 ticks, 1311 unaccounted, 0 excluded).

[Shared libraries]: ticks total nonlib name 19 0.4% /usr/lib/system/libsystem_pthread.dylib 8 0.2% /usr/lib/system/libsystem_platform.dylib 3 0.1% /usr/lib/system/libsystem_malloc.dylib

[JavaScript]: ticks total nonlib name 61 1.4% 1.4% LazyCompile: *onwrite _stream_writable.js:445:17 49 1.1% 1.1% LazyCompile: *resOnFinish _http_server.js:617:21 49 1.1% 1.1% LazyCompile: *clearBuffer _stream_writable.js:498:21 46 1.0% 1.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 41 0.9% 0.9% LazyCompile: *assignSocket _http_server.js:203:62 40 0.9% 0.9% LazyCompile: *Readable.read _stream_readable.js:400:35 38 0.9% 0.9% LazyCompile: *parserOnHeadersComplete http_common.js:71:33 30 0.7% 0.7% LazyCompile: *write _http_outgoing.js:564:16 25 0.6% 0.6% LazyCompile: *parserOnIncoming _http_server.js:662:26 24 0.5% 0.5% LazyCompile: *socketListenerWrap _http_server.js:780:37 23 0.5% 0.5% LazyCompile: *_storeHeader _http_outgoing.js:285:22 22 0.5% 0.5% LazyCompile: *resetHeadersTimeoutOnReqEnd http_server.js:796:37 21 0.5% 0.5% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 19 0.4% 0.4% LazyCompile: *resume _stream_readable.js:920:17 17 0.4% 0.4% LazyCompile: *setHeader _http_outgoing.js:462:57 16 0.4% 0.4% LazyCompile: *nextTick internal/process/task_queues.js:109:18 16 0.4% 0.4% LazyCompile: *endReadableNT _stream_readable.js:1124:23 14 0.3% 0.3% RegExp: [^\t\x20-\x7e\x80-\xff] 14 0.3% 0.3% LazyCompile: *readableAddChunk _stream_readable.js:224:26 13 0.3% 0.3% LazyCompile: *ReadableState _stream_readable.js:72:23 12 0.3% 0.3% LazyCompile: * internal/util/debuglog.js:57:18 11 0.2% 0.2% LazyCompile: *afterWrite _stream_writable.js:479:20 10 0.2% 0.2% LazyCompile: *_finish _http_server.js:169:52 9 0.2% 0.2% LazyCompile: *onFinish _http_outgoing.js:657:18 9 0.2% 0.2% LazyCompile: onCorkedFinish stream_writable.js:672:24 8 0.2% 0.2% RegExp: ^[^`a-zA-Z-0-9!#$%&'+.|~]+$ 8 0.2% 0.2% LazyCompile: *parserOnMessageComplete _http_common.js:135:33 7 0.2% 0.2% LazyCompile: *updateOutgoingData _http_server.js:445:28 7 0.2% 0.2% LazyCompile: *matchKnownFields _http_incoming.js:139:26 7 0.2% 0.2% LazyCompile: *emit events.js:153:44 6 0.1% 0.1% LazyCompile: *Readable.on _stream_readable.js:815:33 5 0.1% 0.1% LazyCompile: *setStreamTimeout internal/stream_base_commons.js:202:26 5 0.1% 0.1% LazyCompile: *ServerResponse http_server.js:145:24 4 0.1% 0.1% LazyCompile: *removeListener events.js:320:28 4 0.1% 0.1% LazyCompile: *emitReadable _stream_readable.js:560:23 4 0.1% 0.1% LazyCompile: *debug internal/util/debuglog.js:45:35 4 0.1% 0.1% LazyCompile: *byteLength buffer.js:488:20 4 0.1% 0.1% LazyCompile: *_unrefTimer net.js:344:52 4 0.1% 0.1% LazyCompile: *Writable.uncork _stream_writable.js:311:37 3 0.1% 0.1% LazyCompile: *insert internal/timers.js:305:16 3 0.1% 0.1% LazyCompile: *Readable.removeAllListeners _stream_readable.js:861:49 2 0.0% 0.0% LazyCompile: *removeAllListeners events.js:376:32 2 0.0% 0.0% LazyCompile: *nop _stream_writable.js:54:13 2 0.0% 0.0% LazyCompile: *emitCloseNT _http_server.js:655:21 2 0.0% 0.0% LazyCompile: *Writable.write _stream_writable.js:275:36 1 0.0% 0.0% LazyCompile: *writeHead _http_server.js:234:19 1 0.0% 0.0% LazyCompile: *unenroll timers.js:62:18 1 0.0% 0.0% LazyCompile: *remove internal/linkedlist.js:15:16 1 0.0% 0.0% LazyCompile: *onParserExecuteCommon _http_server.js:568:31 1 0.0% 0.0% LazyCompile: *onParserExecute _http_server.js:525:25 1 0.0% 0.0% LazyCompile: *afterWriteDispatched internal/stream_base_commons.js:141:30 1 0.0% 0.0% LazyCompile: *addListener events.js:276:58 1 0.0% 0.0% LazyCompile: *Writable.cork _stream_writable.js:307:35

[C++]: ticks total nonlib name 1612 36.2% 36.4% T __ZN2v88internal10ClassScope28ResolvePrivateNamesPartiallyEv 46 1.0% 1.0% t _szone_malloc_should_clear 38 0.9% 0.9% T __ZN2v86Object3GetENS_5LocalINS_7ContextEEEj 32 0.7% 0.7% T node::StreamBase::Writev(v8::FunctionCallbackInfov8::Value const&) 27 0.6% 0.6% T void node::StreamBase::JSMethod<&(node::StreamBase::Writev(v8::FunctionCallbackInfov8::Value const&))>(v8::FunctionCallbackInfov8::Value const&) 27 0.6% 0.6% T _ZN2v88Function4CallENS_5LocalINS_7ContextEEENS1_INS_5ValueEEEiPS5 25 0.6% 0.6% T _munmap 24 0.5% 0.5% T __ZNK2v86String9WriteUtf8EPNS_7IsolateEPciPii 23 0.5% 0.5% T _mach_msg 20 0.4% 0.5% T node::native_module::NativeModuleEnv::CompileFunction(v8::FunctionCallbackInfov8::Value const&) 16 0.4% 0.4% t node::LibuvStreamWrap::Initialize(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Context, void*)::$_0::__invoke(v8::FunctionCallbackInfov8::Value const&) 16 0.4% 0.4% T ___channel_get_opt 15 0.3% 0.3% T ___mach_stack_logging_enumerate_records 13 0.3% 0.3% t __enlarge 13 0.3% 0.3% t __ZN2v88internal6String7FlattenEPNS0_7IsolateENS0_6HandleIS1_EENS0_14AllocationTypeE 13 0.3% 0.3% T _vm_region_recurse_64 12 0.3% 0.3% t node::StreamBase::Write(uv_buf_t*, unsigned long, uv_stream_s*, v8::Localv8::Object) 12 0.3% 0.3% T node::LibuvStreamWrap::DoTryWrite(uv_buf_t**, unsigned long*) 12 0.3% 0.3% T __ZN2v87Isolate17GetCurrentContextEv 12 0.3% 0.3% T __ZN2v811HandleScope10InitializeEPNS_7IsolateE 10 0.2% 0.2% t __ZN2v812_GLOBAL__N_114CallDepthScopeILb0EEC1EPNS_8internal7IsolateENS_5LocalINS_7ContextEEE 9 0.2% 0.2% t node::NodeArrayBufferAllocator::Free(void*, unsigned long) 9 0.2% 0.2% T node::InternalCallbackScope::InternalCallbackScope(node::Environment*, v8::Localv8::Object, node::async_context const&, node::InternalCallbackScope::ResourceExpectation) 9 0.2% 0.2% T node::AsyncWrap::EmitTraceEventAfter(node::AsyncWrap::ProviderType, double) 9 0.2% 0.2% T _malloc 9 0.2% 0.2% T ___carbon_delete 8 0.2% 0.2% t _small_free_list_remove_ptr_no_clear 8 0.2% 0.2% t __cxxabiv1::do_free(void*) 8 0.2% 0.2% T node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Localv8::Value, node::encoding, int*) 8 0.2% 0.2% T node::ParseEncoding(v8::Isolate*, v8::Localv8::Value, node::encoding) 8 0.2% 0.2% T node::InternalMakeCallback(node::Environment*, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value, node::async_context) 8 0.2% 0.2% T node::Environment::GetNow() 8 0.2% 0.2% T __ZNK2v85Value10IsFunctionEv 7 0.2% 0.2% t node::(anonymous namespace)::StringPtr::Reset() 7 0.2% 0.2% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::*)(), &(node::(anonymous namespace)::Parser::on_headers_complete())>::Raw(llhttp__internal_s) 7 0.2% 0.2% T node::StringBytes::StorageSize(v8::Isolate*, v8::Localv8::Value, node::encoding) 7 0.2% 0.2% T node::InternalCallbackScope::Close() 7 0.2% 0.2% T __ZNK2v85Value8ToStringENS_5LocalINS_7ContextEEE 7 0.2% 0.2% T __ZN2v85Array3NewEPNS_7IsolateEPNS_5LocalINS_5ValueEEEm 6 0.1% 0.1% t __os_nospin_lock_unlock_slow 6 0.1% 0.1% T node::Emit(node::Environment*, double, node::AsyncHooks::Fields, v8::Localv8::Function) 6 0.1% 0.1% T _free 6 0.1% 0.1% T __ZNK2v86String10Utf8LengthEPNS_7IsolateE 5 0.1% 0.1% t _update_cache_for_file_streams 5 0.1% 0.1% t _allocate_pages_securely 5 0.1% 0.1% t __ZN2v812_GLOBAL__N_114CallDepthScopeILb1EEC1EPNS_8internal7IsolateENS_5LocalINS_7ContextEEE 5 0.1% 0.1% T non-virtual thunk to node::LibuvStreamWrap::IsAlive() 5 0.1% 0.1% T node::ParseEncoding(char const*, node::encoding) 5 0.1% 0.1% T node::DTRACE_HTTP_SERVER_REQUEST(v8::FunctionCallbackInfov8::Value const&) 5 0.1% 0.1% T node::Buffer::HasInstance(v8::Localv8::Value) 5 0.1% 0.1% T node::AsyncWrap::MakeCallback(v8::Localv8::Function, int, v8::Localv8::Value) 5 0.1% 0.1% T __ZNK2v86String6LengthEv 5 0.1% 0.1% T __ZNK2v85Value17IsArrayBufferViewEv 5 0.1% 0.1% T __ZN2v86String14NewFromOneByteEPNS_7IsolateEPKhNS_13NewStringTypeEi 5 0.1% 0.1% T __ZN2v811HandleScopeC1EPNS_7IsolateE 4 0.1% 0.1% t node::(anonymous namespace)::StringPtr::Update(char const, unsigned long) 4 0.1% 0.1% t node::(anonymous namespace)::GetLibuvNow(v8::FunctionCallbackInfov8::Value const&) 4 0.1% 0.1% T node::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value) 4 0.1% 0.1% T node::AsyncWrap::EmitTraceEventBefore() 4 0.1% 0.1% T _mprotect 4 0.1% 0.1% T __simple_dprintf 4 0.1% 0.1% T ___malloc_init 4 0.1% 0.1% T ___mach_stack_logging_uniquing_table_read_stack 3 0.1% 0.1% t std::__1::__function::__func<node::(anonymous namespace)::Parser::OnStreamRead(long, uv_buf_t const&)::'lambda'(), std::__1::allocator<node::(anonymous namespace)::Parser::OnStreamRead(long, uv_buf_t const&)::'lambda'()>, void ()>::operator()() 3 0.1% 0.1% t node::MaybeStackBuffer<char, 1024ul>::SetLengthAndZeroTerminate(unsigned long) 3 0.1% 0.1% t node::MaybeStackBuffer<char, 1024ul>::SetLength(unsigned long) 3 0.1% 0.1% t node::MaybeStackBuffer<char, 1024ul>::AllocateSufficientStorage(unsigned long) 3 0.1% 0.1% t node::Buffer::(anonymous namespace)::ByteLengthUtf8(v8::FunctionCallbackInfov8::Value const&) 3 0.1% 0.1% t node::AsyncHooks::pop_async_id(double) 3 0.1% 0.1% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(char const*, unsigned long), &(node::(anonymous namespace)::Parser::on_url(char const*, unsigned long))>::Raw(llhttp__internal_s, char const*, unsigned long) 3 0.1% 0.1% t __malloc_initialize 3 0.1% 0.1% T node::TTYWrap::New(v8::FunctionCallbackInfov8::Value const&) 3 0.1% 0.1% T node::LibuvStreamWrap::OnUvAlloc(unsigned long, uv_buf_t*) 3 0.1% 0.1% T __ZN2v88internal25FunctionCallbackArgumentsC1EPNS0_7IsolateENS0_6ObjectENS0_10HeapObjectES4_S5_Pmi 3 0.1% 0.1% T __ZN2v87Integer3NewEPNS_7IsolateEi 3 0.1% 0.1% T __ZN2v811HandleScopeD1Ev 2 0.0% 0.0% t node::LibuvStreamWrap::ReadStart()::$_1::__invoke(uv_handle_s*, unsigned long, uv_buf_t*) 2 0.0% 0.0% t node::(anonymous namespace)::Parser::Execute(char const*, unsigned long) 2 0.0% 0.0% t node::(anonymous namespace)::Parser::CreateHeaders() 2 0.0% 0.0% t _unwind_stack_from_table_index 2 0.0% 0.0% t _allocate_pages 2 0.0% 0.0% t __ZN2v88internal12_GLOBAL__N_124ProbeInstantiationsCacheEPNS0_7IsolateEiNS1_11CachingModeE 2 0.0% 0.0% T node::binding::GetInternalBinding(v8::FunctionCallbackInfov8::Value const&) 2 0.0% 0.0% T node::AsyncWrap::EmitAfter(node::Environment*, double) 2 0.0% 0.0% T _mach_vm_purgable_control 2 0.0% 0.0% T _guarded_open_np 2 0.0% 0.0% T __ZNK2v86String12WriteOneByteEPNS_7IsolateEPhiii 2 0.0% 0.0% T __ZNK2v85Value6IsTrueEv 2 0.0% 0.0% T __ZN2v88internal10ApiNatives17InstantiateObjectEPNS0_7IsolateENS0_6HandleINS0_18ObjectTemplateInfoEEENS4_INS0_10JSReceiverEEE 2 0.0% 0.0% T __ZN2v87Integer15NewFromUnsignedEPNS_7IsolateEj 1 0.0% 0.0% t void std::__1::__init_pat(std::__1::money_base::pattern&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&, bool, char, char, char, char) 1 0.0% 0.0% t non-virtual thunk to node::(anonymous namespace)::Parser::OnStreamAlloc(unsigned long) 1 0.0% 0.0% t node::TaskQueuenode::DelayedTask::Push(std::__1::unique_ptr<node::DelayedTask, std::__1::default_deletenode::DelayedTask >) 1 0.0% 0.0% t node::NodeArrayBufferAllocator::AllocateUninitialized(unsigned long) 1 0.0% 0.0% t node::MaybeStackBuffer<uv_buf_t, 16ul>::AllocateSufficientStorage(unsigned long) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(char const*, unsigned long), &(node::(anonymous namespace)::Parser::on_header_value(char const*, unsigned long))>::Raw(llhttp__internal_s, char const*, unsigned long) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(char const*, unsigned long), &(node::(anonymous namespace)::Parser::on_header_field(char const*, unsigned long))>::Raw(llhttp__internal_s, char const*, unsigned long) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::Proxy<int (node::(anonymous namespace)::Parser::)(), &(node::(anonymous namespace)::Parser::on_message_begin())>::Raw(llhttp__internal_s) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::OnStreamRead(long, uv_buf_t const&) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::OnStreamAlloc(unsigned long) 1 0.0% 0.0% t node::(anonymous namespace)::Parser::MaybePause() 1 0.0% 0.0% t _free_small 1 0.0% 0.0% t __read_images 1 0.0% 0.0% t __os_nospin_lock_lock_slow 1 0.0% 0.0% t ___CFNumberGetTypeID_block_invoke 1 0.0% 0.0% t __ZN2v88internal22HandleScopeImplementer12EnterContextENS0_7ContextE 1 0.0% 0.0% T std::__1::basic_istream<wchar_t, std::__1::char_traits >::get(wchar_t&) 1 0.0% 0.0% T non-virtual thunk to node::LibuvStreamWrap::GetAsyncWrap() 1 0.0% 0.0% T non-virtual thunk to node::LibuvStreamWrap::DoTryWrite(uv_buf_t**, unsigned long*) 1 0.0% 0.0% T node::contextify::ContextifyContext::CompileFunction(v8::FunctionCallbackInfov8::Value const&) 1 0.0% 0.0% T node::NodePlatform::CallOnWorkerThread(std::__1::unique_ptr<v8::Task, std::__1::default_deletev8::Task >) 1 0.0% 0.0% T node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) 1 0.0% 0.0% T node::DTRACE_HTTP_SERVER_RESPONSE(v8::FunctionCallbackInfov8::Value const&) 1 0.0% 0.0% T _fprintf 1 0.0% 0.0% T __simple_vsprintf 1 0.0% 0.0% T __ZNK2v88internal12RootIndexMap6LookupEmPNS0_9RootIndexE 1 0.0% 0.0% T __ZNK2v88Function29NewInstanceWithSideEffectTypeENS_5LocalINS_7ContextEEEiPNS1_INS_5ValueEEENS_14SideEffectTypeE 1 0.0% 0.0% T __ZNK2v85Value8IsObjectEv 1 0.0% 0.0% T __ZNK2v85Value7IsArrayEv 1 0.0% 0.0% T __ZNK2v85Value12IntegerValueENS_5LocalINS_7ContextEEE 1 0.0% 0.0% T __ZNK2v85Array6LengthEv 1 0.0% 0.0% T __ZN2v88internal9Accessors23FunctionPrototypeGetterENS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEE 1 0.0% 0.0% T __ZN2v88internal21PerIsolateAssertScopeILNS0_20PerIsolateAssertTypeE1ELb0EE9IsAllowedEPNS0_7IsolateE 1 0.0% 0.0% T __ZN2v88internal21PerIsolateAssertScopeILNS0_20PerIsolateAssertTypeE0ELb1EE9IsAllowedEPNS0_7IsolateE 1 0.0% 0.0% T __ZN2v88internal13VirtualMemory14SetPermissionsEmmNS_13PageAllocator10PermissionE 1 0.0% 0.0% T __ZN2v88internal12ArrayLiteral17InitDepthAndFlagsEv 1 0.0% 0.0% T __ZN2v87Isolate9InContextEv 1 0.0% 0.0% T __ZN2v87Isolate10GetCurrentEv 1 0.0% 0.0% T __ZN2v87Context5EnterEv 1 0.0% 0.0% T __ZN2v87Context4ExitEv 1 0.0% 0.0% T __ZN2v87Context29GetNumberOfEmbedderDataFieldsEv 1 0.0% 0.0% T __CFExecutableLinkedOnOrAfter

[Summary]: ticks total nonlib name 728 16.3% 16.5% JavaScript 2386 53.6% 53.9% C++ 88 2.0% 2.0% GC 30 0.7% Shared libraries 1311 29.4% Unaccounted

[C++ entry points]: ticks cpp total name 1477 80.6% 33.2% T __ZN2v88internal10ClassScope28ResolvePrivateNamesPartiallyEv 32 1.7% 0.7% T node::StreamBase::Writev(v8::FunctionCallbackInfov8::Value const&) 30 1.6% 0.7% t _szone_malloc_should_clear 25 1.4% 0.6% T __ZN2v86Object3GetENS_5LocalINS_7ContextEEEj 24 1.3% 0.5% T __ZNK2v86String9WriteUtf8EPNS_7IsolateEPciPii 14 0.8% 0.3% T ___mach_stack_logging_enumerate_records 13 0.7% 0.3% T void node::StreamBase::JSMethod<&(node::StreamBase::Writev(v8::FunctionCallbackInfov8::Value const&))>(v8::FunctionCallbackInfov8::Value const&) 13 0.7% 0.3% T _vm_region_recurse_64 12 0.7% 0.3% t node::StreamBase::Write(uv_buf_t*, unsigned long, uv_stream_s*, v8::Localv8::Object) 12 0.7% 0.3% T node::LibuvStreamWrap::DoTryWrite(uv_buf_t**, unsigned long*) 10 0.5% 0.2% T __ZN2v87Isolate17GetCurrentContextEv 9 0.5% 0.2% t node::NodeArrayBufferAllocator::Free(void*, unsigned long) 8 0.4% 0.2% T node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Localv8::Value, node::encoding, int*) 8 0.4% 0.2% T node::ParseEncoding(v8::Isolate*, v8::Localv8::Value, node::encoding) 8 0.4% 0.2% T node::Environment::GetNow() 7 0.4% 0.2% t __ZN2v812_GLOBAL__N_114CallDepthScopeILb0EEC1EPNS_8internal7IsolateENS_5LocalINS_7ContextEEE 7 0.4% 0.2% T node::StringBytes::StorageSize(v8::Isolate*, v8::Localv8::Value, node::encoding) 7 0.4% 0.2% T __ZNK2v85Value8ToStringENS_5LocalINS_7ContextEEE 7 0.4% 0.2% T __ZN2v811HandleScope10InitializeEPNS_7IsolateE 6 0.3% 0.1% T __ZNK2v86String10Utf8LengthEPNS_7IsolateE 5 0.3% 0.1% t _update_cache_for_file_streams 5 0.3% 0.1% t __enlarge 5 0.3% 0.1% T non-virtual thunk to node::LibuvStreamWrap::IsAlive() 5 0.3% 0.1% T node::ParseEncoding(char const*, node::encoding) 5 0.3% 0.1% T node::DTRACE_HTTP_SERVER_REQUEST(v8::FunctionCallbackInfov8::Value const&) 5 0.3% 0.1% T node::Buffer::HasInstance(v8::Localv8::Value) 5 0.3% 0.1% T _free 5 0.3% 0.1% T __ZNK2v86String6LengthEv 5 0.3% 0.1% T __ZNK2v85Value17IsArrayBufferViewEv 4 0.2% 0.1% T node::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value) 3 0.2% 0.1% t node::MaybeStackBuffer<char, 1024ul>::SetLengthAndZeroTerminate(unsigned long) 3 0.2% 0.1% t node::MaybeStackBuffer<char, 1024ul>::SetLength(unsigned long) 3 0.2% 0.1% t node::MaybeStackBuffer<char, 1024ul>::AllocateSufficientStorage(unsigned long) 3 0.2% 0.1% t node::(anonymous namespace)::GetLibuvNow(v8::FunctionCallbackInfov8::Value const&) 3 0.2% 0.1% t _small_free_list_remove_ptr_no_clear 3 0.2% 0.1% t _allocate_pages_securely 3 0.2% 0.1% t __ZN2v88internal6String7FlattenEPNS0_7IsolateENS0_6HandleIS1_EENS0_14AllocationTypeE 3 0.2% 0.1% T __ZN2v811HandleScopeD1Ev 2 0.1% 0.0% t node::Buffer::(anonymous namespace)::ByteLengthUtf8(v8::FunctionCallbackInfov8::Value const&) 2 0.1% 0.0% t _unwind_stack_from_table_index 2 0.1% 0.0% t __malloc_initialize 2 0.1% 0.0% T _malloc 2 0.1% 0.0% T __simple_dprintf 2 0.1% 0.0% T ___malloc_init 2 0.1% 0.0% T ___mach_stack_logging_uniquing_table_read_stack 2 0.1% 0.0% T __ZNK2v86String12WriteOneByteEPNS_7IsolateEPhiii 2 0.1% 0.0% T __ZNK2v85Value6IsTrueEv 2 0.1% 0.0% T __ZN2v811HandleScopeC1EPNS_7IsolateE 1 0.1% 0.0% t node::NodeArrayBufferAllocator::AllocateUninitialized(unsigned long) 1 0.1% 0.0% t node::MaybeStackBuffer<uv_buf_t, 16ul>::AllocateSufficientStorage(unsigned long) 1 0.1% 0.0% t _free_small 1 0.1% 0.0% T non-virtual thunk to node::LibuvStreamWrap::GetAsyncWrap() 1 0.1% 0.0% T non-virtual thunk to node::LibuvStreamWrap::DoTryWrite(uv_buf_t**, unsigned long*) 1 0.1% 0.0% T node::DTRACE_HTTP_SERVER_RESPONSE(v8::FunctionCallbackInfov8::Value const&) 1 0.1% 0.0% T __simple_vsprintf 1 0.1% 0.0% T __ZNK2v85Value8IsObjectEv 1 0.1% 0.0% T __ZNK2v85Value7IsArrayEv 1 0.1% 0.0% T __ZNK2v85Array6LengthEv

[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 1.0% are not shown.

ticks parent name 1612 36.2% T __ZN2v88internal10ClassScope28ResolvePrivateNamesPartiallyEv 273 16.9% T __ZN2v88internal10ClassScope28ResolvePrivateNamesPartiallyEv 80 29.3% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 78 97.5% LazyCompile: *parserOnIncoming _http_server.js:662:26 78 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 2 2.5% LazyCompile: *emit events.js:153:44 2 100.0% LazyCompile: ~parserOnIncoming _http_server.js:662:26 2 100.0% LazyCompile: ~parserOnHeadersComplete _http_common.js:71:33 48 17.6% LazyCompile: *_storeHeader http_outgoing.js:285:22 46 95.8% LazyCompile: *write _http_outgoing.js:564:16 46 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 46 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 1 2.1% LazyCompile: ~writeHead _http_server.js:234:19 1 100.0% LazyCompile: ~_implicitHeader http_server.js:229:68 1 100.0% LazyCompile: ~write _http_outgoing.js:564:16 1 2.1% LazyCompile: *writeHead _http_server.js:234:19 1 100.0% LazyCompile: ~_implicitHeader http_server.js:229:68 1 100.0% LazyCompile: ~write _http_outgoing.js:564:16 43 15.8% LazyCompile: *Readable.read stream_readable.js:400:35 39 90.7% LazyCompile: *resume stream_readable.js:920:17 39 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 4 9.3% LazyCompile: *emitReadable _stream_readable.js:560:23 4 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 39 14.3% LazyCompile: *clearBuffer _stream_writable.js:498:21 38 97.4% LazyCompile: *assignSocket _http_server.js:203:62 37 97.4% LazyCompile: *resOnFinish _http_server.js:617:21 34 91.9% LazyCompile: *onFinish _http_outgoing.js:657:18 3 8.1% LazyCompile: *emit events.js:153:44 1 2.6% LazyCompile: ~resOnFinish _http_server.js:617:21 1 100.0% LazyCompile: *emit events.js:153:44 1 2.6% LazyCompile: ~Writable.uncork _stream_writable.js:311:37 1 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 1 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 5 1.8% LazyCompile: ~_storeHeader http_outgoing.js:285:22 3 60.0% LazyCompile: *write _http_outgoing.js:564:16 3 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 3 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 2 40.0% LazyCompile: ~writeHead _http_server.js:234:19 2 100.0% LazyCompile: ~_implicitHeader http_server.js:229:68 2 100.0% LazyCompile: ~write _http_outgoing.js:564:16 4 1.5% LazyCompile: *Writable.uncork _stream_writable.js:311:37 4 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 4 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 4 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 3 1.1% LazyCompile: *parserOnIncoming _http_server.js:662:26 3 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 3 1.1% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 226 14.0% LazyCompile: *clearBuffer _stream_writable.js:498:21 226 100.0% LazyCompile: *assignSocket _http_server.js:203:62 224 99.1% LazyCompile: *resOnFinish _http_server.js:617:21 216 96.4% LazyCompile: *onFinish _http_outgoing.js:657:18 216 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 8 3.6% LazyCompile: *emit events.js:153:44 8 100.0% LazyCompile: ~onFinish _http_outgoing.js:657:18 117 7.3% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 61 3.8% LazyCompile: *assignSocket _http_server.js:203:62 61 100.0% LazyCompile: *resOnFinish _http_server.js:617:21 61 100.0% LazyCompile: *onFinish _http_outgoing.js:657:18 61 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 61 100.0% LazyCompile: *afterWrite _stream_writable.js:479:20 52 3.2% LazyCompile: *resOnFinish _http_server.js:617:21 50 96.2% LazyCompile: *onFinish _http_outgoing.js:657:18 50 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 50 100.0% LazyCompile: *afterWrite _stream_writable.js:479:20 50 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 2 3.8% LazyCompile: *emit events.js:153:44 2 100.0% LazyCompile: ~onFinish _http_outgoing.js:657:18 2 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 1 50.0% LazyCompile: ~afterWrite _stream_writable.js:479:20 1 50.0% LazyCompile: *afterWrite _stream_writable.js:479:20 47 2.9% LazyCompile: *parserOnIncoming _http_server.js:662:26 47 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 38 2.4% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 38 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 38 100.0% LazyCompile: *parserOnHeadersComplete http_common.js:71:33 36 2.2% LazyCompile: *write _http_outgoing.js:564:16 36 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 36 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 36 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 35 2.2% LazyCompile: *onwrite _stream_writable.js:445:17 32 91.4% LazyCompile: *clearBuffer _stream_writable.js:498:21 32 100.0% LazyCompile: *assignSocket _http_server.js:203:62 32 100.0% LazyCompile: *resOnFinish _http_server.js:617:21 28 87.5% LazyCompile: *onFinish _http_outgoing.js:657:18 4 12.5% LazyCompile: *emit events.js:153:44 3 8.6% LazyCompile: *afterWriteDispatched internal/stream_base_commons.js:141:30 3 100.0% LazyCompile: *Writable.uncork _stream_writable.js:311:37 3 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 3 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 33 2.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35 28 1.7% LazyCompile: *_storeHeader http_outgoing.js:285:22 28 100.0% LazyCompile: *write _http_outgoing.js:564:16 28 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 28 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 28 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 27 1.7% LazyCompile: *setHeader _http_outgoing.js:462:57 27 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 27 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 27 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33 27 1.7% LazyCompile: *Writable.uncork _stream_writable.js:311:37 27 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 27 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 27 100.0% LazyCompile: *parserOnHeadersComplete http_common.js:71:33 17 1.1% LazyCompile: *resume _stream_readable.js:920:17 17 100.0% LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35

1311 29.4% UNKNOWN 1094 83.4% LazyCompile: *clearBuffer _stream_writable.js:498:21 1091 99.7% LazyCompile: *assignSocket _http_server.js:203:62 1089 99.8% LazyCompile: *resOnFinish _http_server.js:617:21 1060 97.3% LazyCompile: *onFinish _http_outgoing.js:657:18 1060 100.0% LazyCompile: *onCorkedFinish _stream_writable.js:672:24 29 2.7% LazyCompile: *emit events.js:153:44 29 100.0% LazyCompile: ~onFinish _http_outgoing.js:657:18 124 9.5% LazyCompile: *Writable.uncork _stream_writable.js:311:37 124 100.0% LazyCompile: * /Users/bfarias/Documents/node/bench.js:3:54 124 100.0% LazyCompile: *parserOnIncoming _http_server.js:662:26 124 100.0% LazyCompile: *parserOnHeadersComplete _http_common.js:71:33

 61    1.4%  LazyCompile: *onwrite _stream_writable.js:445:17
 56   91.8%    LazyCompile: *clearBuffer _stream_writable.js:498:21
 56  100.0%      LazyCompile: *assignSocket _http_server.js:203:62
 56  100.0%        LazyCompile: *resOnFinish _http_server.js:617:21
 55   98.2%          LazyCompile: *onFinish _http_outgoing.js:657:18
 55  100.0%            LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  1    1.8%          LazyCompile: *emit events.js:153:44
  1  100.0%            LazyCompile: ~onFinish _http_outgoing.js:657:18
  3    4.9%    LazyCompile: *assignSocket _http_server.js:203:62
  3  100.0%      LazyCompile: *resOnFinish _http_server.js:617:21
  3  100.0%        LazyCompile: *onFinish _http_outgoing.js:657:18
  3  100.0%          LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  3  100.0%            LazyCompile: *afterWrite _stream_writable.js:479:20
  2    3.3%    LazyCompile: *afterWriteDispatched internal/stream_base_commons.js:141:30
  2  100.0%      LazyCompile: *Writable.uncork _stream_writable.js:311:37
  2  100.0%        LazyCompile: *<anonymous> /Users/bfarias/Documents/node/bench.js:3:54
  2  100.0%          LazyCompile: *parserOnIncoming _http_server.js:662:26
  2  100.0%            LazyCompile: *parserOnHeadersComplete _http_common.js:71:33

 49    1.1%  LazyCompile: *resOnFinish _http_server.js:617:21
 44   89.8%    LazyCompile: *onFinish _http_outgoing.js:657:18
 44  100.0%      LazyCompile: *onCorkedFinish _stream_writable.js:672:24
 44  100.0%        LazyCompile: *afterWrite _stream_writable.js:479:20
 44  100.0%          LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35
  5   10.2%    LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  5  100.0%      LazyCompile: *afterWrite _stream_writable.js:479:20
  5  100.0%        LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35

 49    1.1%  LazyCompile: *clearBuffer _stream_writable.js:498:21
 47   95.9%    LazyCompile: *assignSocket _http_server.js:203:62
 47  100.0%      LazyCompile: *resOnFinish _http_server.js:617:21
 44   93.6%        LazyCompile: *onFinish _http_outgoing.js:657:18
 44  100.0%          LazyCompile: *onCorkedFinish _stream_writable.js:672:24
 44  100.0%            LazyCompile: *afterWrite _stream_writable.js:479:20
  3    6.4%        LazyCompile: *emit events.js:153:44
  3  100.0%          LazyCompile: ~onFinish _http_outgoing.js:657:18
  3  100.0%            LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  2    4.1%    LazyCompile: *resOnFinish _http_server.js:617:21
  2  100.0%      LazyCompile: *onFinish _http_outgoing.js:657:18
  2  100.0%        LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  2  100.0%          LazyCompile: *afterWrite _stream_writable.js:479:20
  2  100.0%            LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35

 46    1.0%  t _szone_malloc_should_clear
 25   54.3%    LazyCompile: *clearBuffer _stream_writable.js:498:21
 24   96.0%      LazyCompile: *assignSocket _http_server.js:203:62
 24  100.0%        LazyCompile: *resOnFinish _http_server.js:617:21
 24  100.0%          LazyCompile: *onFinish _http_outgoing.js:657:18
 24  100.0%            LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  1    4.0%      LazyCompile: ~Writable.uncork _stream_writable.js:311:37
  1  100.0%        LazyCompile: *<anonymous> /Users/bfarias/Documents/node/bench.js:3:54
  1  100.0%          LazyCompile: *parserOnIncoming _http_server.js:662:26
  1  100.0%            LazyCompile: *parserOnHeadersComplete _http_common.js:71:33
 11   23.9%    T __ZN2v88internal10ClassScope28ResolvePrivateNamesPartiallyEv
 10   90.9%      LazyCompile: *<anonymous> /Users/bfarias/Documents/node/bench.js:3:54
 10  100.0%        LazyCompile: *parserOnIncoming _http_server.js:662:26
 10  100.0%          LazyCompile: *parserOnHeadersComplete _http_common.js:71:33
  1    9.1%      LazyCompile: ~resOnFinish _http_server.js:617:21
  1  100.0%        LazyCompile: *emit events.js:153:44
  1  100.0%          LazyCompile: ~onFinish _http_outgoing.js:657:18
  1  100.0%            LazyCompile: *onCorkedFinish _stream_writable.js:672:24
  5   10.9%    LazyCompile: *Writable.uncork _stream_writable.js:311:37
  5  100.0%      LazyCompile: *<anonymous> /Users/bfarias/Documents/node/bench.js:3:54
  5  100.0%        LazyCompile: *parserOnIncoming _http_server.js:662:26
  5  100.0%          LazyCompile: *parserOnHeadersComplete _http_common.js:71:33

 46    1.0%  LazyCompile: *processTicksAndRejections internal/process/task_queues.js:65:35