Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Character String and Regex time
(version: 1)
Benchmark.js
Comparing performance of:
Long vs Short
Created:
2 years ago
by:
Registered User
Go to the latest result
Tests:
Long
const data = 'Women account for one of the groups most affected by the disparities in the legal system. Therefore, this sphere has been an area of intense interest for feminist researchers and activists. Subsequently, various standpoints are expressed through different means of communication, calling for an equal approach to justice for both' data.replace(/([a-z0-9_\-.+]+)@\w+(\.\w+)*/gi, '')
Short
const data = 'Women account for one of the groups most affected by the disparities in the legal system. Therefore, this sphere has been an area of intense interest for feminist researchers and activists.' data.replace(/([a-z0-9_\-.+]+)@\w+(\.\w+)*/gi, '')
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Long
Short
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
2 years ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Browser/OS:
Chrome 122 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Short
415K/s
Long
223K/s
View exact numbers
Test name
Executions per second
✓
Short
415,445 Ops/sec
Long
223,128 Ops/sec
Related benchmarks
slice vs regex
Comments
Confirm delete:
Do you really want to delete benchmark?