parseFloat .toFixed vs. Math.round (v36)

Revision 36 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Math.round
Math.sin(2);
ready
parseFloat .toFixed
Math.cos(2);
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.