Skip to content

Commit 169797f

Browse files
committed
docs: polish GitHub and deep-index median figures
1 parent e8388b4 commit 169797f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

docs/BENCHMARKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)