-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add more benchmarks #7
Comments
Great links thanks! Yeah absolutely. The benchmark/project is more like a stub rather than a complete benchmark to be honest. At least for me, I would like to bench/add:
Despite the good intentions, only the most common languages are production ready. Many of the languages listed in this repository lack objects, strings, memory functions, timers, collections/containers and so on. It is almost impossible to replicate the same tests for all of the languages without proper source modifications (heavy modifications in many cases). Fibonacci on the other hand is almost portable and universal, and it is a good indicator to discard a few languages that are too slow (compared to the others) or those that do not provide tail/call optimization at all (for example, I wouldnt use them if I am coding a procedural game or city generator :). If there are other good universal tests that you might be aware of, I am open for them (simple hashing/encryption comes to mind). Also:
Thanks for the interest too :) |
Right now the benchmarks look like they are all based on a simple fibonacci test, which I guess is a good start considering the number of runtimes being tested.
But just relying on this single type of benchmark is a bit one-sided and expanding the number of benchmarks is needed for a more accurate picture.
Perhaps we can list a few good candidates here. Two good sources I found are
https://github.com/kragen/shootout/tree/master/bench and https://github.com/attractivechaos/plb
Would be nice to pick something easy to implement but at the same time showing a different execution pattern than the fibonacci test.
The text was updated successfully, but these errors were encountered: