Commit 5acdb557 authored by Ross McIlroy's avatar Ross McIlroy Committed by Commit Bot

[Interpreter] Add micro-benchmarks for string concatentation.

BUG=v8:6243

Change-Id: Ia6dfa407591d1b06d5b014627bb44413540aecb3
Reviewed-on: https://chromium-review.googlesource.com/516984Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45542}
parent efc9d543
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
load('../base.js'); load('../base.js');
load('compare.js'); load('compare.js');
load('string-concat.js');
var success = true; var success = true;
......
This diff is collapsed.
...@@ -394,7 +394,7 @@ ...@@ -394,7 +394,7 @@
"name": "BytecodeHandlers", "name": "BytecodeHandlers",
"path": ["BytecodeHandlers"], "path": ["BytecodeHandlers"],
"main": "run.js", "main": "run.js",
"resources": [ "compare.js" ], "resources": [ "compare.js", "string-concat.js" ],
"flags": [ "--no-opt" ], "flags": [ "--no-opt" ],
"results_regexp": "^%s\\-BytecodeHandler\\(Score\\): (.+)$", "results_regexp": "^%s\\-BytecodeHandler\\(Score\\): (.+)$",
"tests": [ "tests": [
...@@ -416,7 +416,19 @@ ...@@ -416,7 +416,19 @@
{"name": "Smi-RelationalCompare"}, {"name": "Smi-RelationalCompare"},
{"name": "Number-RelationalCompare"}, {"name": "Number-RelationalCompare"},
{"name": "String-RelationalCompare"}, {"name": "String-RelationalCompare"},
{"name": "SmiString-RelationalCompare"} {"name": "SmiString-RelationalCompare"},
{"name": "ShortString-StringConcat-2"},
{"name": "ShortString-StringConcat-3"},
{"name": "ShortString-StringConcat-5"},
{"name": "ShortString-StringConcat-10"},
{"name": "LongString-StringConcat-2"},
{"name": "LongString-StringConcat-3"},
{"name": "LongString-StringConcat-5"},
{"name": "LongString-StringConcat-10"},
{"name": "NumberString-StringConcat-2"},
{"name": "NumberString-StringConcat-3"},
{"name": "NumberString-StringConcat-5"},
{"name": "NumberString-StringConcat-10"}
] ]
} }
] ]
......
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