Skip to content

Commit

Permalink
Do not use CommandLineToolSet during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Dec 22, 2023
1 parent 386d681 commit c39285b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public void ensureLoaded() {
Processor activeProcess instVarNamed: #suspendedContext put: nil.
"Avoid interactive windows and instead exit on errors."
ToolSet default: CommandLineToolSet.
%s ifFalse: [ ToolSet default: CommandLineToolSet ].
"Start up image (see SmalltalkImage>>#snapshot:andQuit:withExitCode:embedded:)."
Smalltalk
Expand All @@ -231,7 +231,7 @@ public void ensureLoaded() {
Utilities
authorName: 'TruffleSqueak';
setAuthorInitials: 'TruffleSqueak'.
""";
""".formatted(Boolean.toString(options.isTesting()));
try {
evaluate(prepareHeadlessImageScript);
} catch (final Exception e) {
Expand Down

1 comment on commit c39285b

@TruffleSqueak-Bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performance Report (c39285b)

Benchmarks ran on graalvm-jdk-21+35.1.

Steady (after 100 iterations)

Benchmark Name Min Geomean Median Mean Max Total (ms) Total (min)
Bounce 556 565 559.21 558 559.2 111841 1.86
CD 484 495 487.76 486 487.75 97552 1.63
DeltaBlue 281 467 414.56 412.5 412.73 82912 1.38
Havlak 1155 1206 1184.63 1189 1184.57 236926 3.95
Json 378 387 380.9 379 380.88 76179 1.27
List 379 392 379.94 380 379.93 75987 1.27
Mandelbrot 228 240 231.68 233 231.66 46335 0.77
NBody 256 269 259.44 258 259.42 51888 0.86
Permute 154 173 158.6 159 158.57 31719 0.53
Queens 245 255 245.87 246 245.86 49173 0.82
Richards 1222 1237 1227.44 1228 1227.43 245487 4.09
Sieve 177 188 178.1 178 178.08 35619 0.59
Storage 140 155 142.09 141 142.07 28418 0.47
Towers 196 217 199.32 197 199.28 39863 0.66
5851 6246 6049.5 6044.5 6047.44 1209899 20.16

c39285b-2-steady.svg

Warmup (first 100 iterations)

c39285b-3-warmup.svg

Please sign in to comment.