From d0e625949d8b7ef0619fb9e857dbccffd483d4b3 Mon Sep 17 00:00:00 2001 From: Stefan Marr Date: Sun, 16 Jun 2024 02:07:45 +0100 Subject: [PATCH] Add new interpreter microbenchmarks --- core-lib | 2 +- rebench.conf | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/core-lib b/core-lib index 79f33c8a2..9c04914f8 160000 --- a/core-lib +++ b/core-lib @@ -1 +1 @@ -Subproject commit 79f33c8a2376ce25288fe5b382a0e79f8f529472 +Subproject commit 9c04914f800dc3ccbfaa1dc8fcf78cc5714549a4 diff --git a/rebench.conf b/rebench.conf index f37a5d26c..083f9f4d5 100644 --- a/rebench.conf +++ b/rebench.conf @@ -132,6 +132,29 @@ benchmark_suites: - SomParse: {extra_args: 1, machines: [yuria2]} - SomInit: {extra_args: 10000, machines: [yuria2]} + 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: {machines: [yuria ]} + - ArrayReadConst: {machines: [yuria ]} + - ArrayWriteConstConst: {machines: [yuria ]} + - BlockSend0ConstReturn: {machines: [yuria ]} + - Const: {machines: [yuria ]} + - FieldConstWrite: {machines: [yuria ]} + - FieldRead: {machines: [yuria ]} + - FieldReadIncWrite: {machines: [yuria ]} + - FieldReadWrite: {machines: [yuria ]} + - GlobalRead: {machines: [yuria ]} + - LocalConstWrite: {machines: [yuria ]} + - LocalRead: {machines: [yuria ]} + - LocalReadIncWrite: {machines: [yuria ]} + - LocalReadWrite: {machines: [yuria ]} + - SelfSend0: {machines: [yuria ]} + - SelfSend0BlockConstNonLocalReturn: {machines: [yuria ]} + executors: TruffleSOM-interp: path: . @@ -162,7 +185,7 @@ executors: executable: som-native-interp-ast profiler: perf: {} - + TruffleSOM-native-interp-bc: path: . executable: som-native-interp-bc @@ -181,7 +204,7 @@ executors: executable: som-native-interp-ast-ee profiler: perf: {} - + TruffleSOM-native-interp-bc-ee: path: . executable: som-native-interp-bc-ee @@ -249,12 +272,14 @@ experiments: - macro-startup - awfy-startup - som-parse + - interpreter - TruffleSOM-native-interp-bc: suites: - micro-startup - macro-startup - awfy-startup - som-parse + - interpreter - SomSom-native-interp-ast: suites: - micro-somsom @@ -268,19 +293,21 @@ experiments: - macro-startup - awfy-startup - som-parse + - interpreter - TruffleSOM-native-interp-bc-ee: suites: - micro-startup - macro-startup - awfy-startup - som-parse + - interpreter - SomSom-native-interp-ast-ee: suites: - micro-somsom - SomSom-native-interp-bc-ee: suites: - micro-somsom - + profiling: description: Profile Native Image Interpreters action: profile