Example comparative performance test of algorithms