summaryrefslogtreecommitdiff
path: root/src/treebuilder/element-type.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2021-05-15 16:15:41 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2021-05-15 19:59:24 +0100
commit6c69e82879901a3a8f5eb19914e7ffc4224d0eca (patch)
tree96f15fe2e9a47fdf378ead352e770fca4e25552e /src/treebuilder/element-type.h
parent26a7ff24df8cb52c08bab23cff7a8f5ceb3c4465 (diff)
downloadlibhubbub-6c69e82879901a3a8f5eb19914e7ffc4224d0eca.tar.gz
libhubbub-6c69e82879901a3a8f5eb19914e7ffc4224d0eca.tar.bz2
Perf tester: Optimise tree node data structure with last child pointer.
For loading the html5 single page spec: * This reduces append_child callback self time from 21% to 0.6% of total runtime. * Total instruction fetch cost is reduced from 7,085,287,214 to 5,652,755,136. This makes it more useful for observing where hubbub itself is slow, rather than the tester's simple treebuilder implementation.
Diffstat (limited to 'src/treebuilder/element-type.h')
0 files changed, 0 insertions, 0 deletions