Commit 000b2890 authored by Andy Wingo's avatar Andy Wingo

Add luajit

parent 4424cff5
dynamic-languages.png

27 KB | W: | H:

dynamic-languages.png

29.1 KB | W: | H:

dynamic-languages.png
dynamic-languages.png
dynamic-languages.png
dynamic-languages.png
  • 2-up
  • Swipe
  • Onion skin
function fib(n)
if n < 2 then return n end
return fib(n-1) + fib(n-2)
end
print(fib(40))
local function fib(n)
if n < 2 then return n end
return fib(n-1) + fib(n-2)
end
print(fib(40))
......@@ -76,14 +76,18 @@
("guile 2.9.3*"
3.369 3.411 3.360 3.407 3.359 3.359 3.371 3.370 3.355 3.354)
("chez 9.5"
0.934 0.925 0.925 0.925 0.922 0.927 0.932 0.928 0.926 0.922))
0.934 0.925 0.925 0.925 0.922 0.927 0.932 0.928 0.926 0.922)
("luajit 2.1.x"
0.939 0.938 0.935 0.935 0.936 0.936 0.933 0.933 0.939 0.933))
("lexical"
("guile 2.9.2"
2.828 2.823 2.826 2.817 2.825 2.822 2.824 2.824 2.815 2.823)
("guile 2.9.3*"
1.970 1.960 1.966 1.977 1.959 1.958 1.959 1.995 1.965 1.962)
("chez 9.5"
0.801 0.785 0.791 0.789 0.783 0.788 0.787 0.787 0.791 0.789)))
0.801 0.785 0.791 0.789 0.783 0.788 0.787 0.787 0.791 0.789)
("luajit 2.1.x"
0.721 0.717 0.716 0.713 0.714 0.714 0.716 0.714 0.712 0.716)))
#:log-y-base 2
#:y-axis-label "wall-clock time (seconds); shorter is better"
#:write-to-png "top-level-vs-lexical.png")
......@@ -106,6 +110,8 @@
1.958 1.959 1.995 1.965 1.962)
("node 13.0.0-pre"
1.159 1.153 1.154 1.151 1.162 1.155 1.157 1.158 1.158 1.156)
("luajit 2.1.x (lexical)"
0.721 0.717 0.716 0.713 0.714 0.714 0.716 0.714 0.712 0.716)
("chez 9.5 (lexical)"
0.801 0.785 0.791 0.789 0.783
0.788 0.787 0.787 0.791 0.789))
......
top-level-vs-lexical.png

18.7 KB | W: | H:

top-level-vs-lexical.png

19.7 KB | W: | H:

top-level-vs-lexical.png
top-level-vs-lexical.png
top-level-vs-lexical.png
top-level-vs-lexical.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment