From 50089eff3ba003972f2183087a669b56dda74702 Mon Sep 17 00:00:00 2001 From: Florian Sattler Date: Thu, 30 Aug 2018 12:57:12 +0200 Subject: [PATCH] [js-perf] Further reducing test-case size. This is needed to meet the timeout requirements of android builds. Change-Id: Ia771f94683e2e0c88c54ed0e0a75925abfa85786 Reviewed-on: https://chromium-review.googlesource.com/1196508 Reviewed-by: Toon Verwaest Commit-Queue: Florian Sattler Cr-Commit-Position: refs/heads/master@{#55519} --- test/js-perf-test/Parsing/arrowfunctions.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/js-perf-test/Parsing/arrowfunctions.js b/test/js-perf-test/Parsing/arrowfunctions.js index bee4ef8b30..40955ea450 100644 --- a/test/js-perf-test/Parsing/arrowfunctions.js +++ b/test/js-perf-test/Parsing/arrowfunctions.js @@ -27,29 +27,29 @@ new BenchmarkSuite("FakeArrowFunction", [1000], [ ]); function ArrowFunctionShortSetup() { - code = "let a;\n" + "a = (a,b) => { return a+b; }\n".repeat(100) + code = "let a;\n" + "a = (a,b) => { return a+b; }\n".repeat(50) } function ArrowFunctionLongSetup() { - code = "let a;\n" + "a = (a,b,c,d,e,f,g,h,i,j) => { return a+b; }\n".repeat(100) + code = "let a;\n" + "a = (a,b,c,d,e,f,g,h,i,j) => { return a+b; }\n".repeat(50) } function CommaSepExpressionListShortSetup() { - code = "let a;\n" + "a = (a,1)\n".repeat(100) + code = "let a;\n" + "a = (a,1)\n".repeat(50) } function CommaSepExpressionListLongSetup() { - code = "let a; let b; let c;\n" + "a = (a,2,3,4,5,b,c,1,7,1)\n".repeat(100) + code = "let a; let b; let c;\n" + "a = (a,2,3,4,5,b,c,1,7,1)\n".repeat(50) } function CommaSepExpressionListLateSetup() { code = "let a; let b; let c; let d; let e; let f; let g; let h; let i;\n" - + "a = (a,b,c,d,e,f,g,h,i,1)\n".repeat(100) + + "a = (a,b,c,d,e,f,g,h,i,1)\n".repeat(50) } function FakeArrowFunctionSetup() { code = "let a; let b; let c; let d; let e; let f; let g; let h; let i; let j;\n" - + "a = (a,b,c,d,e,f,g,h,i,j)\n".repeat(100) + + "a = (a,b,c,d,e,f,g,h,i,j)\n".repeat(50) } function Run() {