Convert pi to a continued fraction

JavaScript performance comparison

Test case created

Info

comparing rat() vs bigrat()

Preparation code

<script src="http://acerix.github.com/rational.js/releases/rationaljs.alpha.js"></script>

Test runner

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

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
rat.toContinuedFraction(rat.PI)
rat.toContinuedFraction(rat.PI);
pending…
bigrat.toContinuedFraction(bigrat.PI)
bigrat.toContinuedFraction(bigrat.PI);
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