Various microbenchmarks and tests.