Re: Simple integer math benchmark
- Posted by _tom (admin) Dec 06, 2013
- 5928 views
What do they say... ?
There are lies, bloody lies and benchmarks! ;)
But thanks for the effort.
A benchmark is only meaningful if your write it yourself to test a particular idea. In this case testing a home-brew interpreter against a variety of others.
Otherwise its just fun to realize that O[ does very well.
@admins - how about adding the benchmarks with the eui / watcom / gcc to the manual with a link on the homepage?
I added a link from the wiki page on benchmarking to this forum entry.
The updated user manual has a page on benchmarking results.
My son recently had an article published (he is a java programmer) where he says old school hand coding programming is dead,
I like to remind him that there is nothing like hand coding with a decent tool to get speed.
I ran the benchmark on my netbook:
- eui = 49.6 s
- euc = 4.9 s
The obvious solution to getting a better benchmark score is to get a faster computer.
Or, I could use a less efficient interpreter and take much longer to execute the same program.