comparing regex performance vs a split to extract a value from a given string.
Comparing performance of: Regex(must be capable of finding 'b', 'pol' or 'r9k' at specific location. vs Split (must be capable of find 'b', 'pol' or 'r9k' at specific location.
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
Regex(must be capable of finding 'b', 'pol' or 'r9k' at specific location.
Split (must be capable of find 'b', 'pol' or 'r9k' at specific location.
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!