github.com/coyove/nj@v0.0.0-20221110084952-c7f8db1065c3/tests/bench/fib.lua (about) 1 start = os.clock() 2 3 function fib(n) 4 if n < 2 then return n end 5 return fib(n-1) + fib(n-2) 6 end 7 8 print(fib(35), os.clock() - start)