A kinda-sorta benchmarking program in Java