Closed picatz closed 6 years ago
$ go test -v -run=FindSubdomains -bench=FindSubdomains
=== RUN TestFindSubdomainsDotCom
--- PASS: TestFindSubdomainsDotCom (1.48s)
=== RUN TestFindSubdomainsDotComMultiThreaded
--- PASS: TestFindSubdomainsDotComMultiThreaded (17.15s)
=== RUN ExampleFindSubdomainsDotCom
--- PASS: ExampleFindSubdomainsDotCom (2.84s)
=== RUN ExampleFindSubdomainsDotComMultiThreaded
--- PASS: ExampleFindSubdomainsDotComMultiThreaded (15.80s)
goos: darwin
goarch: amd64
BenchmarkFindSubdomainsDotComSingleThreaded-8 1 4183527844 ns/op
BenchmarkFindSubdomainsDotComMultiThreaded-8 1 16821619908 ns/op
PASS
ok _/research/core/sources 58.287s
This PR aims to fix https://github.com/subfinder/research/issues/22