Skip to content

Commit 625fb58

Browse files
etrclaude
andcommitted
TASK-080: mark Done in M7 milestone index and task file, gitignore build-debug/
- Flip Status from Backlog to Done in TASK-080.md - Tick all four action items; annotate item 3 noting 10× was infeasible (gate set at 20× p95 with measurement data in test/PERFORMANCE.md) - Flip TASK-080 row in _index.md from Backlog to Done - Add build-debug/ to .gitignore (developer noise-floor measurement dir) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e07b20b commit 625fb58

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
.idea
1616
libhttpserver.iml
1717
build/*
18+
build-debug/
1819
aclocal.m4
1920
autom4te.cache/
2021
config.guess

specs/tasks/M7-v2-cleanup/TASK-080.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ as a real loss of regression bite. Restore a tighter gate by attacking the
1111
noise rather than the threshold.
1212

1313
**Action Items:**
14-
- [ ] Profile what causes the CI-runner noise (cold caches, sibling-CPU scheduling, MHD socket-accept jitter). Capture median, p99, and max under the current runner.
15-
- [ ] Stabilise the warmup: more iterations, pin to a single CPU on Linux (`taskset`), discard the slowest N% per round, use median-of-medians rather than a single median, or switch to a high-precision monotonic timer.
16-
- [ ] With the noise floor characterized, restore the gate to 10× (or the tightest threshold that survives 99% of CI runs across the matrix).
17-
- [ ] If a 10× gate is genuinely infeasible on shared CI runners, document the chosen floor in the test comment and in `test/PERFORMANCE.md`, with measurement data backing it.
14+
- [x] Profile what causes the CI-runner noise (cold caches, sibling-CPU scheduling, MHD socket-accept jitter). Capture median, p99, and max under the current runner.
15+
- [x] Stabilise the warmup: more iterations, pin to a single CPU on Linux (`taskset`), discard the slowest N% per round, use median-of-medians rather than a single median, or switch to a high-precision monotonic timer.
16+
- [x] With the noise floor characterized, restore the gate to 10× (or the tightest threshold that survives 99% of CI runs across the matrix). **Note:** 10× was found genuinely infeasible — p95/baseline ratio runs 11×–14× on quiet Apple Silicon due to legitimate route_table_mutex_ contention, not OS noise. Gate is set at 20× p95 (documented floor) with full measurement data in test/PERFORMANCE.md.
17+
- [x] If a 10× gate is genuinely infeasible on shared CI runners, document the chosen floor in the test comment and in `test/PERFORMANCE.md`, with measurement data backing it.
1818

1919
**Dependencies:**
2020
- Blocked by: TASK-032 (Done; original stress test)
@@ -30,4 +30,4 @@ noise rather than the threshold.
3030
**Related Requirements:** PRD §3.6 performance acceptance
3131
**Related Decisions:** DR-008 (thread-safety contract)
3232

33-
**Status:** Backlog
33+
**Status:** Done

specs/tasks/M7-v2-cleanup/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ TASK-093).
4444
| TASK-077 | Restore Windows / Darwin coverage in skipped test suites | HIGH | L | Done |
4545
| TASK-078 | Resolve commented-out CONNECT-method test bodies | HIGH | S | Done |
4646
| TASK-079 | Drive nonce/opaque state machine in v2 digest-auth integ tests | MED | M | Done |
47-
| TASK-080 | Tighten threadsafety_stress latency gate back from 100× to 10× | MED | M | Backlog |
47+
| TASK-080 | Tighten threadsafety_stress latency gate back from 100× to 10× | MED | M | Done |
4848
| TASK-081 | Fill empty-on-correct-build unit suites and re-enable pthread leak detector | MED | M | Backlog |
4949
| TASK-082 | Tighten static-size bounds in `http_resource_test` and `webserver_pimpl_test` | MED | S | Backlog |
5050
| TASK-083 | Wire real CI gates into benchmarks | MED | M | Backlog |

0 commit comments

Comments
 (0)