Skip to content

Commit

Permalink
Temporarily disable latency mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Feb 19, 2025
1 parent 57fb986 commit 423edb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mx.trufflesqueak/mx_trufflesqueak.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

if _COMPILER:
# Tweak GraalVM Engine
VM_ARGS_TESTING.append("-Dpolyglot.engine.Mode=latency")
# VM_ARGS_TESTING.append("-Dpolyglot.engine.Mode=latency")
VM_ARGS_TESTING.append("-Dpolyglot.engine.CompilationFailureAction=Diagnose")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected int execute(final Context.Builder contextBuilder) {
contextBuilder.option(SqueakLanguageConfig.ID + "." + SqueakLanguageOptions.QUIET, Boolean.toString(quiet));
contextBuilder.arguments(getLanguageId(), imageArguments);
if (useEngineModeLatency) {
contextBuilder.option(ENGINE_MODE_OPTION, ENGINE_MODE_LATENCY);
// contextBuilder.option(ENGINE_MODE_OPTION, ENGINE_MODE_LATENCY);
}
contextBuilder.allowAllAccess(true);
final SqueakTranscriptForwarder out;
Expand Down

1 comment on commit 423edb0

@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 (423edb0)

Benchmarks ran on 23.0.2-graal.

Steady (after 100 iterations)

Benchmark Name Min Geomean Median Mean Max Total (ms) Total (min)
Bounce 557 571 561.05 558 561.04 112211 1.87
CD 798 823 804.06 800 804.03 160811 2.68
DeltaBlue 331 513 465.03 474 464.02 93006 1.55
Havlak 1310 1368 1339.45 1339 1339.41 267890 4.46
Json 448 467 452.06 449 452.02 90412 1.51
List 498 532 499.92 499 499.9 99984 1.67
Mandelbrot 129 155 130.82 130 130.77 26163 0.44
NBody 490 521 498.61 496 498.58 99722 1.66
Permute 184 199 185.38 185 185.36 37075 0.62
Queens 225 250 228.21 226 228.15 45642 0.76
Richards 1245 1269 1253.37 1251 1253.35 250674 4.18
Sieve 170 183 171.15 170 171.13 34230 0.57
Storage 154 175 162.91 163 162.81 32581 0.54
Towers 309 342 315.43 313 315.39 63086 1.05
6848 7368 7067.43 7053 7065.94 1413487 23.56

423edb0-2-steady.svg

Warmup (first 100 iterations)

423edb0-3-warmup.svg

Please sign in to comment.