1. 28 Oct, 2020 1 commit
  2. 26 Oct, 2020 2 commits
    • Leszek Swirski's avatar
      [test] Speed up mjsunit/regress/regress-542823 more · 2361c7c6
      Leszek Swirski authored
      Make the array elements in msunit/regress/regress-542823 larger, so that
      it takes fewer of them to force the joined string to go into large
      object space. Also, set the array's size dynamically based on the
      maximum non-large object size, rather than having a fixed magic "large
      enough" size, and verify that the resulting joined string is indeed in
      LO space.
      
      This reduces the runtime of this test under slow_path and gc-stress from
      minutes to seconds.
      
      Bug: v8:11060
      Change-Id: I51d960b6a3e052199f50c1a6ba6fbce1b6d1ae38
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2498689
      Auto-Submit: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#70762}
      2361c7c6
    • Leszek Swirski's avatar
      [test] Speed up mjsunit/regress/regress-542823 · b12f17ab
      Leszek Swirski authored
      msunit/regress/regress-542823 is intended to test large object
      allocation in Array.prototype.join, but to do so it has a pretty
      inefficient way of first building a large array.
      
      Speed-up this test by using Array.prototype.fill, call .join directly,
      and make the whole thing an IIFE to avoid global loads.
      
      Bug: v8:11060
      Change-Id: I5906bcb6c65b10ec830b026cf1f24acb6d5e1aaf
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2498681
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Commit-Queue: Maya Lekova <mslekova@chromium.org>
      Auto-Submit: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#70755}
      b12f17ab
  3. 14 Oct, 2015 1 commit