÷

 Step 1 : Are the Lua LuaJIT programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used.

Each chart bar shows, for one unidentified benchmark, how much the fastest Lua LuaJIT program used compared to the fastest Java 6 -server program.


 Step 2 : Are the Lua LuaJIT programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used.

Each table row shows, for one named benchmark, how much the fastest Lua LuaJIT program used compared to the fastest Java 6 -server program.

 Lua LuaJIT used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 pidigits±1/91/2
 spectral-norm±1/121/3
 mandelbrot±1/461/3
 k-nucleotide±±1/3
 fannkuch1/161/2
 n-body1/14±
 fasta1/10±
 reverse-complement±±
 binary-trees±

± read the measurements and then read the program source code.

 Step 3 : Are the Lua LuaJIT programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.

For each named benchmark, measurements of the fastest Lua LuaJIT program are shown for comparison against measurements of the fastest Java 6 -server program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 pidigits 
Lua LuaJIT3.833.841,572479  0% 0% 0% 100%
Java 6 -server5.475.4714,828938  1% 3% 0% 100%
 spectral-norm 
Lua LuaJIT15.6915.691,076329  0% 0% 0% 100%
Java 6 -server15.9115.9312,564950  0% 0% 0% 100%
 mandelbrot 
Lua LuaJIT48.7148.711,064353  0% 0% 0% 100%
Java 6 -server41.5641.5748,900903  0% 0% 0% 100%
 k-nucleotide 
Lua LuaJIT65.6365.63487,092613  0% 0% 0% 100%
Java 6 -server46.9046.95351,0041602  0% 0% 0% 100%
 fannkuch 
Lua LuaJIT113.11113.10856492  0% 0% 0% 100%
Java 6 -server66.7966.8313,7961150  0% 0% 0% 100%
 n-body 
Lua LuaJIT45.4445.438681197  0% 0% 0% 100%
Java 6 -server25.0525.0812,4121424  1% 0% 0% 100%
 fasta 
Lua LuaJIT16.3016.301,2001039  0% 0% 0% 100%
Java 6 -server7.507.5112,2481240  0% 0% 0% 100%
 reverse-complement 
Lua LuaJIT13.2513.25473,416538  0% 0% 0% 100%
Java 6 -server2.862.90473,280592  0% 1% 0% 99%
 binary-trees 
Lua LuaJIT147.96147.95877,760446  0% 0% 0% 100%
Java 6 -server28.2128.35255,460603  0% 0% 0% 99%
 chameneos-redux
   No program
 regex-dna
   No program

 Measurements for all the accepted programs

 Lua LuaJIT : jit compiler fully compatible with lua 5.1 

LuaJIT 2.0 intellectual property disclosure and research opportunities

LuaJIT 2.0.0-beta2 -- Copyright (C) 2005-2009 Mike Pall

Home Page: The LuaJIT Project

Download: LuaJIT Download

Revised BSD license