Re: Language execution speeds or "The Fibonacci Stats"



On 14.02.2017 12:59, Stefan Westerfeld wrote:
While you're at it, there are two more JITs you could benchbark:
 - PyPy for Python
 - LuaJIT for Lua

Sure, barking at the bench, just like you request ;-)

The new results have Lua and Python catch up with Javascript pretty closely, so
giving these JITs a try was totoally worth it!

// user 0m0.328s        (gcc -O6)
// user 0m0.636s        (Java SE 8)
// user 0m0.716s        (clang -O3)
// user 0m0.720s        (rustc 1.7.0)
// user 0m0.884s        (D - gdc-5.4.0)
// user 0m1.596s        (js - node v4.2.6, v8 4.5.103.35)
-- user 0m1.924s        (LuaJIT 2.0.4)
#  user 0m2.888s        (PyPy 5.1.2 / GCC 5.3.1)
#  user 0m10.168s       (jruby)
// user 0m14.904s       (php7)
#  user 0m17.556s       (ruby 2.3.1p112)
-- user 0m22.480s       (Lua 5.2.4)
// user 0m24.964s       (Java SE 8, interpreted mode execution only)
// user 0m26.152s       (pike)
#  user 0m27.292s       (Jython 2.5.3)
#  user 0m38.288s       (Python 2.7.12)
#  user 0m41.260s       (Python 3.5.2)
#  user 0m57.584s       (awk)
;; user 1m4.724s        (guile)
#  user 1m39.080s       (perl5)
#  user 9m5.000s        (perl6 - Rakudo 2016.06)

I didn't know about libgccjit so far, have to look that up now ;-)


   Cu... Stefan


-- 
Yours sincerely,
Tim Janik

https://testbit.eu/timj/
Free software author.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]