Commit dea9bbb
committed
docs(plan): section 4c dropped on measurement (1% ceiling); the published PK baseline measures the raw posture
Steps 1+2 of the agreed sequence: fresh comparative baseline + attribution on the ACCEPTANCE UPDATE shape.
4c (skip index maintenance when the indexed value is unchanged) is dead on that workload:
- with idx_docs_name 74,016 ops/s
- without the index entirely 73,209 ops/s -> 1.01x, i.e. a ~1% ceiling
- WritePathProfiler profile only row-locate recorded; index-maint never fires on the batch path
The --pk UPDATE never changes name/id, so every index-maintenance call there IS unchanged-value work: the
premise held, the size of the prize did not. Per-row figures quoted for 4c do not describe this workload.
The same run found something bigger: the harness has been publishing the RAW posture. BuildConfig(engine)
defaults to NoEncryptMode=true, so the --pk comparison measured plaintext files (UPDATE 234,394) while the
product default is at-rest records (74,016 on the same shape: 50K rows, 10K UPDATE by PK) against SQLite's
279,003. The honest UPDATE gap is therefore ~3.8x, not the ~1.2x the report suggests. The tax is not the
overflow arena: a fixed-size-only table shows 0.40x (at-rest/raw) versus 0.34x with TEXT, so it is the
per-record GCM work itself.
Next measurement task (not started): make the --pk runner report both postures (section 0.1-6 requires the
NoEncryptMode column anyway) and attribute the GCM cost - per-record nonce generation / cipher instance
versus raw AES throughput.
Gate: SharpCoreDB.slnx 0 errors; SharpCoreDB.Tests 1848 total / 0 failed / 16 skipped. No product code changed.1 parent 4ff03bc commit dea9bbb
1 file changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
812 | 846 | | |
813 | 847 | | |
814 | 848 | | |
| |||
0 commit comments