String compare class clash before splitting (version: 0)
Testing whether you should first do a pre-emptive check for a substring in element.className, or if you should rather just do the checking in the element.className.split(' ') array.
Comparing performance of: Check as string first vs Don't check as string
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
Check as string first
Don't check as string
Fastest:N/A
Slowest:N/A
ⓘGet performance results from real users on your website with Request Metrics.
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one to run it!