Add benchmark for string map keys.

This commit is contained in:
Bob Nystrom
2015-02-11 22:41:59 -08:00
parent 2bad33fbc8
commit 911d5e374f
9 changed files with 409 additions and 17 deletions
Regular → Executable
+3 -1
View File
@@ -44,7 +44,9 @@ BENCHMARK("for", r"""499999500000""")
BENCHMARK("method_call", r"""true
false""")
BENCHMARK("maps", r"""5000050000""")
BENCHMARK("map_numeric", r"""500000500000""")
BENCHMARK("map_string", r"""3645600""")
LANGUAGES = [
("wren", [os.path.join(WREN_DIR, 'wren')], ".wren"),