÷

 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.


 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/181/4
 mandelbrot1/2±
 n-body1/15±
 fasta1/11±
 spectral-norm1/121/3
 reverse-complement±±
 k-nucleotide±1/3
 fannkuch1/171/2
 binary-trees±

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

 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.843.841,548479  0% 0% 0% 100%
Java 6 -server12.955.0028,6241816  61% 59% 57% 55%
 mandelbrot 
Lua LuaJIT64.2817.2619,596607  89% 97% 91% 94%
Java 6 -server43.1210.9548,920903  98% 98% 99% 98%
 n-body 
Lua LuaJIT45.4245.428361197  100% 0% 0% 0%
Java 6 -server25.0325.0312,4081424  100% 0% 0% 0%
 fasta 
Lua LuaJIT16.3216.321,1721039  100% 0% 0% 0%
Java 6 -server7.507.4912,6481240  0% 1% 99% 0%
 spectral-norm 
Lua LuaJIT15.7015.701,048329  0% 0% 0% 100%
Java 6 -server15.954.1112,552950  97% 97% 98% 97%
 reverse-complement 
Lua LuaJIT13.3213.32438,836538  100% 0% 0% 0%
Java 6 -server2.982.94473,712592  1% 94% 4% 2%
 k-nucleotide 
Lua LuaJIT66.1966.18609,136613  100% 0% 0% 0%
Java 6 -server47.5314.24762,5481602  80% 80% 95% 79%
 fannkuch 
Lua LuaJIT113.12113.12832492  0% 33% 67% 0%
Java 6 -server66.2618.4313,7761150  78% 77% 98% 99%
 binary-trees 
Lua LuaJIT152.37152.37877,724446  84% 16% 2% 0%
Java 6 -server29.6319.18289,920603  24% 75% 27% 28%
 chameneos-redux
   No program
 regex-dna
   No program

 Lua LuaJIT : jit compiler fully compatible with lua 5.1 

LuaJIT 2.0 intellectual property disclosure and research opportunities

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

Home Page: The LuaJIT Project

Download: LuaJIT Download

Revised BSD license