-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This speeds up the discover package test suite from 60-80 sec to 20-40 sec. * disable lookup.slowdown() in tests * dgramPipe: refactor to use a channel * log ListenV4 err The improvements can be compared using: go test -count 1 ./p2p/discover go test ./p2p/discover -test.run TestUDPv4_Lookup -blockprofile b.dat go tool pprof -tree b.txt
- Loading branch information
1 parent
d300c28
commit c11532b
Showing
3 changed files
with
43 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters