Skip to content

BENCHMARK: Lua vs vs LuaJIT vs C (MSVC, GCC, LLVM) vs Java vs Perl vs Javascript vs Python vs C# (.NET CLR, Mono) vs Ruby vs R

Notifications You must be signed in to change notification settings

csterling4/benchmark-language

 
 

Repository files navigation

How to run?

>run-benchmark.bat


BENCHMARK (FASTEST TIME)

BENCHMARK: Lua vs vs LuaJIT vs C vs Java vs Perl vs Javascript vs Python vs C# vs Ruby


Result:

LUA 5.3.4
7051.5711976423
command took 0:0:6.87 (6.87s total)

LUAC 5.3.4
7051.5711976423
command took 0:0:6.84 (6.84s total)

LuaJIT 2.0.5
7051.5711976423
command took 0:0:0.67 (0.67s total)

C (MSVC 18, VS 2013)
7051.571198
command took 0:0:0.56 (0.56s total)

C (GCC 7.2.0)
7051.571198
command took 0:0:0.67 (0.67s total)

C (LLVM 6.0.0)
7051.571198
command took 0:0:0.56 (0.56s total)

C (Embarcadero C++ 6.60 for Win32)
7051.571198
command took 0:0:1.01 (1.01s total)

Java JRE 1.8.0_20
7051.571197642306
command took 0:0:0.65 (0.65s total)

Perl 5.26.1
7051.57119764231
command took 0:0:26.89 (26.89s total)

Javascript (Node.js 4.4.6)
7051.571197642306
command took 0:0:2.49 (2.49s total)

Python 3.7.1
7051.571197642306
command took 0:0:40.17 (40.17s total)

C# .NET CLR (CSC 12)
7051.57119764231
command took 0:0:0.67 (0.67s total)

C# Mono (CSC 12)
7051.57119764231
command took 0:0:0.98 (0.98s total)

Ruby 2.5.1
7051.571197642306
command took 0:0:12.97 (12.97s total)

R 3.5.1
[1] 7051.571
command took 0:0:15.71 (15.56s total)

About

BENCHMARK: Lua vs vs LuaJIT vs C (MSVC, GCC, LLVM) vs Java vs Perl vs Javascript vs Python vs C# (.NET CLR, Mono) vs Ruby vs R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Batchfile 57.9%
  • C 12.2%
  • C# 11.0%
  • Java 4.5%
  • Other 2.5%
  • Perl 2.2%
  • Other 9.7%