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 @@
// found in the LICENSE file.
load('../base.js');
load('InterpreterEntryTrampoline.js');
load(arguments[0] + '.js');
var success = true;
......
......@@ -377,15 +377,38 @@
{
"name": "InterpreterEntryTrampoline",
"path": ["InterpreterEntryTrampoline"],
"main": "run.js",
"flags": ["--no-opt"],
"resources": ["InterpreterEntryTrampoline.js"],
"results_regexp": "^%s\\-InterpreterEntryTrampoline\\(Score\\): (.+)$",
"tests": [
{"name": "Calls-No-Argument"},
{"name": "Calls-One-Argument"},
{"name": "Calls-Six-Arguments"},
{"name": "Calls-With-Receiver"}
{
"name": "Arguments",
"main": "run.js",
"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