FLOPs ?

JavaScript performance comparison

Test case created by joaojeronimo

Info

FLOPs ?

Each test should be 1 floating point operation... or something like it.

I know all numbers in javascript are floats and that division is actually 3 floating point operations in some architectures.

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
Int multiplication
5 * 5
pending…
Float mult
5.0 * 5.0
pending…
Int sum
5 + 5
pending…
Float sum
5.0 + 5.0
pending…
Int substraction
5 - 5
pending…
Float Subtraction
5.0 - 5.0
pending…
Int Division
5 / 5
pending…
Float Division
5.0 / 5.0
pending…
Int Pow
Math.pow(5, 5)
pending…
Float Pow
Math.pow(5.0, 5.0)
pending…

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

Compare results of other browsers

0 comments

Add a comment