Make print_stats more generic.
Always print out totals
We can now benchmark JS-to-JS in one step.