Commit c7966ad5 authored by Santiago Aboy Solanes's avatar Santiago Aboy Solanes Committed by Commit Bot

[test] Add micro-benchmark tests for calls with local vars

Reorganized folder as well.

Bug: v8:9451
Change-Id: I65203aa88791dd05d6ca0127d5b832ccd898aa52
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1695901
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62690}
parent b9a621cd
This diff is collapsed.
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
load('../base.js'); load('../base.js');
load('InterpreterEntryTrampoline.js'); load(arguments[0] + '.js');
var success = true; var success = true;
......
...@@ -377,15 +377,38 @@ ...@@ -377,15 +377,38 @@
{ {
"name": "InterpreterEntryTrampoline", "name": "InterpreterEntryTrampoline",
"path": ["InterpreterEntryTrampoline"], "path": ["InterpreterEntryTrampoline"],
"main": "run.js",
"flags": ["--no-opt"], "flags": ["--no-opt"],
"resources": ["InterpreterEntryTrampoline.js"],
"results_regexp": "^%s\\-InterpreterEntryTrampoline\\(Score\\): (.+)$",
"tests": [ "tests": [
{"name": "Calls-No-Argument"}, {
{"name": "Calls-One-Argument"}, "name": "Arguments",
{"name": "Calls-Six-Arguments"}, "main": "run.js",
{"name": "Calls-With-Receiver"} "resources": [ "arguments.js" ],
"test_flags": [ "arguments" ],
"results_regexp": "^%s\\-InterpreterEntryTrampoline\\(Score\\): (.+)$",
"tests": [
{"name": "Calls-No-Argument"},
{"name": "Calls-One-Argument"},
{"name": "Calls-Six-Arguments"},
{"name": "Calls-With-Receiver"}
]
},
{
"name": "Locals",
"main": "run.js",
"resources": [ "locals.js" ],
"test_flags": [ "locals" ],
"results_regexp": "^%s\\-InterpreterEntryTrampoline\\(Score\\): (.+)$",
"tests": [
{"name": "Calls-No-Argument"},
{"name": "Calls-No-Argument-1-Local"},
{"name": "Calls-No-Argument-2-Locals"},
{"name": "Calls-No-Argument-3-Locals"},
{"name": "Calls-No-Argument-4-Locals"},
{"name": "Calls-No-Argument-5-Locals"},
{"name": "Calls-No-Argument-10-Locals"},
{"name": "Calls-No-Argument-100-Locals"}
]
}
] ]
} }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment