complete re-write of jperf
Merge branch 'v2'