Benchmarks

Windows Benchmark: MD5 Hashing (x25)

Message Digest 5 (MD5) is a widely used cryptographic hash function that produces a 128-bit (16-byte) hash value. It is commonly used to verify the integrity of data. This benchmark measures the time taken to hash 25 strings using the MD5 algorithm.

string encryption

All-Time Rankings

Rank Language Average Time Best Time Worst Time
1 PHP 15.164µs 12.000µs 39.200µs
2 Go 16.248µs 0.000µs 406.200µs
3 C (Clang) 35.596µs 32.600µs 56.100µs
4 D 35.852µs 33.700µs 39.300µs
5 Zig 43.000µs 40.100µs 59.200µs
6 C (GCC) 55.960µs 25.100µs 566.300µs
7 Python 88.844µs 65.200µs 248.400µs
8 Rust 114.740µs 85.600µs 504.500µs
9 C++ (G++) 167.264µs 136.500µs 309.300µs
10 GraalVM 461.020µs 135.500µs 7,637.700µs
11 C++ (Clang++) 550.896µs 495.400µs 887.200µs
12 Ruby 2,242.396µs 1,560.800µs 6,873.800µs
13 JavaScript (Deno) 3,578.464µs 1,852.700µs 18,101.300µs
14 JavaScript (Node) 10,537.608µs 2,122.900µs 86,225.800µs
15 Kotlin (Native) 37,860.812µs 1,141.400µs 91,807.300µs
16 Java 244,703.996µs 54,109.500µs 591,259.300µs
17 Kotlin (JVM) 248,906.772µs 109,111.900µs 711,331.700µs
18 JavaScript (Bun) 287,489.160µs 153,679.500µs 480,932.400µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times