• Simon Zünd's avatar
    Extend Array.p.sort benchmarks. · 5874911b
    Simon Zünd authored
    This adds benchmarks that sort all element kinds with multiple comparison
    functions. This also adds benchmarks that cause the element kind of
    the array to change after x amount of comparisons.
    The last set of benchmarks that are added, measure performance on
    pre-sorted arrays.
    
    R=jgruber@chromium.org, petermarshall@chromium.org
    
    Bug: v8:7382
    Change-Id: I620de37f4a28f8096682bb708ea4f7a9a21d5316
    Reviewed-on: https://chromium-review.googlesource.com/1009602
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52574}
    5874911b
sort.js 558 Bytes