Skip to content

Commit 25d063b

Browse files
Update README.md
added new benchmark for hashgen v2022-12-20.1430-goroutine
1 parent 0ebe6a2 commit 25d063b

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

benchmarks/README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Benchmarks (v2022-12-20.1430-goroutine)
2+
3+
### Test rig specs:
4+
- OS: Linux 5.15.64-1 (Debian 10.2.1-6)
5+
- CPU: AMD Ryzen 7 3700X 8-Core Processor @ 3600MHz
6+
- RAM: 64gb DDR4
7+
8+
### hashgen benchmarks for all supported modes
9+
10+
| Mode | h/s |
11+
| ------------- | ------------- |
12+
| plaintext | 5,506,821 |
13+
| base64encode | 4,240,048 |
14+
| crc32 | 4,170,545 |
15+
| base64decode | 4,162,956 |
16+
| md5 | 2,751,432 |
17+
| sha1 | 2,545,714 |
18+
| sha256 | 1,968,789 |
19+
| md4 | 1,900,098 |
20+
| sha512 | 1,592,121 |
21+
| ntlm | 1,368,783 |
22+
| bcrypt (MinCost) | 1,277 |
23+
24+
### Hash generator benchmarks
25+
- Head to head comparison of different hash generators
26+
- All testing was performed hashing rockyou.txt (15,053,568 lines) to md5
27+
- All hashing stdout was written to /dev/null
28+
- Benchmarks are an average of 5x runtimes
29+
30+
### Results:
31+
| Program | Time/s | h/s |
32+
| ------------- | ------------- | ------------- |
33+
| php8.2 | 5.293s | 2,844,052 |
34+
| go (hashgen) | 5.471s | 2,751,432 |
35+
| mdxfind | 13.0463s | 1,153,857 |
36+
| Python3.9 | 19.985s | 753,243 |
37+
| bash | 2h+ | N/A |
38+
39+
- php v8.2 https://github.com/cyclone-github/hashgen/blob/main/benchmarks/hashgen.php
40+
- go v1.19.4 (hashgen) https://github.com/cyclone-github/hashgen/commit/1b73f08b095138ab3274de20a0e74a8e3a087fc0
41+
- mdxfind https://github.com/cyclone-github/mdxfind
42+
- Python 3.9.2 https://github.com/cyclone-github/hashgen/blob/main/benchmarks/hashgen.py
43+
- Linux Bash https://github.com/cyclone-github/hashgen/blob/main/benchmarks/hashgen.sh
44+
45+
### Test rig specs:
46+
- OS: Linux 5.15.64-1 (Debian 10.2.1-6)
47+
- CPU: AMD Ryzen 7 3700X 8-Core Processor @ 3600MHz
48+
- RAM: 64gb DDR4
49+
50+
### Hash generator benchmarks
51+
- Head to head comparison of different hash generators
52+
- All testing was performed hashing rockyou.txt (15,053,568 lines) to md5
53+
- All hashing stdout was written to /dev/null
54+
- Benchmarks are an average of 5x runtimes

0 commit comments

Comments
 (0)