An Informal Perl Benchmark

I’ve been doing this Perl benchmark for years. It’s short and sweet. How long does it take a Mac to do 10,000,000 sines? It’s a simple Perl script.

The results are simple and illuminating.

If you do this test on a PowerBook/MacBook, make sure the power is plugged in and the Energy Saver is set to max. performance. It’s hard to avoid background processes; just make sure no CPU hungry tasks are running.

If you are familiar with Perl and want to run this test, send me your results.

Leave a Reply