···121121Note that outputs from the C++ implementation's example binary and the `pdqhasher` binary provided here may not return hashes that are exactly the same due to
122122differences in resizing libraries. This is expected, see https://github.com/facebook/ThreatExchange/tree/main/pdq#hashing.
123123124124+## Benchmark
125125+126126+```
127127+❯ go run ./cmd/benchmark --workers 32 --with-resize --duration 10
128128+CPU: AMD RYZEN AI MAX+ 395 w/ Radeon 8060S
129129+CPU Cores: 32
130130+Image Directory: testdata/images
131131+Duration: 10s
132132+Workers: 32
133133+With Resize: true
134134+With I/O: false
135135+136136+Results
137137+=======
138138+139139+Total Time: 10.011804696s
140140+Total Hashes: 27999
141141+Errors: 0
142142+143143+Throughput: 2796.6 hashes/sec
144144+Avg Time/Hash: 0.36 ms
145145+146146+Per Worker: 875.0 hashes
147147+Per Worker/Sec: 87.4 hashes/sec
148148+```
149149+124150## References
125151126152- [PDQ Algorithm (C++ Reference)](https://github.com/facebook/ThreatExchange/tree/main/pdq)