3 ms·
igouy pretty much gets nothing but grief maintaining the shootout. He's told people for years that they should publish their own numbers for different language
by alayne 13y ago
igouy pretty much gets nothing but grief maintaining the shootout. He's told people for years that they should publish their own numbers for different language implementations. Never happens, just complaints.
- frik 13y agoLuaJIT, PyPy and HHVM are common and well know. If it is true that they devs contacted him and he refused to add it, that's sad. I know maintaining a project like that is a lot of work. But adding superior implementations of already featured languages should be a piece of cake. Source code of Python, PHP and Lua is already in the repo, it's just a matter of installing the VM's on the computer and modify the scripts. Beside, if the maintainer reads this, please keep up the good work, and maybe add LuaJIT, PyPy and HHVM. Thanks.
- awj 13y ago> it's just a matter of installing the VM's on the computer and modify the scripts. That can be a pretty huge "it's just". In practice many of the existing scripts make use of C bindings or rely on odd behaviors that aren't replicated by alternate VMs. Since the alternate implementation, benchmark programs, and benchmark tools are all available, I'd recommend you put your theory to the test. It'll either prove eye opening or make for a nice contribution back to the game!
- frik 13y ago> many of the existing scripts make use of C bindings or rely on odd behaviors that aren't replicated by alternate VMs HHVM is compatible with PHP 5.3, LuaJIT with Lua 5.1 and PyPy with Python 2.7.3. All benchmark code is written the languages code and sometimes relies on an language extension library (which is written in C or C++). But three above JIT VMs come with their own compatible language extension libraries or support the extension API. Look at the code, it should be easy: http://benchmarksgame.alioth.debian.org/u32q/benchmark.php?test=pidigits&lang=php&id=1&data=u32q http://benchmarksgame.alioth.debian.org/u32q/benchmark.php?t... and https://github.com/kragen/shootout/tree/master/bench https://github.com/kragen/shootout/tree/master/bench
- igouy 13y ago"If you're interested in something not shown on the benchmarks game website then please take the program source code and the measurement scripts and publish your own measurements." http://benchmarksgame.alioth.debian.org/play.php#languagex http://benchmarksgame.alioth.debian.org/play.php#languagex
- igouy 13y agoBeware of trolls. PyPy was shown (on my initiative) and I asked for (and published) programs that would work with PyPy. For example check the comments here -- http://morepypy.blogspot.com/2010/03/introducing-pypy-12-release.html http://morepypy.blogspot.com/2010/03/introducing-pypy-12-rel... LuaJIT was also shown; HHVM was never shown. http://web.archive.org/web/20110125034347/http://shootout.alioth.debian.org/ http://web.archive.org/web/20110125034347/http://shootout.al...