mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context: Eliminated render timer
This commit is contained in:
parent
e3d006f867
commit
197f130593
4 changed files with 18 additions and 18 deletions
|
@ -63,7 +63,7 @@ int CmdExport::execute (std::string& output)
|
|||
filter.subset (filtered);
|
||||
|
||||
// Export == render.
|
||||
context.timer_render.start ();
|
||||
Timer timer;
|
||||
|
||||
// Obey 'limit:N'.
|
||||
int rows = 0;
|
||||
|
@ -101,7 +101,7 @@ int CmdExport::execute (std::string& output)
|
|||
if (json_array)
|
||||
output += "]\n";
|
||||
|
||||
context.timer_render.stop ();
|
||||
context.time_render_us += timer.total_us ();
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue