Clean up the perf stuff.
Refactor the javadoc snippet testing stuff so it can be reused in the manual.