Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
parseInt-vs-math.floor-floatint
(version: 1)
Check the impact between the two
Comparing performance of:
parseInt vs Math.floor
Created:
11 months ago
by:
Guest
Jump to the latest result
Tests:
parseInt
parseInt(8.29529492874834/3)
Math.floor
Math.floor(parseInt(8.29529492874834/3))
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
parseInt
Math.floor
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
10 months ago
)
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/OS:
Chrome 137 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
parseInt
200195248.0 Ops/sec
Math.floor
202978304.0 Ops/sec
Comments
Confirm delete:
Do you really want to delete benchmark?