subfinder / research

❄️ Research project for SubFinder core API V2
MIT License
35 stars 8 forks source link

Add threatminer #38

Closed picatz closed 6 years ago

picatz commented 6 years ago

This PR aims to fix https://github.com/subfinder/research/issues/33

picatz commented 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