AST (v2)

Revision 2 of this benchmark created on


Description

AST

Preparation HTML

<script src="https://code.highcharts.com/highcharts.js"></script>

<div id="ast"></div>
<div id="astHTML"></div>
<div id="inner"></div>

Test runner

Ready to run.

Testing in
TestOps/sec
AST
const ast = new Highcharts.AST('Loreum ipsum et omnia dolores');
        ast.addToDOM(document.querySelector('#ast'));
ready
AST SetElement
Highcharts.AST.setElementHTML(document.querySelector('#astHTML'), 'Loreum ipsum et omnia dolores');
ready
Inner
document.querySelector('#inner').innerHTML = 'Loreum ipsum et omnia dolores';
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.