From 5a593da533820f5bcd1c6540e93dc5bec281518e Mon Sep 17 00:00:00 2001 From: Bobbi Webber-Manners Date: Fri, 11 May 2018 19:38:58 -0400 Subject: [PATCH] New benchmark page --- Benchmark.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Benchmark.md diff --git a/Benchmark.md b/Benchmark.md new file mode 100644 index 0000000..87b4d0e --- /dev/null +++ b/Benchmark.md @@ -0,0 +1,12 @@ +I used the `sieve4.8b` script to benchmark EightBall. + +I set `sz` to 30 in order to compute the first 900 primes. + +Timings include the the printing of the results. + +Running on an Apple //e (1MHz 6502.) + +- **Interpreter** - took 6 mins 12 sec from `run` to termination. +- **Compiler** - took 43 seconds from completion of loading bytecode until termination. + +The compiler is achieving a speedup of 8.65 compared to the interpreter. \ No newline at end of file