v8/test/js-perf-test/Intl/constructor.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1.0 KiB
JavaScript
Raw Normal View History

// Copyright 2019 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.
function NewIntlCollator() {
let obj = new Intl.Collator();
}
createSuite('NewIntlCollator', 100, NewIntlCollator, ()=>{});
function NewIntlDateTimeFormat() {
let obj = new Intl.DateTimeFormat();
}
createSuite('NewIntlDateTimeFormat', 100, NewIntlDateTimeFormat, ()=>{});
function NewIntlNumberFormat() {
let obj = new Intl.NumberFormat();
}
createSuite('NewIntlNumberFormat', 100, NewIntlNumberFormat, ()=>{});
function NewIntlPluralRules() {
let obj = new Intl.PluralRules();
}
createSuite('NewIntlPluralRules', 100, NewIntlPluralRules, ()=>{});
function NewIntlListFormat() {
let obj = new Intl.ListFormat();
}
createSuite('NewIntlListFormat', 100, NewIntlListFormat, ()=>{});
function NewIntlRelativeTimeFormat() {
let obj = new Intl.RelativeTimeFormat();
}
createSuite('NewIntlRelativeTimeFormat', 100, NewIntlRelativeTimeFormat, ()=>{});