a simple multi-thread performence tester