4 ms·
> 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 scr
by 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