HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Firefox 5 runs
crypto.subtle.digest("SHA-512")
397K/s
xxHash64
96K/s

Fastest: crypto.subtle.digest("SHA-512") (4.1x faster)

View exact numbers
  • crypto.subtle.digest("SHA-512"): 396,624 ops/sec
  • xxHash64: 95,926 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
    crypto.subtle.digest("SHA-512")
    xxHash64

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:152.0) Gecko/20100101 Firefox/152.0
Firefox 152 on Windows
View result in a separate tab
crypto.subtle.digest("SHA-512")
746K/s
xxHash64
135K/s
View exact numbers
Test name Executions per second
crypto.subtle.digest("SHA-512") 746,108 Ops/sec
xxHash64 134,991 Ops/sec