@@ -465,7 +465,6 @@ impl Compiler {
465465 }
466466 }
467467
468- #[ tracing:: instrument( skip_all) ]
469468 pub fn read_config ( & self , opts : & Options , name : & FileName ) -> Result < Option < Config > , Error > {
470469 static CUR_DIR : Lazy < PathBuf > = Lazy :: new ( || {
471470 if cfg ! ( target_arch = "wasm32" ) {
@@ -577,7 +576,6 @@ impl Compiler {
577576 /// This method handles merging of config.
578577 ///
579578 /// This method does **not** parse module.
580- #[ tracing:: instrument( skip_all) ]
581579 pub fn parse_js_as_input < ' a , P > (
582580 & ' a self ,
583581 fm : Lrc < SourceFile > ,
@@ -642,7 +640,6 @@ impl Compiler {
642640 } )
643641 }
644642
645- #[ tracing:: instrument( skip_all) ]
646643 pub fn transform (
647644 & self ,
648645 handler : & Handler ,
@@ -670,7 +667,6 @@ impl Compiler {
670667 ///
671668 /// This means, you can use `noop_visit_type`, `noop_fold_type` and
672669 /// `noop_visit_mut_type` in your visitor to reduce the binary size.
673- #[ tracing:: instrument( skip_all) ]
674670 pub fn process_js_with_custom_pass < P1 , P2 > (
675671 & self ,
676672 fm : Arc < SourceFile > ,
@@ -727,7 +723,6 @@ impl Compiler {
727723 } )
728724 }
729725
730- #[ tracing:: instrument( skip( self , handler, opts) ) ]
731726 pub fn process_js_file (
732727 & self ,
733728 fm : Arc < SourceFile > ,
@@ -745,7 +740,6 @@ impl Compiler {
745740 )
746741 }
747742
748- #[ tracing:: instrument( skip_all) ]
749743 pub fn minify (
750744 & self ,
751745 fm : Arc < SourceFile > ,
@@ -938,7 +932,6 @@ impl Compiler {
938932 /// You can use custom pass with this method.
939933 ///
940934 /// Pass building logic has been inlined into the configuration system.
941- #[ tracing:: instrument( skip_all) ]
942935 pub fn process_js (
943936 & self ,
944937 handler : & Handler ,
@@ -959,7 +952,6 @@ impl Compiler {
959952 )
960953 }
961954
962- #[ tracing:: instrument( name = "swc::Compiler::apply_transforms" , skip_all) ]
963955 fn apply_transforms (
964956 & self ,
965957 handler : & Handler ,
@@ -1124,7 +1116,6 @@ fn find_swcrc(path: &Path, root: &Path, root_mode: RootMode) -> Option<PathBuf>
11241116 None
11251117}
11261118
1127- #[ tracing:: instrument( skip_all) ]
11281119fn load_swcrc ( path : & Path ) -> Result < Rc , Error > {
11291120 let content = read_to_string ( path) . context ( "failed to read config (.swcrc) file" ) ?;
11301121
0 commit comments