Benchmarks

Linux 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 Go 13.325µs 10.941µs 26.660µs
2 PHP 26.606µs 23.194µs 44.103µs
3 D 31.636µs 29.700µs 33.900µs
4 C (GCC) 36.741µs 33.312µs 40.316µs
5 GraalVM 116.115µs 98.855µs 233.368µs
6 C (Clang) 724.267µs 40.456µs 17,067.333µs
7 Python 726.210µs 36.368µs 17,121.655µs
8 Kotlin (Native) 1,298.739µs 847.347µs 9,251.775µs
9 Ruby 1,417.118µs 336.061µs 12,493.187µs
10 Zig 2,632.252µs 32.451µs 64,992.941µs
11 C++ (G++) 2,875.624µs 94.788µs 69,174.573µs
12 Rust 4,588.525µs 63.689µs 49,614.139µs
13 C++ (Clang++) 6,425.607µs 109.345µs 74,561.723µs
14 JavaScript (Node) 47,518.772µs 1,788.137µs 84,236.172µs
15 JavaScript (Deno) 49,945.940µs 1,931.235µs 99,379.275µs
16 JavaScript (Bun) 85,190.633µs 52,323.230µs 125,932.390µs
17 Java 503,851.656µs 169,784.604µs 669,765.530µs
18 Kotlin (JVM) 1,524,929.028µs 1,195,194.211µs 1,941,533.087µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times