Re: Noob benchmark :-)

  • From: Tobias Oberstein <tobias.oberstein@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 10 Jul 2015 00:15:05 +0200

Am 09.07.2015 um 23:53 schrieb voidptr69@xxxxxxxxxxx:


And o my machine I stiil got pretty much the same ranking
python3 35sec, lua 20secs, luajit 0.2sec
:o)
luajit more like 1sec ... I did not use system timer :o)


here is pypy running your stuff 100x:

[oberstet@brummer2 ~]$ time ./pypy260/bin/pypy test.py

real 2m13.919s
user 2m13.825s
sys 0m0.024s
[oberstet@brummer2 ~]$ ./pypy260/bin/pypy
Python 2.7.9 (295ee98b69288471b0fcf2e0ede82ce5209eb90b, Jun 15 2015, 07:53:48)
[PyPy 2.6.0 with GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)] on freebsd10
Type "help", "copyright", "credits" or "license" for more information.
>>>> (2.*60.+13.9)/100.
1.339


=> 1.3sec

Other related posts: