We should chat about this in person because I'm not too familiar with benchmark.js, but is this stuff code-gen'd from something more human readable?  Very hard to code review this otherwise.