Script Preparation code:
Tests:

Historical Performance Data aggregated from 13 community runs

Desktop Results:
Chrome 7 runs
TextEncoder
1K/s
Blob
19/s

Fastest: TextEncoder (62.0x faster)

View exact numbers
  • TextEncoder: 1,183 ops/sec
  • Blob: 19 ops/sec
Firefox 6 runs
TextEncoder
10K/s
Blob
642/s

Fastest: TextEncoder (15.5x faster)

View exact numbers
  • TextEncoder: 9,930 ops/sec
  • Blob: 642 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    TextEncoder
    Blob

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0
Firefox 148 on Windows
View result in a separate tab
TextEncoder
12K/s
Blob
772/s
View exact numbers
Test name Executions per second
TextEncoder 11,974 Ops/sec
Blob 772 Ops/sec