squirrel
squirrel copied to clipboard
Squirrel benchmarks?
I have a number of optimisations and bug fixes, and now I want some benchmarks to test the effect on language speed. I'm surprised that I could only find trivial Squirrel benchmarks like Fibonacci.
While it's easy to port Lua or JS to Squirrel, before I spent time on it I'd like to know if anyone already has any. Especially benchmarks that use Squirrel features like classes, closures, metamethods, the builtin methods on datatypes, its standard library, or the C API. It's nice if there's also versions of the benchmark in other languages
Once I have a collection of benchmarks I suggest adding them to the code repo as examples and to use for development; there are already a few trivial ones in scripts/samples/.
There are no benchmarks other then the ones in the samples folder.
OK, thanks. I discovered https://github.com/kiwipower/squirrel-benchmark which has a large number of micro-benchmarks, and am porting and collecting some larger ones. On second thoughts it might be best to keep the benchmarks in a separate repo, as it's not so trivial: I want scripts for running them, excluding outliers, reporting results relative to a previous version, and comparing build configurations.
some squirrel (and other languages) benchmarks https://github.com/GaijinEntertainment/daScript/tree/master/examples/profile/tests/squirrel