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 12.233µs 10.961µs 13.976µs
2 PHP 26.481µs 24.316µs 31.890µs
3 Zig 440.430µs 32.733µs 5,131.396µs
4 C (Clang) 580.200µs 41.048µs 13,411.014µs
5 GraalVM 2,052.982µs 97.655µs 40,596.900µs
6 C (GCC) 2,312.924µs 33.303µs 56,883.500µs
7 Rust 2,949.176µs 66.575µs 50,597.806µs
8 Python 2,990.660µs 35.257µs 73,748.998µs
9 Kotlin (Native) 4,933.826µs 796.499µs 43,903.520µs
10 Ruby 7,943.414µs 373.268µs 78,121.241µs
11 C++ (Clang++) 9,480.851µs 106.242µs 73,189.498µs
12 C++ (G++) 12,564.733µs 101.081µs 70,581.561µs
13 JavaScript (Deno) 40,387.621µs 1,847.866µs 83,829.082µs
14 JavaScript (Node) 55,399.654µs 2,088.692µs 111,779.209µs
15 JavaScript (Bun) 88,993.617µs 45,806.468µs 165,104.298µs
16 Java 491,440.494µs 94,306.816µs 696,681.605µs
17 Kotlin (JVM) 1,511,279.528µs 1,138,118.134µs 2,006,834.545µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times