forked from bitcoin/bitcoin
-
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.
perf: don't use boost time in validation.cpp
(over a 13 minute segment of reindex) boost time took about 9+9+9 = 27%!! of total cycles!!! During the same time segment, GetTimeMicros() used roughly 0.2% of total cycles! (even though it's used a lot more) Over my entire roughly 40 minute profiling session, boost time appears to use about 6% of cycles; still too much, while GetTimeMicros used about 0.4%
- Loading branch information
1 parent
13b99e2
commit 4f34cfa
Showing
1 changed file
with
29 additions
and
35 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