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.552µs 12.500µs 32.800µs
2 Go 20.868µs 0.000µs 521.700µs
3 C (GCC) 30.656µs 26.000µs 55.300µs
4 C (Clang) 41.692µs 31.500µs 136.700µs
5 Zig 44.696µs 41.400µs 61.900µs
6 Python 64.076µs 51.800µs 100.000µs
7 Rust 125.648µs 84.400µs 672.200µs
8 C++ (G++) 271.012µs 147.600µs 2,755.500µs
9 GraalVM 436.656µs 143.400µs 7,001.800µs
10 C++ (Clang++) 909.576µs 491.000µs 4,838.200µs
11 Ruby 3,032.552µs 2,014.900µs 13,452.500µs
12 JavaScript (Deno) 5,424.804µs 1,814.300µs 70,838.900µs
13 JavaScript (Node) 12,083.996µs 2,215.800µs 59,053.300µs
14 Kotlin (Native) 43,991.648µs 5,655.800µs 112,571.700µs
15 JavaScript (Bun) 192,772.356µs 103,509.200µs 458,047.300µs
16 Kotlin (JVM) 334,219.620µs 92,923.300µs 892,921.900µs
17 Java 381,371.520µs 81,306.500µs 1,107,918.100µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times