From 71dd648fb7d31a959b8af6fc4ace6e116d8e8e23 Mon Sep 17 00:00:00 2001 From: Camillo Bruni Date: Tue, 30 Jun 2020 21:51:15 +0200 Subject: [PATCH] [js-perf-test] Add flags for async benchmark Skip unhandled promises for AsyncAwait performance test. Bug: v8:1099632 Change-Id: I21d69d5700860f0b05fb8c6c90ea85dc28cb3890 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2274606 Reviewed-by: Michael Stanton Commit-Queue: Camillo Bruni Cr-Commit-Position: refs/heads/master@{#68631} --- test/js-perf-test/AsyncAwait/baseline-naive-promises.js | 2 -- test/js-perf-test/JSTests5.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/test/js-perf-test/AsyncAwait/baseline-naive-promises.js b/test/js-perf-test/AsyncAwait/baseline-naive-promises.js index bcd4719db6..c2cdc5d51b 100644 --- a/test/js-perf-test/AsyncAwait/baseline-naive-promises.js +++ b/test/js-perf-test/AsyncAwait/baseline-naive-promises.js @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Flags: --ignore-unhandled-promises - new BenchmarkSuite('BaselineNaivePromises', [1000], [ new Benchmark('Basic', false, false, 0, Basic, Setup), ]); diff --git a/test/js-perf-test/JSTests5.json b/test/js-perf-test/JSTests5.json index 6d42cbdda9..996a537913 100644 --- a/test/js-perf-test/JSTests5.json +++ b/test/js-perf-test/JSTests5.json @@ -19,7 +19,7 @@ "baseline-babel-es2017.js", "baseline-naive-promises.js" ], - "flags": ["--allow-natives-syntax"], + "flags": ["--allow-natives-syntax", "--ignore-unhandled-promises"], "results_regexp": "^%s\\-AsyncAwait\\(Score\\): (.+)$", "tests": [ {"name": "BaselineES2017"},