jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
<script src="https://unpkg.com/react@18/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js" crossorigin></script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/styled-components/6.1.11/styled-components.min.js" />
<script src="https://cdn.tailwindcss.com"></script>
<div id="root"></div>
<div id="root2"></div>
const rootEl = document.getElementById('root');
const container = ReactDOM.createRoot(rootEl);
const rootEl2 = document.getElementById('root2');
const container2 = ReactDOM.createRoot(rootEl2);
let data = new Array(500).fill();
data = data.map((el,i) => (
{
count: Math.round(Math.random()*100),
label: `Filter ${i}`,
value: `some-filter-value-${i}`,
}
));
container.render(React.createElement(App));
container2.render(React.createElement(App));
Ready to run.
Test | Ops/sec | |
---|---|---|
Styled Components |
| ready |
Tailwind |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.