[js-perf-test] Move SubRegExp class definition outside loop
Defining the subclass within the loop significantly affects subsequent test results. For instance, the Search benchmark is 50% slower if the subclass is defined within the loop. BUG=v8:5339 Review-Url: https://codereview.chromium.org/2537253003 Cr-Commit-Position: refs/heads/master@{#41384}
Showing
Please
register
or
sign in
to comment