Reduce GC pressure on js benchmarks