mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Performance
- Corrected performance measurement. The TDB2::gc requires data to be loaded first, but load time is measured separately. This resulted in repeat counting. Now the gc time subtracts any load time that is accumulated *during* the gc. This is now a fair accounting of the time.
This commit is contained in:
parent
d386081c4c
commit
259f39f2d2
3 changed files with 14 additions and 0 deletions
|
@ -44,6 +44,7 @@ public:
|
|||
void start ();
|
||||
void stop ();
|
||||
unsigned long total () const;
|
||||
void subtract (unsigned long);
|
||||
|
||||
private:
|
||||
std::string _description;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue