File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -556,14 +556,15 @@ Representative results on an Apple M4 Pro (lower is better):
556556| --- | --- | --- | --- |
557557| Small payload, 4 fields | **128 ns** / 0 B | 286 ns / 0 B | 359 ns / 144 B |
558558| Large doc, shallow fields | **93 ns** / 0 B | 122 ns / 0 B | 156 ns / 16 B |
559- | Large doc, deep indexed (2 Gets) | **3.47 µs** / 0 B | 247 µs / 0 B | 88 µs / 16 B |
559+ | Large doc, deep indexed (2 Gets) | **3.0 µs** / 0 B | 247 µs / 0 B | 88 µs / 16 B |
560560| Same via `GetFields` | **1.79 µs** / 0 B | — | — |
561561| Large doc, full ArrayEach + 2 fields/elem | **83 µs** / 0 B | 208 µs / 0 B | 276 µs / 188 KB |
562562| Large doc, `EachArrayFields` (2 fields/elem) | **76 µs** / 0 B | — | — |
563563| Multi-path (6 fields, `EachKey`) | **46.7 µs** / 0 B | — | 196 µs / 536 B |
564564| Stateless 12 fields (FASS) | **86 µs** / 0 B | — | 469 µs / 1.2 KB |
565565| IndexTape, 12 fields | **5.7 µs** / 0 B | — | — |
566566| Deep access + tape | **1.58 µs** / 0 B | — | — |
567+ | GitHub 7 fields (cold FASS) | **5.6 µs** / 0 B | 137 µs / 0 B | 50 µs / 664 B |
567568
568569`jseek` leads the lazy class on single-field, multi-path, deep homogeneous arrays
569570(FASS), and IndexTape reuse — all **zero allocation**. Deep `users[250]` (~3 µs) and GitHub-style issue arrays (~5.6 µs cold) are both
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ API documents.
228228| Scenario | jseek IndexTape | sonic cold | jseek advantage |
229229| --- | --- | --- | --- |
230230| 12 scattered fields | ** 5.7 µs** / 0 B | 119 µs | ** ~ 21×** |
231- | GitHub 7 nested fields | ** 1.54 µs** / 0 B | 15.5 µs | ** ~ 10×** |
231+ | GitHub 7 nested fields | ** 1.42 µs** / 0 B | 14.3 µs | ** ~ 10×** |
232232| multi-path ` EachDoc ` + tape | ** 2.59 µs** / 0 B | 119 µs | ** ~ 46×** |
233233
234234### Bottom line
You can’t perform that action at this time.
0 commit comments