Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(benchmark): sourcemap benchmark properly test `ConcatSourceMapBui…
…lder` (#4528) Make 2 changes to sourcemap benchmark: 1. Move counting line breaks in output text to outside of the measured loop. This operation is reasonably expensive, and isn't part of what we're trying to measure. 2. It looks like benchmark is trying to measure concatenating 2 source maps, but `for i in 0..1` was actually only concatenating 1.
- Loading branch information