About pi.js
Joining the ranks of other pi calculation benchmarks on Android Market, pi.js offers a different twist. Instead of a native or Java-based benchmark, pi.js's pi calculation algorithm is implemented entirely in javascript. Mozilla's Rhino javascript engine provides the interpreter to execute the javascript code.
pi.js performs a van Wijngaarden transformation to calculate pi to 15 digits and reports execution time, while averaging multiple executions.
pi.js benchmarks your device's computational performance, actual hardware as well as Android's own execution efficiency, as well as the Rhino javascript engine itself. Because changes in code may happen between versions, only execution times from the same version should be compared.
by K####:
Karthik Happy