Commit d093b6d
committed
docs: record the index read-path campaign
Publishes the measurements behind the position-backed resolvers, the two
candidates that were built and rejected, and the reasons the G14 Electrum gate
remains unclaimed.
Kept deliberately: the harness correction. Figures published before the
flat-file re-measurement contained no file I/O, which barely moved the scan arm
(65.21ms to 65.644ms at 64 heights, since one whole-body read is 23.44us against
a 65ms scan) but moved the optimized arm 4.5x. The ratios were inflated, not the
baseline, and saying which is which is the point of keeping it.
Rejections recorded with their numbers: a decoded-block cache measured 1.027x
*slower* on hits, because `block_at_height` returns an owned `Block` and a hit
still deep-clones ~2,200 transactions -- caching a value the API forces you to
copy saves nothing. And allocator fragmentation, the leading suspect for the
unattributed tip RSS, cost 5% after churning twice the whole set.
Adds two `CONCEPTS.md` terms -- *Prefix-row rescan cost* and *All-or-scan
position fallback* -- and a `DEVIATIONS.md` entry for departing from PLAN.md
Task 8's verbatim electrs row layout, with the measurement that justifies it and
the 1.67x storage it costs.1 parent 3fec288 commit d093b6d
4 files changed
Lines changed: 546 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
270 | 279 | | |
271 | 280 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
0 commit comments