Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Self Closing vs Closed Tags
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Browser:
Chrome 128
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Closed Tags
5.2M/s
Self Closing Tags
4.8M/s
View exact numbers
Test name
Executions per second
✓
Closed Tags
5,176,204 Ops/sec
Self Closing Tags
4,751,298 Ops/sec
Tests:
Self Closing Tags
const template = document.createElement('template'); template.innerHtml = '<tr><td class="col-md-1" /><td class="col-md-4"><a /></td><td class="col-md-1"><a><span class="glyphicon glyphicon-remove" aria-hidden="true" /></a></td><td class="col-md-6" /></tr>';
Closed Tags
const template = document.createElement('template'); template.innerHtml = '<tr><td class="col-md-1"></td><td class="col-md-4"><a></a></td><td class="col-md-1"><a><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td><td class="col-md-6"></td></tr>';