From 8946baedc6f44a43739fb5783c572208fdd18617 Mon Sep 17 00:00:00 2001 From: Stefan Marr Date: Sun, 16 Jun 2024 15:24:12 +0100 Subject: [PATCH] Add interpreter microbenchmarks Signed-off-by: Stefan Marr --- core-lib | 2 +- rebench.conf | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/core-lib b/core-lib index 736a5be..9c04914 160000 --- a/core-lib +++ b/core-lib @@ -1 +1 @@ -Subproject commit 736a5be3a811c717c1b5f78e39b696356442952e +Subproject commit 9c04914f800dc3ccbfaa1dc8fcf78cc5714549a4 diff --git a/rebench.conf b/rebench.conf index af7db9c..4271e59 100644 --- a/rebench.conf +++ b/rebench.conf @@ -65,6 +65,29 @@ benchmark_suites: - Recurse: {extra_args: 1} - Mandelbrot: {extra_args: 3} + interpreter: + description: Basic interpreter benchmarks for comparing performance of most basic concepts. + gauge_adapter: RebenchLog + invocations: 5 + command: "-cp Smalltalk:Examples/Benchmarks/Interpreter Examples/Benchmarks/BenchmarkHarness.som %(benchmark)s %(iterations)s 1" + benchmarks: + - ArgRead + - ArrayReadConst + - ArrayWriteConstConst + - BlockSend0ConstReturn + - Const + - FieldConstWrite + - FieldRead + - FieldReadIncWrite + - FieldReadWrite + - GlobalRead + - LocalConstWrite + - LocalRead + - LocalReadIncWrite + - LocalReadWrite + - SelfSend0 + - SelfSend0BlockConstNonLocalReturn + executors: som: {path: ., executable: som.sh} somsom: @@ -80,6 +103,7 @@ experiments: suites: - micro - macro + - interpreter executions: - som SomSom: