Skip to content

Commit a28d3a7

Browse files
committed
Finalize benchmarks
1 parent 53d6f8e commit a28d3a7

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

backend/FwLite/FwLiteProjectSync.Tests/SyncBenchmark.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ public void First_Sync_Sena3()
5252

5353
public class FirstSyncBench
5454
{
55-
// CI baseline (no index): mean 52.34s, StdDev 0.27s (low variance) => 53s (~3σ above mean)
56-
// CI with commits order index: mean 44.35s, StdDev 1.10s (low variance) => 50s (~5σ above mean, generous for run-to-run drift)
57-
public const double ThresholdSeconds = 50.0;
55+
// CI baseline (no index): mean 52.34s, StdDev 0.27s (low variance) => 57s (~10%)
56+
// CI with commits order index: mean 44.35s, StdDev 1.10s (med variance) => 51s (~15%)
57+
public const double ThresholdSeconds = 51.0;
5858

5959
internal static Sena3Fixture Fixture = null!;
6060

backend/FwLite/FwLiteProjectSync.Tests/SyncMutationBenchmark.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,21 @@ public class MutationSyncBench
6969
{
7070
public static readonly IReadOnlyDictionary<string, double> ThresholdSecondsByProfile = new Dictionary<string, double>
7171
{
72-
// CI baseline (no index): mean 52.40s, StdDev 1.51s (low variance) => 61s (~5σ above mean)
73-
// CI with commits order index: mean 50.49s, StdDev 0.87s (low variance) => 61s (~12σ above mean — kept generous, run-to-run drift can be ~3s here)
74-
["component-heavy"] = 61.0,
75-
// CI baseline (no index): mean 87.02s, StdDev 3.85s (medium variance) => 97s (~3σ above mean)
76-
// CI with commits order index: mean 87.92s, StdDev 1.42s (low variance) => 97s (~6σ above mean — kept generous, run-to-run drift can be ~2s here)
77-
["delete-heavy"] = 97.0,
78-
// CI baseline (no index): mean 32.99s, StdDev 0.77s (low variance) => 38s (~7σ above mean)
79-
// CI with commits order index: mean 32.95s, StdDev 1.08s (low variance) => 38s (~5σ above mean)
80-
["mixed-realistic"] = 38.0,
81-
// CI baseline (no index): mean 4.52s, StdDev 0.08s (low variance) => 5s (generous margin since it's already pretty fast and we want to avoid false positives from noise)
82-
// CI with commits order index: mean 3.53s, StdDev 0.10s (low variance) => 5s (pretty fast, so meh — same margin works)
83-
["patch-heavy"] = 5.0,
72+
// CI baseline (no index): mean 52.40s, StdDev 1.51s (med variance) => 60s (~15%)
73+
// CI with commits order index: mean 50.49s, StdDev 0.87s (low variance) => 55s (~10%)
74+
["component-heavy"] = 55.0,
75+
// CI baseline (no index): mean 87.02s, StdDev 3.85s (hi variance) => 100s (~15%)
76+
// CI with commits order index: mean 87.92s, StdDev 1.42s (med variance) => 100s (~15%)
77+
["delete-heavy"] = 100.0,
78+
// CI baseline (no index): mean 32.99s, StdDev 0.77s (low variance) => 36s (~10%)
79+
// CI with commits order index: mean 32.95s, StdDev 1.08s (low variance) => 36s (~10%)
80+
["mixed-realistic"] = 36.0,
81+
// CI baseline (no index): mean 4.52s, StdDev 0.08s (low variance) => 5s (~10%)
82+
// CI with commits order index: mean 3.53s, StdDev 0.10s (low variance) => 4s (~10%)
83+
["patch-heavy"] = 4.0,
8484
// CI baseline (no index): mean 0.69s, StdDev 0.08s (low variance) => 2s (super fast, so meh)
85-
// CI with commits order index: mean 0.57s, StdDev 0.05s (low variance) => 2s (super fast, so meh)
86-
["reorder-heavy"] = 2.0,
85+
// CI with commits order index: mean 0.57s, StdDev 0.05s (low variance) => 1.5s (super fast, so meh)
86+
["reorder-heavy"] = 1.5,
8787
};
8888

8989
public static IEnumerable<string> Profiles => ThresholdSecondsByProfile.Keys;

0 commit comments

Comments
 (0)