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 13.996µs 12.800µs 17.000µs
2 Go 30.900µs 0.000µs 772.500µs
3 C (GCC) 31.744µs 24.600µs 122.000µs
4 D 37.104µs 33.300µs 67.200µs
5 Zig 42.256µs 40.600µs 45.200µs
6 C (Clang) 46.828µs 32.500µs 323.400µs
7 Python 77.504µs 63.700µs 126.300µs
8 Rust 96.196µs 62.400µs 133.200µs
9 C++ (G++) 163.416µs 117.000µs 465.400µs
10 GraalVM 164.440µs 137.800µs 312.100µs
11 C++ (Clang++) 770.176µs 479.200µs 2,963.700µs
12 Ruby 2,626.092µs 1,501.100µs 10,445.900µs
13 JavaScript (Deno) 2,930.436µs 1,667.000µs 9,334.000µs
14 JavaScript (Node) 19,623.092µs 2,208.400µs 78,232.000µs
15 Kotlin (Native) 42,847.040µs 8,267.500µs 257,570.900µs
16 JavaScript (Bun) 200,512.360µs 95,206.700µs 617,578.200µs
17 Kotlin (JVM) 219,708.764µs 85,036.700µs 489,315.800µs
18 Java 328,148.948µs 124,585.600µs 1,084,324.900µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times