Benchmarking of Asm.js patterns