Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squirrel benchmarks? #234

Open
rversteegen opened this issue Feb 15, 2021 · 3 comments
Open

Squirrel benchmarks? #234

rversteegen opened this issue Feb 15, 2021 · 3 comments

Comments

@rversteegen
Copy link

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/.

@albertodemichelis
Copy link
Owner

There are no benchmarks other then the ones in the samples folder.

@rversteegen
Copy link
Author

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.

@AntonYudintsev
Copy link

some squirrel (and other languages) benchmarks
https://github.com/GaijinEntertainment/daScript/tree/master/examples/profile/tests/squirrel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants