java-topology/defects/ghost/bench/results.txt
russell@unturf.com 878876c7af
wave16: ghost-0001 UNDF-1302 (15x-184x ReferrersStats) + 6 clean-scan additions
Flagship: Ghost ReferrersStatsService.getReferrersHistory Array.find with
multi-key predicate per paid conversion (O(P*A) -> O(P+A)). Long-running
Ghost sites with 200+ referrers x year of dates hit 4 second dashboard
loads; Map<source|date,entry> hoist gives 184x speedup at A=110k P=1k.

Wave 16 honor roll: fastify, samtools, argo-workflows, cypress, bitcoin,
strapi. Cumulative: 80 projects.
2026-04-25 15:01:06 -04:00

12 lines
576 B
Text

=== ghost-0001: getReferrersHistory O(P*A) -> O(P+A) ===
scale defective fixed speedup
------------------------------------------------------------
A= 1500 P= 100 4.75ms 0.31ms 15.4x
A= 6000 P= 200 42.47ms 1.30ms 32.7x
A= 18000 P= 300 193.68ms 3.65ms 53.0x
A= 36000 P= 500 693.20ms 7.30ms 95.0x
A=109500 P=1000 4202.31ms 22.88ms 183.7x
Conclusion: O(P*A) -> O(P+A) — Map<source|date, entry> hoist.
Long-running Ghost sites (200+ sources, year of dates) hit 100k+ entries.