Source

backmongo / node_modules / jquery / node_modules / htmlparser / profile.getelement.txt

Full commit
line 656: unknown command: .str.split.
line 657: unknown command: .map.join.
line 658: unknown command:  sys:139"
Statistical profiling result from v8.log, (429 ticks, 26 unaccounted, 0 excluded).

 [Unknown]:
   ticks  total  nonlib   name
     26    6.1%

 [Shared libraries]:
   ticks  total  nonlib   name

 [JavaScript]:
   ticks  total  nonlib   name
    108   25.2%   25.2%  Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     19    4.4%    4.4%  Function: DomUtils$testElement /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:658
      8    1.9%    1.9%  Stub: FastNewClosure
      8    1.9%    1.9%  Stub: Compare
      7    1.6%    1.6%  Stub: ToBoolean
      7    1.6%    1.6%  LazyCompile: isNaN native v8natives.js:78
      7    1.6%    1.6%  KeyedLoadIC: A keyed load IC from the snapshot
      7    1.6%    1.6%  Builtin: A builtin from the snapshot
      5    1.2%    1.2%  LazyCompile: parseInt native v8natives.js:94
      4    0.9%    0.9%  Stub: FastCloneShallowArray
      4    0.9%    0.9%  Stub: CEntry
      4    0.9%    0.9%  Function: Parser$parseTags /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:204
      3    0.7%    0.7%  Stub: SubString
      3    0.7%    0.7%  Stub: Compare {1}
      3    0.7%    0.7%  Function: Module._compile module:348
      3    0.7%    0.7%  Function: <anonymous> /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:697
      2    0.5%    0.5%  Stub: Instanceof
      2    0.5%    0.5%  RegExp: (^\\s+|\\s+$) {1}
      2    0.5%    0.5%  LazyCompile: split native string.js:587
      2    0.5%    0.5%  LazyCompile: exec native regexp.js:186
      2    0.5%    0.5%  LazyCompile: StringReplaceRegExp native string.js:278
      2    0.5%    0.5%  Function: Parser$parseAttribs /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:164
      2    0.5%    0.5%  Function: DefaultHandler$_tagStack$last /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:559
      1    0.2%    0.2%  Stub: StringAdd
      1    0.2%    0.2%  RegExp: ^\\s*(\\/?)\\s*([^\\s\\/]+)
      1    0.2%    0.2%  RegExp: \\s
      1    0.2%    0.2%  RegExp: [\\<\\>]
      1    0.2%    0.2%  RegExp: (^\\s+|\\s+$)
      1    0.2%    0.2%  RegExp: ([^=<>\\
      1    0.2%    0.2%  LazyCompile: test native regexp.js:264
      1    0.2%    0.2%  LazyCompile: substring native string.js:707
      1    0.2%    0.2%  LazyCompile: slice native string.js:552
      1    0.2%    0.2%  LazyCompile: charAt native string.js:64
      1    0.2%    0.2%  LazyCompile: SubString native string.js:214
      1    0.2%    0.2%  LazyCompile: EQUALS native runtime.js:54
      1    0.2%    0.2%  Function: createInternalModule module:26
      1    0.2%    0.2%  Function: Parser$writeHandler /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:383
      1    0.2%    0.2%  Function: Parser$parseChunk /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:87
      1    0.2%    0.2%  Function: DomUtils$getElementsByTagName /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:736
      1    0.2%    0.2%  Function: DefaultHandler$writeTag /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:568

 [C++]:
   ticks  total  nonlib   name
     24    5.6%    5.6%  v8::internal::Builtin_ArrayConcat
     13    3.0%    3.0%  v8::internal::Heap::AllocateJSObjectFromMap
     13    3.0%    3.0%  v8::internal::ArrayPrototypeHasNoElements
     12    2.8%    2.8%  v8::internal::CopyElements
     10    2.3%    2.3%  v8::internal::Context::global_context
      8    1.9%    1.9%  v8::internal::Heap::Allocate
      7    1.6%    1.6%  v8::internal::AllocateFixedArrayWithFiller
      6    1.4%    1.4%  v8::internal::CharacterStreamUTF16Buffer::Advance
      6    1.4%    1.4%  v8::internal::Builtin_ArrayPush
      4    0.9%    0.9%  v8::internal::String::SlowEquals
      4    0.9%    0.9%  v8::internal::Heap::AllocateUninitializedFixedArray
      4    0.9%    0.9%  v8::internal::Heap::AllocateJSObject
      3    0.7%    0.7%  v8::internal::String::ComputeAndSetHash
      3    0.7%    0.7%  v8::internal::Scanner::ScanJavaScript
      3    0.7%    0.7%  v8::internal::JSObject::LocalLookup
      3    0.7%    0.7%  v8::internal::Heap::AllocateRawFixedArray
      2    0.5%    0.5%  v8::internal::VirtualFrame::PrepareMergeTo
      2    0.5%    0.5%  v8::internal::ScavengeVisitor::VisitPointers
      2    0.5%    0.5%  v8::internal::Runtime_StringEquals
      2    0.5%    0.5%  v8::internal::MarkingVisitor::VisitPointers
      2    0.5%    0.5%  v8::internal::KeywordMatcher::Step
      2    0.5%    0.5%  v8::internal::JumpTarget::DoBind
      2    0.5%    0.5%  v8::internal::JumpTarget::ComputeEntryFrame
      2    0.5%    0.5%  v8::internal::Heap::IterateRSetRange
      2    0.5%    0.5%  v8::internal::Heap::AllocateStringFromUtf8
      2    0.5%    0.5%  v8::internal::Heap::AllocateFixedArray
      2    0.5%    0.5%  ___dtoa
      1    0.2%    0.2%  v8::internal::VirtualFrame::SyncRange
      1    0.2%    0.2%  v8::internal::VirtualFrame::SyncElementByPushing
      1    0.2%    0.2%  v8::internal::VirtualFrame::Push
      1    0.2%    0.2%  v8::internal::VirtualFrame::MergeMoveMemoryToRegisters
      1    0.2%    0.2%  v8::internal::SweepNewSpace
      1    0.2%    0.2%  v8::internal::String::WriteToFlat<unsigned short>
      1    0.2%    0.2%  v8::internal::String::IsEqualTo
      1    0.2%    0.2%  v8::internal::SetElement
      1    0.2%    0.2%  v8::internal::Scanner::ScanIdentifier
      1    0.2%    0.2%  v8::internal::Runtime_StringReplaceRegExpWithString
      1    0.2%    0.2%  v8::internal::Runtime_StringIndexOf
      1    0.2%    0.2%  v8::internal::RegisterAllocator::Allocate
      1    0.2%    0.2%  v8::internal::RegExpMacroAssemblerIA32::PushBacktrack
      1    0.2%    0.2%  v8::internal::Object::GetPrototype
      1    0.2%    0.2%  v8::internal::Object::GetProperty
      1    0.2%    0.2%  v8::internal::MemoryAllocator::InitializePagesInChunk
      1    0.2%    0.2%  v8::internal::Map::PropertyIndexFor
      1    0.2%    0.2%  v8::internal::Map::FindInCodeCache
      1    0.2%    0.2%  v8::internal::MacroAssembler::InvokeFunction
      1    0.2%    0.2%  v8::internal::JumpTarget::DoJump
      1    0.2%    0.2%  v8::internal::JumpTarget::DoBranch
      1    0.2%    0.2%  v8::internal::HeapObject::IterateBody
      1    0.2%    0.2%  v8::internal::HeapObject::Iterate
      1    0.2%    0.2%  v8::internal::Heap::Scavenge
      1    0.2%    0.2%  v8::internal::Heap::AllocateSubString
      1    0.2%    0.2%  v8::internal::Heap::AllocateStringFromAscii
      1    0.2%    0.2%  v8::internal::Heap::AllocateRawAsciiString
      1    0.2%    0.2%  v8::internal::HashTable<v8::internal::StringDictionaryShape, v8::internal::String*>::FindEntry
      1    0.2%    0.2%  v8::internal::FreeListNode::set_size
      1    0.2%    0.2%  v8::internal::Deserializer::ReadChunk
      1    0.2%    0.2%  v8::internal::DescriptorArray::CopyInsert
      1    0.2%    0.2%  v8::internal::CompareStub::MinorKey
      1    0.2%    0.2%  v8::internal::CompareLocal
      1    0.2%    0.2%  v8::internal::CodeGenerator::VisitStatements
      1    0.2%    0.2%  v8::internal::CodeGenerator::Load
      1    0.2%    0.2%  v8::internal::CodeGenerator::Comparison
      1    0.2%    0.2%  v8::internal::CallIC::LoadFunction
      1    0.2%    0.2%  v8::internal::AssignedVariablesAnalyzer::ProcessExpression
      1    0.2%    0.2%  v8::internal::Assembler::mov
      1    0.2%    0.2%  v8::internal::Assembler::jmp
      1    0.2%    0.2%  v8::internal::AllocateEmptyJSArray
      1    0.2%    0.2%  unibrow::Utf8::ReadBlock
      1    0.2%    0.2%  node::Cipher::Initialize
      1    0.2%    0.2%  _szone_free
      1    0.2%    0.2%  _small_malloc_from_region_no_lock
      1    0.2%    0.2%  _sha1_block_data_order
      1    0.2%    0.2%  _pthread_mutex_unlock
      1    0.2%    0.2%  _ares_library_init
      1    0.2%    0.2%  _aes_decrypt_cbc
      1    0.2%    0.2%  __mh_dylib_header
      1    0.2%    0.2%  _NSGetNextSearchPathEnumeration

 [GC]:
   ticks  total  nonlib   name
     13    3.0%

 [Bottom up (heavy) profile]:
  Note: percentage shows a share of a particular caller in the total
  amount of its parent calls.
  Callers occupying less than 2.0% are not shown.

   ticks parent  name
    108   25.2%  Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
    108  100.0%    Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
    108  100.0%      Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
    103   95.4%        Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
    103  100.0%          Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
    102   99.0%            Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
      5    4.6%        Function: DomUtils$getElementsByTagName /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:736
      5  100.0%          Function: <anonymous> /Users/chris/Documents/workspace_3.5/NodeHtmlParser/profile.getelement.js:33
      5  100.0%            Function: timeExecutions /Users/chris/Documents/workspace_3.5/NodeHtmlParser/profile.getelement.js:14

     24    5.6%  v8::internal::Builtin_ArrayConcat
     24  100.0%    Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     24  100.0%      Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     24  100.0%        Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     24  100.0%          Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     23   95.8%            Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
      1    4.2%            Function: DomUtils$getElementsByTagName /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:736

     19    4.4%  Function: DomUtils$testElement /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:658
     18   94.7%    Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     18  100.0%      Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     18  100.0%        Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     18  100.0%          Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     18  100.0%            Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684

     13    3.0%  v8::internal::Heap::AllocateJSObjectFromMap
     13  100.0%    Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     13  100.0%      Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     13  100.0%        Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     13  100.0%          Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     13  100.0%            Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684

     13    3.0%  v8::internal::ArrayPrototypeHasNoElements
     13  100.0%    Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     13  100.0%      Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     13  100.0%        Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     13  100.0%          Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     13  100.0%            Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684

     12    2.8%  v8::internal::CopyElements
     12  100.0%    Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     12  100.0%      Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     12  100.0%        Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     12  100.0%          Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     12  100.0%            Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684

     10    2.3%  v8::internal::Context::global_context
     10  100.0%    Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     10  100.0%      Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     10  100.0%        Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     10  100.0%          Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684
     10  100.0%            Function: DomUtils$getElements /Users/chris/Documents/workspace_3.5/NodeHtmlParser/node-htmlparser.js:684