pi2test by Alex Eames of RasPi.TV Shared under CC BY-SA 3.0 license
Scripts for hammering CPUs on Pi 2 and other computers
This was designed for testing multicore performance on the Raspberry Pi 2
I've blogged about it here... http://RasPi.tv/?p=7684
Video here... http://youtu.be/f3vCVfxl0MA
To run this on your Pi...
git clone https://github.com/raspitv/pi2test/
Then it will ask how many threads. Type a number and that's it.