(2 stars)


Download for Android Like

1,000 - 5,000 downloads

Add this app to your lists
View bigger - pi.js for Android screenshot
View bigger - pi.js for Android screenshot
View bigger - pi.js for Android screenshot
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.

Tags: pi.js, java benchmark pi, van wijngaarden transformation pi java, javascript pi benchmark, vanwijngaarden transformation how fast, js.

Recently changed in this version

1.1.1 - Removed overlooked debug output.
1.1 - Javascript code tweaked. Digit calculation increased from 13 to 15. Main calculation now implemented in 4 threads, allowing multicore devices to achieve faster speeds.
1.0 - Initial version. Codebase forked from LuaPi.

Comments and ratings for pi.js

  • There aren't any comments yet, be the first to comment!