Conversation
Remove #[swc_trace] attributes and swc_trace imports from all files. Update tracing dependency to use max_level_off features to disable tracing at compile time for better performance. Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
|
|
|
Binary Sizes
Commit: 5351a04 |
CodSpeed Performance ReportMerging this PR will improve performance by 30.3%Comparing Summary
Performance Changes
|
This PR removes all instrumentation code to improve performance.
Description:
This PR removes all
#[swc_trace]attributes and related imports from the codebase, and updates thetracingdependency to usemax_level_offandrelease_max_level_offfeatures to disable tracing at compile time.Changes:
#[swc_trace]attributes from functions and implementationsuse swc_trace_macro::swc_traceanduse swc_core::trace_macro::swc_traceimportsCargo.tomlto addmax_level_offandrelease_max_level_offfeatures to the tracing dependencyThis should provide performance improvements by eliminating instrumentation overhead at compile time.
Related issue:
Related to #11237