docs: record rejected daily snapshot optimization

This commit is contained in:
boris
2026-09-05 00:30:42 +08:00
parent 1f10a6bb3d
commit 6538742dfa
@@ -0,0 +1,71 @@
{
"schemaVersion": "fidc-daily-snapshot-view-stock-state-rejection/v1",
"measuredAt": "2026-09-05T00:30:00+08:00",
"host": "192.168.31.177",
"candidateCommit": "1df0081479b93a051f9a40d2acf7060d0eb6929d",
"revertCommit": "1f10a6bb3decdd40c77397a7596c6f23a9f90a18",
"candidate": {
"description": "carry symbol_id in EligibleUniverseSnapshot and pass pre-resolved execution/factor DailySnapshotView values into stock-state construction",
"componentBenchmark": {
"symbols": 6000,
"rounds": 200,
"dateMapLookupSeconds": 0.020211,
"dailyViewLookupSeconds": 0.006410,
"speedup": 3.1530421216848675,
"equal": true
},
"fiveYearRuns": [
{"runId": "btr_1788538826285_2693431_0", "engineSeconds": 8.075},
{"runId": "btr_1788538854544_2693431_1", "engineSeconds": 8.488},
{"runId": "btr_1788538868210_2693431_2", "engineSeconds": 10.455},
{"runId": "btr_1788538887159_2693431_3", "engineSeconds": 10.672},
{"runId": "btr_1788538903432_2693431_4", "engineSeconds": 11.284},
{"runId": "btr_1788538920072_2693431_5", "engineSeconds": 9.985}
],
"hotMedianEngineSeconds": 10.455,
"runnerBinarySha256": "cbe20d1bd5c5e02372bd310107a1f4e41aaa9f256b3c31f79c6ad000648d1854"
},
"restored": {
"fiveYearRuns": [
{"runId": "btr_1788539286281_2739751_0", "engineSeconds": 7.118},
{"runId": "btr_1788539313845_2739751_1", "engineSeconds": 6.702},
{"runId": "btr_1788539325631_2739751_2", "engineSeconds": 7.093},
{"runId": "btr_1788539338757_2739751_3", "engineSeconds": 6.509}
],
"hotMedianEngineSeconds": 6.702,
"candidateRegressionPercent": 55.99820948970456,
"runnerBinarySha256": "e33dd75aa7b481975c0991cf634d07900cdefa51756802e28e64f18b980a83dc",
"matchesPreCandidateRunnerSha256": true
},
"businessContract": {
"startDate": "2021-08-23",
"endDate": "2026-08-28",
"frequency": "1d",
"matchingType": "next_bar_open",
"totalReturn": 0.9219861819172002,
"tradeCount": 26088,
"canonicalSha256": "b42fea66237d06eadb24f6b8c9e2760e7319fe3699f315b99e01f433ef2aa234",
"resultStoreSha256": "92343fb369fea68b2544b654151c5c43a935940580b14afbe8eefb3844f72a54",
"allRunsConsistent": true
},
"profile": {
"candidateRunId": "btr_1788538966659_2693431_6",
"candidateEngineSeconds": 10.566,
"stockStatePercent": 28.14,
"adjustedCloseMovingAveragePercent": 8.27,
"stableSortPercent": 5.46,
"mallocPercent": 5.12,
"note": "The removed map lookup symbols disappeared, but their component savings were too small to offset the larger universe row and generalized optional-view state path."
},
"remoteArtifacts": [
"/srv/fidc/canonical/run/fidc-private/evidence/daily-view-after-20260905.json",
"/srv/fidc/canonical/run/fidc-private/evidence/daily-view-profile-20260905/perf.data",
"/srv/fidc/canonical/run/fidc-private/evidence/daily-view-profile-20260905/perf-report.txt",
"/srv/fidc/canonical/run/fidc-private/evidence/daily-view-reverted-20260905.json"
],
"decision": {
"status": "rejected_and_removed",
"reason": "a positive lookup microbenchmark did not translate to end-to-end performance; the same frozen five-year workload became about 56 percent slower",
"productionEngineCommit": "1f10a6bb3decdd40c77397a7596c6f23a9f90a18"
}
}