subfinder / research

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

Add findsubdomains #43

Closed picatz closed 6 years ago

picatz commented 6 years ago

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

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