Skip to content

Commit cbe4398

Browse files
Pushing latest changes
1 parent d88707b commit cbe4398

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

cppcon2025/cppcon_2025_slides.md

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff 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?**
548548
From 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)
552552
2. **Disable one optimization** at a time
553553
3. **Measure performance impact**
554554
4. **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

0 commit comments

Comments
 (0)