Closed picatz closed 6 years ago
$ go test -v -run=ArchiveIs -bench=ArchiveIs
=== RUN TestArchiveIs
--- PASS: TestArchiveIs (0.23s)
=== RUN TestArchiveIsMultiThreaded
--- PASS: TestArchiveIsMultiThreaded (0.24s)
=== RUN ExampleArchiveIs
--- PASS: ExampleArchiveIs (0.23s)
=== RUN ExampleArchiveIsMultiThreaded
--- PASS: ExampleArchiveIsMultiThreaded (0.25s)
goos: darwin
goarch: amd64
BenchmarkArchiveIsSingleThreaded-8 5 230656792 ns/op
BenchmarkArchiveIsMultiThreaded-8 5 361470684 ns/op
PASS
ok _/research/core/sources 5.179s
This PR aims to fix https://github.com/subfinder/research/issues/9