2018-04-11 07:20:56 +00:00
|
|
|
// Copyright 2018 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2018-04-12 10:41:39 +00:00
|
|
|
load('sort-base.js');
|
2018-04-11 07:20:56 +00:00
|
|
|
|
2018-04-12 10:41:39 +00:00
|
|
|
benchy('PackedSmi', Sort, CreatePackedSmiArray);
|
|
|
|
benchy('PackedDouble', Sort, CreatePackedDoubleArray);
|
|
|
|
benchy('PackedElement', Sort, CreatePackedObjectArray);
|
2018-04-11 07:20:56 +00:00
|
|
|
|
2018-04-12 10:41:39 +00:00
|
|
|
benchy('HoleySmi', Sort, CreateHoleySmiArray);
|
|
|
|
benchy('HoleyDouble', Sort, CreateHoleyDoubleArray);
|
|
|
|
benchy('HoleyElement', Sort, CreateHoleyObjectArray);
|
2018-04-11 07:20:56 +00:00
|
|
|
|
2018-04-12 10:41:39 +00:00
|
|
|
benchy('Dictionary', Sort, CreateDictionaryArray);
|