blob: b1b66242ba2d456428507c9bc360bb27ba660a15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Lua Benchmarks
Compare the performance of different Lua implementations
## Sample Results
Computer information:
```
Distro: CentOS release 6.8 (Final)
Kernel: 2.6.32-642.13.1.el6.x86_64
CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
```
![](https://raw.githubusercontent.com/gligneul/Lua-Benchmarks/master/results/speedup_luajit.png)
![](https://raw.githubusercontent.com/gligneul/Lua-Benchmarks/master/results/speedup_lua53.png)
![](https://raw.githubusercontent.com/gligneul/Lua-Benchmarks/master/results/speedup_lua5.png)
## Usage
```
usage: lua runbenchmarks.lua [options]
options:
--nruns <n> number of times that each test is executed (default = 3)
--no-supress don't supress error messages from tests
--output <name> name of the benchmark output
--normalize normalize the result based on the first binary
--speedup compute the speedup based on the first binary
--no-plot don't create the plot with gnuplot
--help show this message
```
|