forked from valyala/fasthttp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is not clear why @valyala introduced this coarse time. Benchmarks on different systems show that the speedup is no where enough to justify the added code complexity and bugs it seems to have introduced. Mac: BenchmarkCoarseTimeNow-8 2000000000 2.49 ns/op 0 B/op 0 allocs/op BenchmarkTimeNow-8 500000000 3.14 ns/op 0 B/op 0 allocs/op Ubuntu: BenchmarkCoarseTimeNow-4 300000000 6.74 ns/op 0 B/op 0 allocs/op BenchmarkTimeNow-4 100000000 15.9 ns/op 0 B/op 0 allocs/op This reverts commit erikdubbelboer@6309f42 and erikdubbelboer@32c72cd. See: valyala#271, valyala#269 and valyala#261.
- Loading branch information
1 parent
4a16377
commit f2ddaff
Showing
5 changed files
with
16 additions
and
86 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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