Context: Eliminated render timer

This commit is contained in:
Paul Beckingham 2016-11-13 13:42:48 -05:00
parent e3d006f867
commit 197f130593
4 changed files with 18 additions and 18 deletions

View file

@ -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;
}