uhtml v append

Benchmark created on


Preparation HTML

<script src="https://unpkg.com/uhtml">/* global uhtml */</script>

Test runner

Ready to run.

Testing in
TestOps/sec
uhtml
const panel = uhtml.html.node`<div>`

const btn = uhtml.html.node`<div>`

const container = uhtml.html.node`
    <div>${panel}${btn}`
ready
append
const panel = uhtml.html.node`<div>`

const btn = uhtml.html.node`<div>`

const container = uhtml.html.node`<div>`

container.append(panel);
container.append(btn);
ready

Revisions

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