Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now, for measurements in other languages. Yura on his machine has run benchmarks on CPython and JPython, and on mine I ran an equivalent conversion in Java:

Machine/Language

Reps

Total time

Per doc

Yura/Jython

20000

jython:real 2m27.557s, user 2m26.105s, sys 0m1.316s

7ms/doc

Yura/CPython 2.6

20000

real 1m6.248s, user 1m4.452s, sys 0m0.480s

3.3ms/doc

Yura/CPython 3

20000

real 1m4.939s, user 1m3.556s, sys 0m0.360s

3.3ms/doc

Yura/CPython

400

real 0m1.408s, user 0m1.344s, sys 0m0.040s

3.5ms/doc

Antranig/Java

4000

3600ms

0.9ms/doc

...