File tree Expand file tree Collapse file tree 1 file changed +4
-23
lines changed
Expand file tree Collapse file tree 1 file changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -534,21 +534,21 @@ The magic:
534534
535535---
536536
537- # How fast are we? ...
537+ # How fast are we?
538538
539539<img src="images/perf_with_simdjson.png" width="80%"/>
540540
541541**3.4 GB/s** - 14x faster than nlohmann, 2.5x faster than Serde!
542542
543543---
544544
545- # Ablation Study: How We Achieved 3.2 GB/s
545+ # Ablation Study: How We Achieved 3.4 GB/s
546546
547547**What is Ablation?**
548548From neuroscience: systematically remove parts to understand function
549549
550- **Our Approach (Apple Silicon M2 ):**
551- 1. **Baseline**: All optimizations enabled (3,211 MB/s)
550+ **Our Approach (Apple Silicon M3 MAX ):**
551+ 1. **Baseline**: All optimizations enabled (3,400 MB/s)
5525522. **Disable one optimization** at a time
5535533. **Measure performance impact**
5545544. **Calculate contribution**: `(Baseline - Disabled) / Disabled`
@@ -698,25 +698,6 @@ if (UNLIKELY(buffer_full)) { // CPU knows this is rare
698698
699699---
700700
701- # Real-World Impact
702-
703- ** API Server Example:**
704- - 10 million API responses/day
705- - Average response: ~ 5KB JSON
706- - Total: 50GB JSON serialization/day
707-
708- ** Serialization Time:**
709- ```
710- nlohmann::json: 210 seconds (3.5 minutes)
711- RapidJSON: 102 seconds (1.7 minutes)
712- Serde (Rust): 38 seconds
713- yyjson: 24 seconds
714- simdjson: 14.5 seconds ⭐
715- ```
716-
717- ** Time saved: 195 seconds vs nlohmann (93% reduction)**
718-
719- ---
720701
721702# Key Technical Insights
722703
You can’t perform that action at this time.
0 commit comments