3 ms·
Are there any benchmarks to be posted beyond this tidbit I found in the FAQ? "A: Early tests show the potential to run RPerl apps about 7x faster than normal P
by jerf 11y ago
Are there any benchmarks to be posted beyond this tidbit I found in the FAQ?
"A: Early tests show the potential to run RPerl apps about 7x faster than normal Perl 5 when using Perl data structures, and up to 170x-350x faster when using C++ data structures. This does not include any fancy optimization techniques which could add even more speed in the future."
On the damper side, I'd caution against too much "fast" (usually in the "as C" context) excitement. There have now been many different efforts to speed up the 1990s-dynamic-scripting languages now, most notably Javascript but they all have fairly similar issues when running at speed, and as near as I can tell, on general code all of them have plateaued at roughly 6-10x slower than C. "Just compile it as C++" has been done.
On the "get excited" side, it's about time somebody may have some success at getting Perl to this performance level. Perl's really been left out in the cold by its fellow 1990s-dynamic-scripting brethren lately, between PyPy, all the JS efforts, all the various PHP engines and Hack.... It and Ruby have been left out of all the action, and there's a ton of code out there that could use the improvement.
- khc 11y agoThey have a bubble sort benchmark: http://rperl.org/performance_benchmarks.html http://rperl.org/performance_benchmarks.html .