[parser] Set intial size for reported_errors_ vector
Changing reported_errors_ from a ZoneList to a ZoneVector caused regressions in Octane/CodeLoad and some other parsing benchmarks. This could be because we don't give the vector an initial size. Change-Id: I42c6ae063681dc3490dbab260085e801e24ac569 Reviewed-on: https://chromium-review.googlesource.com/1186328Reviewed-by: Toon Verwaest <verwaest@chromium.org> Commit-Queue: Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#55335}
Showing
Please
register
or
sign in
to comment