Browse Source

More tweaks

Kevin Lee 1 năm trước cách đây
mục cha
commit
41d354adb1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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