I'm trying out different CLs and I can't figure out how to consistently invoke with valgrind. With cmucl I can't even see how to invoke a cl program as a script. I guess CLs often have an interpreted vs compiled mode, too; so my approach may be incongruous to CLs in general?
I also tried timings, but the one example I found just returns 0 for the execution time; so that's not helpful.
For something that was just a curiosity, this is really killing my interest.
ecl: 1.359ms
clisp: 9.174ms
sbcl: 0.071ms
More microbenchmark results!
(x): Bytes in use at exit
(m): Bytes allocated
(a): Allocs
(f): Frees
ecl:
1.145 ms
(x) 576 b (m) 5.28 kb (a) 20 (f) 18
go:
0.0031 ms
(x) 1.7 kb (m) 12.9 kb (a) 70 (f) 64
python:
0.00093 ms
(x) 291 kb (m) 3.4 mb (a) 4,152 (f) 4,016
sbcl:
0.071 ms
(x) 488 kb (m) 533 kb (a) 31 (f) 16
#microbenchmark #programming