MegaCorn
MegaCorn
If the inserted node is not a fragment, unnecessay vector memory allocation will cause 20% performance degradation Testing: By comparing flame graph Fixes: https://github.com/servo/servo/issues/37223
When using the Vue framework, the element.innerHTML interface took a long time. Seems it was a performance issue with the htmlparser. The following code only takes 50ms in Chrome on...
Before: html5ever produces tokens for each line of inline content After: html5ever batchs inline contents until encounter '