소스 검색

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