Updated October 2026
Verifiable Performance Benchmarks
Rigorous benchmarks measuring bundle sizes, cold render latency, memory footprint, and paint times.
Gzip Bundle Size Comparison
| Library | Toast Gzip Size | Dialog Gzip Size | Total Combined Size |
|---|---|---|---|
| toastory | 5.97 KB | Included | 21.98 KB (Full Kit) |
| Sonner + SweetAlert2 | 5.2 KB | 42.1 KB | 47.3 KB |
| React-Toastify + Swal2 | 31.4 KB | 42.1 KB | 73.5 KB |
| react-hot-toast + Swal2 | 5.1 KB | 42.1 KB | 47.2 KB |
---
Mount & Render Latency
Measured across 1,000 rapid notifications on an Apple M2 machine with Chromium 120: - Average toast creation time: 0.18ms - Garbage collection overhead: Zero retained listeners after dismissal - Layout shifts (CLS): 0.00
Want to test these options live?
Launch the interactive playground to experiment with themes, positions, and live generators.