浏览代码

More tweaks

Kevin Lee 1 年之前
父节点
当前提交
41d354adb1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main.rs

+ 2 - 0
src/main.rs

@@ -133,9 +133,11 @@ fn main() {
         let config: Config = serde_yaml::from_str(&config).expect("Failed to parse config file");
 
         // Patch pen settings
+        let time: Instant = Instant::now();
         config
             .ops
             .apply(&mut file.pens_offset.data.pens, &mut file.layers_offset);
+        trace!("Config processing time: {:?}", time.elapsed());
     }
 
     // Process output