@@ -349,20 +349,20 @@ proc canUseCache(cfg: RelativeFile; cache: IdentCache; conf: ConfigRef; idgen: I
349349 if cachedCfgFiles.len == 0 :
350350 result = false
351351 else :
352- echo formatFloat (epochTime () - conf.lastCmdTime, ffDecimal, 3 ), " checking added config"
352+ # echo formatFloat(epochTime() - conf.lastCmdTime, ffDecimal, 3), " checking added config"
353353 loadConfigsImpl (cfg, cache, conf, idgen, cachedCfgFiles)
354- echo formatFloat (epochTime () - conf.lastCmdTime, ffDecimal, 3 ), " done checking added config"
354+ # echo formatFloat(epochTime() - conf.lastCmdTime, ffDecimal, 3), " done checking added config"
355355 result = cachedCfgFiles.len != 0
356356
357357proc loadConfigs * (cfg: RelativeFile ; cache: IdentCache ; conf: ConfigRef ; idgen: IdGenerator ) =
358- conf.lastCmdTime = epochTime ()
358+ # conf.lastCmdTime = epochTime()
359359 var cachedCfgFiles = HashSet [string ]()
360360 if canUseCache (cfg, cache, conf, idgen, cachedCfgFiles):
361- echo formatFloat (epochTime () - conf.lastCmdTime, ffDecimal, 3 ), " loading cached config"
361+ # echo formatFloat(epochTime() - conf.lastCmdTime, ffDecimal, 3), " loading cached config"
362362 loadConfigsFromCache (conf)
363- echo formatFloat (epochTime () - conf.lastCmdTime, ffDecimal, 3 ), " done loading cached config"
363+ # echo formatFloat(epochTime() - conf.lastCmdTime, ffDecimal, 3), " done loading cached config"
364364 else :
365- echo formatFloat (epochTime () - conf.lastCmdTime, ffDecimal, 3 ), " evaluating config files"
365+ # echo formatFloat(epochTime() - conf.lastCmdTime, ffDecimal, 3), " evaluating config files"
366366 loadConfigsImpl (cfg, cache, conf, idgen, cachedCfgFiles)
367- echo formatFloat (epochTime () - conf.lastCmdTime, ffDecimal, 3 ), " done evaluating config files"
367+ # echo formatFloat(epochTime() - conf.lastCmdTime, ffDecimal, 3), " done evaluating config files"
368368 storeConfigs (conf)
0 commit comments