A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | daScript CLANG 8.0.1 | daScript AOT, CLANG 8.0.1 | C++ CLANG 8.0.1 | JS Chrome, jit | LuaJit, no jit | LuaJit, jit | Lua | squirrel, modified | squirrel | Duktape | AngelScript no jit | AngelScript jit | C++/DAS AOT, in % | LuaJit/DAS no jit, in % | LuaJit/DAS jit/AOT in % | ||
2 | 10/6/2020 | 10/6/2020 | 10/6/2020 | 10/27/2019 | 10/27/2019 | 10/27/2019 | 10/27/2019 | 10/27/2019 | 10/27/2019 | 10/27/2019 | 10/27/2019 | 10/27/2019 | |||||
3 | fibonacci loop | 0.034229 | 0.00176 | 0.00176 | 0.005399902344 | 0.0540058 | 0.0071324 | 0.161 | 0.123 | 0.132 | 0.137 | 0.137 | 0.022 | 100 | 157.8 | 405.3 | |
4 | fibonacci recursive | 0.037949 | 0.007039 | 0.006925 | 0.01630004883 | 0.0649003 | 0.014446 | 0.196 | 0.328 | 0.342 | 0.618 | 0.173 | 0.094 | 98.4 | 171 | 205.2 | |
5 | primes loop | 0.053852 | 0.035932 | 0.026967 | 0.04830004883 | 0.1043745 | 0.0420193 | 0.265 | 0.467 | 0.461 | 0.479 | 0.206 | 0.045 | 75.1 | 193.8 | 116.9 | |
6 | exp | 0.016868 | 0.005985 | 0.004855 | 0.009989990234 | 0.0261384 | 0.0092568 | 0.069 | 0.103 | 0.099 | 0.168 | 81.1 | 155 | 154.7 | |||
7 | native loop | 0.041267 | 0.010997 | 1.177477 | 0.0136704 | 1.014 | 0.487 | 0.29 | 0 | 2853.3 | 124.3 | ||||||
8 | particles kinematics | 0.041733 | 0.00581 | 0.008651 | 0.2690991211 | 0.4734603 | 0.1382981 | 2.285 | 1.402 | 1.533 | 3.053 | 148.9 | 1134.5 | 2380.3 | |||
9 | particles kinematics, inlined | 0.011877 | 0.00582 | 0.00788 | 0.02664013672 | 0.4169366 | 0.1379588 | 2.133 | 1.17 | 1.306 | 2.434 | 0.76 | 0.802 | 135.4 | 3510.5 | 2370.4 | |
10 | dictionary | 0.021207 | 0.013458 | 0.065555 | 0.01660498047 | 0.0371703 | 0.0230993 | 0.112 | 0.127 | 0.137 | 0.303 | 487.1 | 175.3 | 171.6 | |||
11 | nbodies | 0.23777 | 0.041849 | 0.055106 | 0.05979980469 | 0.7215582 | 0.1137083 | 2.429 | 2.641 | 2.966 | 6.417 | 2.198 | 1.971 | 131.7 | 303.5 | 271.7 | |
12 | sha-256 | 0.117115 | 0.006476 | 0.3091433 | 0.0394034 | 0 | 264 | 608.5 | |||||||||
13 | treap | 1.39381 | 0.194774 | 0.201402 | 0.8008049316 | 1.6343243 | 0.8604101 | 4.846 | 20.687 | 103.4 | 117.3 | 441.7 | |||||
14 | try-catch | 0.179787 | 0.087843 | 0.194006 | 0.1776103 | 0.1778771 | 0.264 | 0.072 | 220.9 | 98.8 | 202.5 | ||||||
15 | |||||||||||||||||
16 | BOLD is fastest PURPLE is fastest interprted PURBLE BOLD is fastest interpreted and overall RED is where the biggest known issue is ORANGE is where C++ did not win over everything |
A | B | C | D | E | F | G | H | |
---|---|---|---|---|---|---|---|---|
1 | Interpretor (msec) | daScript interp, LLVM-8.0.1, ms | Das/C++ llvm reference (%) | Das/LuaJIT times faster | Das/Lua times faster | Das/Squirrel times faster | Das/Duktape times faster | Das/AngelScript times faster |
2 | fibonacci loop | 34.23 | 5 | 1.58 | 4.7 | 3.59 | 4 | 4 |
3 | fibonacci recursive | 37.95 | 18 | 1.71 | 5.16 | 8.64 | 16.29 | 4.56 |
4 | primes loop | 53.85 | 50 | 1.94 | 4.92 | 8.67 | 8.89 | 3.83 |
5 | exp loop | 16.87 | 29 | 1.55 | 4.09 | 6.11 | 9.96 | |
6 | C++ interop loop | 41.27 | 0 | 28.53 | 24.57 | 11.8 | ||
7 | particles kinematics, inlined | 11.88 | 73 | 35.1 | 179.59 | 98.51 | 204.93 | 63.99 |
8 | dictionary | 21.21 | 37 | 1.75 | 5.28 | 5.99 | 14.29 | |
9 | n-bodies: Solar system | 237.77 | 23 | 3.03 | 10.22 | 11.11 | 26.99 | 9.24 |
10 | Treap (benchmark) | 1393.81 | 14 | 1.17 | 3.48 | 14.84 |
A | B | C | D | E | F | G | |
---|---|---|---|---|---|---|---|
1 | AoT/jit | daScript AoT, LLVM-8.0.1, ms | AoT times faster | C++, LLVM-8.0.1 das times faster | JS Chrome, jit das times faster | LuaJIT, jit das times faster | AngelScript jit das times faster |
2 | fibonacci loop | 1.76 | 19.45 | 1 | 3.07 | 4.05 | 12.5 |
3 | fibonacci recursive | 7.04 | 5.39 | 0.98 | 2.32 | 2.05 | 13.35 |
4 | primes loop | 35.93 | 1.5 | 0.75 | 1.34 | 1.17 | 1.25 |
5 | exp loop | 5.99 | 2.82 | 0.81 | 1.67 | 1.55 | |
6 | C++ interop loop | 11 | 3.75 | 1.24 | 26.37 | ||
7 | particles kinematics, inlined | 5.82 | 2.04 | 1.35 | 4.58 | 23.7 | 137.8 |
8 | dictionary | 13.46 | 1.58 | 4.87 | 1.23 | 1.72 | |
9 | n-bodies: Solar system | 41.85 | 5.68 | 1.32 | 1.43 | 2.72 | 47.1 |
10 | Treap (benchmark) | 194.77 | 7.16 | 1.03 | 4.11 | 4.42 |