used to test some algorithms performance.