🌘 瀏覽器處理 Base64 資料的處理速度有多快?
➤ 透過實際測試揭示瀏覽器處理 Base64 資料的速度。
https://lemire.me/blog/2025/11/29/how-fast-can-browsers-process-base64-data/
本文探討現代瀏覽器處理 Base64 編碼與解碼的速度。作者 Daniel Lemire 是一位軟體效能專家,他使用自行開發的瀏覽器基準測試工具,在 Apple M4 處理器上實際測試了 Safari、SigmaOS、Chrome、Edge 和 Brave 等瀏覽器的表現。測試結果顯示,編碼速度普遍相當快,最高可達每秒 19 GB,但解碼速度則較慢,且不同瀏覽器之間存在顯著差異。
+ 這項測試結果很有趣,特別是編碼和解碼速度的差異。我很好奇 Chrome 和 Edge 的解碼速度為何比 Safari 和 SigmaOS 慢那麼多。
+ 感謝作者分享這個基準測試工具,我會在自己的裝置上測試看看!對於 Base64 的處理速度一直感到好奇。
#網頁技術 #效能測試 #Base64 編碼
How fast can browsers process base64 data?

Base64 is a binary-to-text encoding scheme that converts arbitrary binary data (like images, files, or any sequence of bytes) into a safe, printable ASCII string using a 64-character alphabet (A–Z, a–z, 0–9, +, /). Browsers use it in JavaScript to embedding binary data directly in code or HTML or to transmitting binary data as text. … Continue reading How fast can browsers process base64 data?

Daniel Lemire's blog