some tests to see what features of scala cause big slowdowns