Namespaces, cgroups, mounts, and seccomp account for only 3ms of your 30ms cold start, and exec plus runtime init is 22ms. Is that 22 about the floor for full Node compatibility, or is there still room to cut it?
8 karma · joined July 19, 2021
The tradeoff is what the benchmark is hitting. Once the table is physically ordered by the key, a random v4 scatters every insert across the tree and you pay for the page splits. A plain rowid table keeps that churn in the secondary index, which is just the key plus a rowid, while the table itself stays append-ordered. So it only really pays off when the key is something you look up directly and is roughly sequential, which is why v7 comes back near baseline.