Add a benchmark for wrenCall().

This commit is contained in:
Bob Nystrom
2015-12-23 17:29:53 -08:00
parent b7e62926ab
commit 15043b897f
6 changed files with 76 additions and 3 deletions
+2
View File
@@ -51,6 +51,8 @@ def BENCHMARK(name, pattern):
regex = re.compile(pattern + "\n" + r"elapsed: (\d+\.\d+)", re.MULTILINE)
BENCHMARKS.append([name, regex, None])
BENCHMARK("api_call", "true")
BENCHMARK("api_foreign_method", "100000000")
BENCHMARK("binary_trees", """stretch tree of depth 13 check: -1