React components

Benchmark created on


Preparation HTML

<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>

Setup

const flex = ({ children }) => React.createElement("div", { className: "flex", children });

Test runner

Ready to run.

Testing in
TestOps/sec
JSX
React.createElement("div", { className: "flex", children: "children" });
ready
Component
React.createElement(flex, { children: "children" });
ready

Revisions

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