Add a benchmark to test the Wren C API.

I've got some ideas on how to tweak the embedding API, but I want to
see what performance impact they have first, so this adds a little
benchmark that just calls a foreign method a ton of times.
This commit is contained in:
Bob Nystrom
2015-12-15 16:02:13 -08:00
parent 873926915f
commit 01e8f9053e
16 changed files with 118 additions and 60 deletions
+4
View File
@@ -46,6 +46,10 @@ test: debug
@ $(MAKE) -f util/wren.mk MODE=debug test
@ ./util/test.py $(suite)
benchmark: release
@ $(MAKE) -f util/wren.mk test
@ ./util/benchmark.py $(suite)
# Generate the Wren site.
docs:
@ ./util/generate_docs.py