Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
classix vs custom
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Browser:
Chrome 137
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
10 months ago
Test name
Executions per second
classix
0.0 Ops/sec
custom
97838.9 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here--> <script src='https://unpkg.com/classix@2.2.2/dist/cjs/classix.js'> </script>
Script Preparation code:
const hardArgs = ["base", true && "enabled", false && "disabled", null, undefined, "text-lg", "", "p-4", Math.random() > 0.5 ? "bg-blue-500" : "bg-red-500", "hover:bg-blue-700", !!"truthy" && "shadow", "rounded", false, "transition-all", Math.random() > 0.2 ? "duration-300" : null, "ease-in-out", undefined, "flex", true && "items-center", "justify-between" ] function cx2(...args) { return args.filter((arg): arg => typeof arg === 'string' && !!arg).join(' '); }
Tests:
classix
classix("test")
custom
console.log("2")