Closed picatz closed 6 years ago
$ go test -run=Threatminer -v -bench=Threatminer
=== RUN TestThreatminer
--- PASS: TestThreatminer (0.73s)
=== RUN TestThreatminerMultiThreaded
--- PASS: TestThreatminerMultiThreaded (0.66s)
=== RUN ExampleThreatminer
--- PASS: ExampleThreatminer (0.57s)
=== RUN ExampleThreatminerMultiThreaded
--- PASS: ExampleThreatminerMultiThreaded (0.48s)
goos: darwin
goarch: amd64
BenchmarkThreatminerSingleThreaded-8 2 645369760 ns/op
BenchmarkThreatminerMultiThreaded-8 2 546720016 ns/op
PASS
ok _/research/core/sources 5.714s
This PR aims to fix https://github.com/subfinder/research/issues/33