perf(*): Update tracing to improve performance of disabled spans (#3932)

This commit is contained in:
OJ Kwon 2022-03-09 19:15:49 -08:00 committed by GitHub
parent 99f381cfa2
commit 86ea23785d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 26 additions and 26 deletions

8
Cargo.lock generated
View File

@ -3990,9 +3990,9 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
[[package]]
name = "tracing"
version = "0.1.31"
version = "0.1.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6c650a8ef0cd2dd93736f033d21cbd1224c5a967aa0c258d00fcf7dafef9b9f"
checksum = "4a1bdf54a7c28a2bbf701e1d2233f6c77f473486b94bee4f9678da5a148dca7f"
dependencies = [
"cfg-if 1.0.0",
"log",
@ -4003,9 +4003,9 @@ dependencies = [
[[package]]
name = "tracing-attributes"
version = "0.1.19"
version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8276d9a4a3a558d7b7ad5303ad50b53d58264641b82914b7ada36bd762e7a716"
checksum = "2e65ce065b4b5c53e73bb28912318cb8c9e9ad3921f1d669eb0e68b4c8143a2b"
dependencies = [
"proc-macro2",
"quote",

View File

@ -39,7 +39,7 @@ swc_ecma_loader = {path = "../swc_ecma_loader"}
swc_ecma_parser = {path = "../swc_ecma_parser"}
swc_node_base = {path = "../swc_node_base"}
swc_node_bundler = {path = "../swc_node_bundler"}
tracing = { version = "0.1.31", features = ["release_max_level_info"] }
tracing = { version = "0.1.32" , features = ["release_max_level_info"] }
tracing-chrome = "0.4.0"
tracing-futures = "0.2.5"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }

View File

@ -74,7 +74,7 @@ swc_ecmascript = {version = "0.129.0", path = "../swc_ecmascript"}
swc_node_comments = {version = "0.4.0", path = "../swc_node_comments"}
swc_plugin_runner = {version = "0.40.0", path = "../swc_plugin_runner", optional = true}
swc_visit = {version = "0.3.0", path = "../swc_visit"}
tracing = "0.1.31"
tracing = "0.1.32"
[dependencies.napi-derive]
default-features = false

View File

@ -52,7 +52,7 @@ swc_ecma_utils = {version = "0.71.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit"}
swc_fast_graph = {version = "0.4.0", path = "../swc_fast_graph/"}
swc_graph_analyzer = {version = "0.4.0", path = "../swc_graph_analyzer/"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
hex = "0.4"

View File

@ -27,7 +27,7 @@ swc_trace_macro = {version = "0.1.0", path = "../swc_trace_macro"}
tracing-chrome = "0.4.0"
tracing-futures = "0.2.5"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
tracing = "0.1.31"
tracing = "0.1.32"
[dependencies.path-absolutize]
version = "3.0.11"

View File

@ -46,7 +46,7 @@ string_cache = "0.8.3"
swc_eq_ignore_macros = {version = "0.1", path = "../swc_eq_ignore_macros"}
swc_visit = {version = "0.3.0", path = "../swc_visit"}
termcolor = {version = "1.0", optional = true}
tracing = "0.1.31"
tracing = "0.1.32"
unicode-width = "0.1.4"
url = "2.2.2"

View File

@ -19,7 +19,7 @@ swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.3", path = "../swc_common"}
swc_ecma_ast = {version = "0.69.0", path = "../swc_ecma_ast"}
swc_ecma_codegen_macros = {version = "0.6.0", path = "../swc_ecma_codegen_macros"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
swc_common = {version = "0.17.3", path = "../swc_common", features = ["sourcemap"]}

View File

@ -33,7 +33,7 @@ serde = {version = "1", features = ["derive"]}
serde_json = {version = "1.0.64", optional = true}
swc_cached = {version = "0.1.0", optional = true, path = "../swc_cached"}
swc_common = {version = "0.17.0", path = "../swc_common"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]

View File

@ -39,7 +39,7 @@ swc_ecma_transforms_base = {version = "0.66.0", path = "../swc_ecma_transforms_b
swc_ecma_utils = {version = "0.71.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit"}
swc_timer = {version = "0.4.0", path = "../swc_timer"}
tracing = "0.1.31"
tracing = "0.1.32"
unicode-id = "0.3.0"
[dev-dependencies]

View File

@ -31,7 +31,7 @@ swc_atoms = {version = "0.2.3", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.69.0", path = "../swc_ecma_ast"}
swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit", optional = true}
tracing = "0.1.31"
tracing = "0.1.32"
typed-arena = "2.0.1"
unicode-id = "0.3"

View File

@ -27,7 +27,7 @@ swc_ecma_ast = {version = "0.69.0", path = "../swc_ecma_ast"}
swc_ecma_parser = {version = "0.92.0", path = "../swc_ecma_parser"}
swc_ecma_utils = {version = "0.71.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_codegen = {version = "0.94.0", path = "../swc_ecma_codegen"}

View File

@ -35,7 +35,7 @@ swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_
swc_ecma_utils = {version = "0.71.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit"}
swc_trace_macro = {version = "0.1.0", path = "../swc_trace_macro"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
serde_json = "1.0.66"

View File

@ -25,7 +25,7 @@ swc_ecma_parser = {version = "0.92.0", path = "../swc_ecma_parser"}
swc_ecma_transforms_base = {version = "0.66.0", path = "../swc_ecma_transforms_base"}
swc_ecma_utils = {version = "0.71.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_transforms_compat = {version = "0.78.0", path = "../swc_ecma_transforms_compat"}

View File

@ -33,7 +33,7 @@ swc_ecma_transforms_base = {version = "0.66.0", path = "../swc_ecma_transforms_b
swc_ecma_transforms_macros = {version = "0.3.0", path = "../swc_ecma_transforms_macros"}
swc_ecma_utils = {version = "0.71.0", path = "../swc_ecma_utils"}
swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_transforms_compat = {version = "0.78.0", path = "../swc_ecma_transforms_compat"}

View File

@ -27,7 +27,7 @@ swc_atoms = {version = "0.2.0", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.69.0", path = "../swc_ecma_ast"}
swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_parser = {version = "0.92.0", path = "../swc_ecma_parser"}

View File

@ -17,4 +17,4 @@ swc_atoms = {version = "0.2", path = "../swc_atoms"}
swc_common = {version = "0.17.0", path = "../swc_common"}
swc_ecma_ast = {version = "0.69.0", path = "../swc_ecma_ast"}
swc_visit = {version = "0.3.0", path = "../swc_visit"}
tracing = "0.1.31"
tracing = "0.1.32"

View File

@ -14,7 +14,7 @@ ahash = "0.7.6"
auto_impl = "0.5.0"
petgraph = "0.5.0"
swc_fast_graph = {version = "0.4.0", path = "../swc_fast_graph/"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
testing = {version = "0.18.0", path = "../testing"}

View File

@ -36,7 +36,7 @@ swc_ecma_transforms = {path = "../swc_ecma_transforms"}
swc_ecma_utils = {path = "../swc_ecma_utils"}
swc_ecma_visit = {path = "../swc_ecma_visit"}
swc_node_base = {path = "../swc_node_base"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
pretty_assertions = "0.7.2"

View File

@ -16,7 +16,7 @@ serde = {version = "1.0.126", features = ["derive"]}
serde_json = "1.0.64"
swc_common = {version = "0.17.0", path = "../swc_common", features = ["plugin-rt", "concurrent"]}
swc_ecma_ast = {version = "0.69.0", path = "../swc_ecma_ast", features = ["rkyv-impl"]}
tracing = "0.1.31"
tracing = "0.1.32"
wasmer = "2.2.0"
wasmer-cache = "2.2.0"
wasmer-wasi = "2.2.0"

View File

@ -11,7 +11,7 @@ version = "0.4.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
testing = {version = "0.18.0", path = "../testing"}

View File

@ -24,7 +24,7 @@ swc_ecma_visit = {version = "0.55.0", path = "../swc_ecma_visit"}
swc_estree_ast = {version = "0.7.0", path = "../swc_estree_ast"}
swc_estree_compat = {version = "0.65.0", path = "../swc_estree_compat"}
swc_timer = {version = "0.4.0", path = "../swc_timer"}
tracing = "0.1.31"
tracing = "0.1.32"
[dev-dependencies]
swc_ecma_transforms_testing = {version = "0.68.0", path = "../swc_ecma_transforms_testing"}

View File

@ -17,5 +17,5 @@ regex = "1"
serde_json = "1.0.71"
swc_common = {version = "0.17.0", path = "../swc_common", features = ["tty-emitter"]}
testing_macros = {version = "0.2.0", path = "../testing_macros"}
tracing = "0.1.31"
tracing = "0.1.32"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }

View File

@ -28,5 +28,5 @@ swc = {path = "../swc"}
swc_common = {path = "../swc_common"}
swc_ecma_lints = {path = "../swc_ecma_lints", features = ["non_critical_lints"]}
swc_ecmascript = {path = "../swc_ecmascript"}
tracing = {version = "0.1.31", features = ["release_max_level_off"]}
tracing = {version = "0.1.32", features = ["release_max_level_off"]}
wasm-bindgen = {version = "0.2", features = ["serde-serialize"]}