mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context: Added local config load timing
This commit is contained in:
parent
dd4fef6794
commit
0d3e92ed5d
1 changed files with 8 additions and 2 deletions
|
@ -455,8 +455,14 @@ int Context::initialize (int argc, const char** argv)
|
|||
header (format (STRING_CONTEXT_RC_OVERRIDE, rc_file._data));
|
||||
}
|
||||
|
||||
// Artificial scope for timing purposes.
|
||||
{
|
||||
Timer timer;
|
||||
config.parse (configurationDefaults);
|
||||
config.load (rc_file);
|
||||
config.load (rc_file._data);
|
||||
debugTiming (format ("Config::load ({1})", rc_file._data), timer);
|
||||
}
|
||||
|
||||
CLI2::applyOverrides (argc, argv);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue