Skip to content

Commit

Permalink
Add more interpreter microbenchmarks (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
smarr authored Jun 16, 2024
2 parents 14c1f7d + d0e6259 commit eebc87d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core-lib
Submodule core-lib updated 29 files
+43 −26 .github/workflows/ci.yml
+77 −0 Examples/Benchmarks/Interpreter/ArgRead.som
+74 −0 Examples/Benchmarks/Interpreter/ArrayReadConst.som
+74 −0 Examples/Benchmarks/Interpreter/ArrayWriteConstConst.som
+73 −0 Examples/Benchmarks/Interpreter/BlockSend0ConstReturn.som
+73 −0 Examples/Benchmarks/Interpreter/Const.som
+76 −0 Examples/Benchmarks/Interpreter/FieldConstWrite.som
+76 −0 Examples/Benchmarks/Interpreter/FieldRead.som
+76 −0 Examples/Benchmarks/Interpreter/FieldReadIncWrite.som
+76 −0 Examples/Benchmarks/Interpreter/FieldReadWrite.som
+73 −0 Examples/Benchmarks/Interpreter/GlobalRead.som
+74 −0 Examples/Benchmarks/Interpreter/LocalConstWrite.som
+74 −0 Examples/Benchmarks/Interpreter/LocalRead.som
+74 −0 Examples/Benchmarks/Interpreter/LocalReadIncWrite.som
+74 −0 Examples/Benchmarks/Interpreter/LocalReadWrite.som
+76 −0 Examples/Benchmarks/Interpreter/SelfSend0.som
+76 −0 Examples/Benchmarks/Interpreter/SelfSend0BlockConstNonLocalReturn.som
+4 −4 Examples/Benchmarks/TestSuite/TestCommon.som
+30 −0 Examples/Benchmarks/TestSuite/TestTestSuite.som
+20 −20 Examples/Benchmarks/TestSuite/Vector2Test.som
+20 −20 Examples/Benchmarks/TestSuite/Vector3Test.som
+20 −20 Examples/Benchmarks/TestSuite/Vector4Test.som
+20 −20 Examples/Benchmarks/TestSuite/Vector5Test.som
+20 −20 Examples/Benchmarks/TestSuite/VectorTest.som
+14 −3 Examples/Benchmarks/TestSuite/duplicate-tests.sh
+2 −2 Smalltalk/Vector.som
+5 −0 TestSuite/VectorSubclass.som
+12 −0 TestSuite/VectorTest.som
+122 −264 codespeed.conf
33 changes: 30 additions & 3 deletions rebench.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand Down Expand Up @@ -162,7 +185,7 @@ executors:
executable: som-native-interp-ast
profiler:
perf: {}

TruffleSOM-native-interp-bc:
path: .
executable: som-native-interp-bc
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit eebc87d

Please sign in to comment.