Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Numbers below come from one such run.
Each row is "parse + access request fields" on the named payload.

| Scenario | Size | cjson | simdjson | `qjson.parse` | `qjson.decode + access content` | `qjson.decode + qjson.encode` |
|---|---|---:|---:|---:|---:|---:|---:|
|---|---|---:|---:|---:|---:|---:|
| small | 2.1 KB | 92,716 | 102,602 | 128,005 | 125,815 | 260,322 |
| medium | 60.4 KB | 9,007 | 82,699 | 116,198 | 219,491 | 141,563 |
| github-100k | 100 KB | 1,834 | 1,909 | 4,591 | 5,643 | 6,207 |
Expand Down Expand Up @@ -151,7 +151,7 @@ re-encode pipeline. Numbers below come from a 3-round per-scenario
fresh-process run on x86_64 Linux (AMD EPYC Rome, Zen 2).

| Scenario | modify top + encode | add field + encode | modify nested + encode |
|---|---|---:|---:|---:|
|---|---:|---:|---:|
| small (2 KB) | 58,242 | 58,190 | 43,003 |
| medium (60 KB) | 37,498 | 45,364 | 134,590 |
| github-100k | 4,419 | 3,964 | 4,359 |
Expand Down Expand Up @@ -189,7 +189,7 @@ the timing rounds without forcing a final collection, so short-lived garbage
from the last round may still be included.

| Scenario | cjson | simdjson | `qjson.parse` | `qjson.decode + access content` | `qjson.decode + qjson.encode` |
|---|---|---:|---:|---:|---:|---:|
|---|---:|---:|---:|---:|---:|
| small | +15,474 | +15,482 | +4,070 | +15,111 | +4,892 |
| medium | +1,955 | +2,661 | +158 | +502 | +558 |
| github-100k | +4,218 | +3,035 | +28 | +560 | +96 |
Expand Down
Loading