- run a loop a half million times:
- split a delimited string into 5 fields
- strip invalid characters from each field with a regex
- calculate a SHA3-512 hash and get the digest for each field (2.5 million hashes)
Environment:
- OS: Windows 11
- Runtime: Python 3.14
- CPU: 11th Gen Intel Core i7-1185G7 @ 3.0GHz
Results:
$ time python ./hash_test.py
real 0m45.129s
user 0m0.015s
sys 0m0.000s