Added performance tester (borrowed from Munq)