Skip to content

Instantly share code, notes, and snippets.

@3rd-Eden
Created August 9, 2010 17:12
Show Gist options
  • Save 3rd-Eden/515720 to your computer and use it in GitHub Desktop.
Save 3rd-Eden/515720 to your computer and use it in GitHub Desktop.
Node profiler output
[Unknown]:
ticks total nonlib name
1 1.6%
[Shared libraries]:
ticks total nonlib name
[JavaScript]:
ticks total nonlib name
1 1.6% 1.6% Function: Stream.flush net:800
1 1.6% 1.6% CallNormal: args_count: 1
[C++]:
ticks total nonlib name
7 11.3% 11.3% v8::internal::Scanner::ScanString
4 6.5% 6.5% v8::internal::CharacterStreamUTF16Buffer::Advance
3 4.8% 4.8% unibrow::Utf8::ReadBlock
2 3.2% 3.2% v8::internal::String::IsEqualTo
2 3.2% 3.2% v8::internal::String::ComputeHashField
2 3.2% 3.2% v8::internal::Parser::ParseAssignmentExpression
2 3.2% 3.2% v8::internal::JumpTarget::DoBranch
2 3.2% 3.2% v8::internal::Assembler::call
2 3.2% 3.2% ___vfprintf
1 1.6% 1.6% v8::internal::VirtualFrame::PrepareMergeTo
1 1.6% 1.6% v8::internal::StubCompiler::CheckPrototypes
1 1.6% 1.6% v8::internal::Scanner::ScanJavaScript
1 1.6% 1.6% v8::internal::Runtime::SetObjectProperty
1 1.6% 1.6% v8::internal::Runtime::FunctionForName
1 1.6% 1.6% v8::internal::RelocIterator::next
1 1.6% 1.6% v8::internal::RegisterAllocator::Allocate
1 1.6% 1.6% v8::internal::MemoryAllocator::AllocatePages
1 1.6% 1.6% v8::internal::MarkingVisitor::VisitPointers
1 1.6% 1.6% v8::internal::MarkCompactCollector::SweepSpaces
1 1.6% 1.6% v8::internal::MacroAssembler::IncrementCounter
1 1.6% 1.6% v8::internal::KeywordMatcher::Step
1 1.6% 1.6% v8::internal::JumpTarget::ComputeEntryFrame
1 1.6% 1.6% v8::internal::JSObject::LocalLookup
1 1.6% 1.6% v8::internal::Heap::AllocateInternalSymbol
1 1.6% 1.6% v8::internal::Heap::AllocateFixedArray
1 1.6% 1.6% v8::internal::CodeGenerator::ToBoolean
1 1.6% 1.6% v8::internal::CodeGenerator::LoadCondition
1 1.6% 1.6% v8::internal::CodeGenerator::DeleteFrame
1 1.6% 1.6% v8::internal::CodeGenerator::CodeForSourcePosition
1 1.6% 1.6% v8::internal::BinaryOperation::AsBinaryOperation
1 1.6% 1.6% v8::internal::BinaryOperation::Accept
1 1.6% 1.6% v8::internal::AstOptimizer::VisitVariableProxy
1 1.6% 1.6% v8::internal::Assembler::bind
1 1.6% 1.6% node::Binding
1 1.6% 1.6% _tiny_malloc_from_free_list
1 1.6% 1.6% _strcpy
1 1.6% 1.6% _protect
1 1.6% 1.6% _host_get_clock_service
1 1.6% 1.6% _asl_open
1 1.6% 1.6% __mh_dylib_header
1 1.6% 1.6% ___private_getcwd
1 1.6% 1.6% ___guard_setup
[GC]:
ticks total nonlib name
4 6.5%
[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
7 11.3% v8::internal::Scanner::ScanString
5 71.4% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/lib/hashring.js:1
5 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/nMemcached.js:1
5 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
5 100.0% LazyCompile: <anonymous> node.js:1
1 14.3% LazyCompile: Instantiate native apinatives.js:44
4 6.5% v8::internal::CharacterStreamUTF16Buffer::Advance
2 50.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/lib/hashring.js:1
2 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/nMemcached.js:1
2 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
2 100.0% LazyCompile: <anonymous> node.js:1
1 25.0% LazyCompile: <anonymous> node.js:1
1 25.0% LazyCompile: <anonymous> fs:1
1 100.0% LazyCompile: <anonymous> node.js:1
3 4.8% unibrow::Utf8::ReadBlock
2 66.7% LazyCompile: <anonymous> node.js:1
1 33.3% LazyCompile: <anonymous> module:1
1 100.0% LazyCompile: <anonymous> node.js:1
2 3.2% v8::internal::String::IsEqualTo
1 50.0% LazyCompile: <anonymous> net:1
1 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/nMemcached.js:1
1 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
1 100.0% LazyCompile: <anonymous> node.js:1
1 50.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
1 100.0% LazyCompile: <anonymous> node.js:1
2 3.2% v8::internal::String::ComputeHashField
1 50.0% LazyCompile: <anonymous> node.js:1
1 50.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/lib/hashring.js:1
1 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/nMemcached.js:1
1 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
1 100.0% LazyCompile: <anonymous> node.js:1
2 3.2% v8::internal::Parser::ParseAssignmentExpression
1 50.0% LazyCompile: defineProperties native v8natives.js:725
1 100.0% LazyCompile: create native v8natives.js:700
1 100.0% LazyCompile: <anonymous> fs:1
1 100.0% LazyCompile: <anonymous> node.js:1
1 50.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/nMemcached.js:1
1 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
1 100.0% LazyCompile: <anonymous> node.js:1
2 3.2% v8::internal::JumpTarget::DoBranch
1 50.0% LazyCompile: <anonymous> node.js:1
1 50.0% LazyCompile: <anonymous> fs:1
1 100.0% LazyCompile: <anonymous> node.js:1
2 3.2% v8::internal::Assembler::call
1 50.0% LazyCompile: <anonymous> node.js:1
1 50.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/lib/hashring.js:1
1 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/nMemcached.js:1
1 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
1 100.0% LazyCompile: <anonymous> node.js:1
2 3.2% ___vfprintf
1 50.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/nMemcached.js:1
1 100.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
1 100.0% LazyCompile: <anonymous> node.js:1
1 50.0% LazyCompile: <anonymous> /Users/V1/Sites/node-modules/node-memcached/examples/simple_set.js:1
1 100.0% LazyCompile: <anonymous> node.js:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment