7ed989817a
- Add tests comparing super property access to normal property access - Shift the work so that the framework takes less time and the thing we're trying to measure takes more time. - Optimize / disable the optimization for the target function, not the whole test framework. - Reduce the amount of boilerplate code in the tests. Bug: v8:9237 Change-Id: Idde133298c9b8ffb3d49945ef9c67f5039634598 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2536635 Reviewed-by: Shu-yu Guo <syg@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#71196}
215 lines
7.0 KiB
JSON
215 lines
7.0 KiB
JSON
{
|
|
"owners": ["marja@chromium.org"],
|
|
"name": "SuperIC",
|
|
"run_count": 3,
|
|
"run_count_arm": 1,
|
|
"run_count_arm64": 1,
|
|
"timeout": 120,
|
|
"timeout_arm64": 240,
|
|
"units": "score",
|
|
"total": true,
|
|
"resources": ["base.js"],
|
|
"tests": [
|
|
{
|
|
"name": "Compare-Monomorphic-1-opt",
|
|
"path": ["SuperIC"],
|
|
"results_regexp": "^%s\\(Score\\): (.+)$",
|
|
"resources": ["compare-super-and-normal-property-access.js"],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"tests": [
|
|
{
|
|
"name": "normal-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["normal-opt", "normal_1", "opt"]
|
|
},
|
|
{
|
|
"name": "super-baseline-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["super-baseline-opt", "super_1", "opt"]
|
|
},
|
|
{
|
|
"name": "super-super-ic-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"flags": ["--super-ic"],
|
|
"test_flags": ["super-super-ic-opt", "super_1", "opt"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Compare-Monomorphic-1-noopt",
|
|
"path": ["SuperIC"],
|
|
"results_regexp": "^%s\\(Score\\): (.+)$",
|
|
"resources": ["compare-super-and-normal-property-access.js"],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"tests": [
|
|
{
|
|
"name": "normal-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["normal-noopt", "normal_1", "noopt"]
|
|
},
|
|
{
|
|
"name": "super-baseline-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["super-baseline-noopt", "super_1", "noopt"]
|
|
},
|
|
{
|
|
"name": "super-super-ic-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"flags": ["--super-ic"],
|
|
"test_flags": ["super-super-ic-noopt", "super_1", "noopt"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Compare-Monomorphic-2-opt",
|
|
"path": ["SuperIC"],
|
|
"results_regexp": "^%s\\(Score\\): (.+)$",
|
|
"resources": ["compare-super-and-normal-property-access.js"],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"tests": [
|
|
{
|
|
"name": "normal-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["normal-opt", "normal_2", "opt"]
|
|
},
|
|
{
|
|
"name": "super-baseline-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["super-baseline-opt", "super_2", "opt"]
|
|
},
|
|
{
|
|
"name": "super-super-ic-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"flags": ["--super-ic"],
|
|
"test_flags": ["super-super-ic-opt", "super_2", "opt"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Compare-Monomorphic-2-noopt",
|
|
"path": ["SuperIC"],
|
|
"results_regexp": "^%s\\(Score\\): (.+)$",
|
|
"resources": ["compare-super-and-normal-property-access.js"],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"tests": [
|
|
{
|
|
"name": "normal-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["normal-noopt", "normal_2", "noopt"]
|
|
},
|
|
{
|
|
"name": "super-baseline-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["super-baseline-noopt", "super_2", "noopt"]
|
|
},
|
|
{
|
|
"name": "super-super-ic-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"flags": ["--super-ic"],
|
|
"test_flags": ["super-super-ic-noopt", "super_2", "noopt"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Compare-Megamorphic-1-opt",
|
|
"path": ["SuperIC"],
|
|
"results_regexp": "^%s\\(Score\\): (.+)$",
|
|
"resources": ["compare-super-and-normal-property-access.js"],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"tests": [
|
|
{
|
|
"name": "normal-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["normal-opt", "normal_3", "opt"]
|
|
},
|
|
{
|
|
"name": "super-baseline-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["super-baseline-opt", "super_3", "opt"]
|
|
},
|
|
{
|
|
"name": "super-super-ic-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"flags": ["--super-ic"],
|
|
"test_flags": ["super-super-ic-opt", "super_3", "opt"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Compare-Megamorphic-1-noopt",
|
|
"path": ["SuperIC"],
|
|
"results_regexp": "^%s\\(Score\\): (.+)$",
|
|
"resources": ["compare-super-and-normal-property-access.js"],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"tests": [
|
|
{
|
|
"name": "normal-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["normal-noopt", "normal_3", "noopt"]
|
|
},
|
|
{
|
|
"name": "super-baseline-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["super-baseline-noopt", "super_3", "noopt"]
|
|
},
|
|
{
|
|
"name": "super-super-ic-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"flags": ["--super-ic"],
|
|
"test_flags": ["super-super-ic-noopt", "super_3", "noopt"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Compare-Megamorphic-2-opt",
|
|
"path": ["SuperIC"],
|
|
"results_regexp": "^%s\\(Score\\): (.+)$",
|
|
"resources": ["compare-super-and-normal-property-access.js"],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"tests": [
|
|
{
|
|
"name": "normal-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["normal-opt", "normal_4", "opt"]
|
|
},
|
|
{
|
|
"name": "super-baseline-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["super-baseline-opt", "super_4", "opt"]
|
|
},
|
|
{
|
|
"name": "super-super-ic-opt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"flags": ["--super-ic"],
|
|
"test_flags": ["super-super-ic-opt", "super_4", "opt"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Compare-Megamorphic-2-noopt",
|
|
"path": ["SuperIC"],
|
|
"results_regexp": "^%s\\(Score\\): (.+)$",
|
|
"resources": ["compare-super-and-normal-property-access.js"],
|
|
"flags": ["--allow-natives-syntax"],
|
|
"tests": [
|
|
{
|
|
"name": "normal-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["normal-noopt", "normal_4", "noopt"]
|
|
},
|
|
{
|
|
"name": "super-baseline-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"test_flags": ["super-baseline-noopt", "super_4", "noopt"]
|
|
},
|
|
{
|
|
"name": "super-super-ic-noopt",
|
|
"main": "compare-super-and-normal-property-access.js",
|
|
"flags": ["--super-ic"],
|
|
"test_flags": ["super-super-ic-noopt", "super_4", "noopt"]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|