Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
endsWith vs Regex aspx ending
(version: 0)
Comparing performance of:
Regex vs endsWith
Created:
2 years ago
by:
Guest
Jump to the latest result
Tests:
Regex
"we/word.aspx".match("px$")
endsWith
"we/word.aspx".endsWith("px")
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Regex
endsWith
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
2 years ago
)
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Mobile/15E148 Safari/604.1
Browser/OS:
Mobile Safari 17 on iOS 17.3.1
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Regex
20256080.0 Ops/sec
endsWith
55013400.0 Ops/sec
Related benchmarks:
endsWith vs Regex extension
endsWith vs Regex correct
endsWith vs Regex-literal
endsWith vs Regex aspx
Comments
Confirm delete:
Do you really want to delete benchmark?