Skip to content

Commit

Permalink
build(cargo): Update rustc to 2023-07-03 (#7623)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jul 5, 2023
1 parent 40ee26b commit b34f1ad
Show file tree
Hide file tree
Showing 55 changed files with 1,321 additions and 1,314 deletions.
4 changes: 2 additions & 2 deletions bindings/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/dbg-swc/src/es/minifier/next/check_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,12 @@ where

c.arg("-e");
c.arg(
r###"
r#"
function looseJsonParse(obj) {
return Function('"use strict";return (' + obj + ")")();
}
console.log(JSON.stringify(looseJsonParse(process.argv[1])));
"###,
"#,
);

c.arg(s);
Expand Down
4 changes: 2 additions & 2 deletions crates/swc/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ impl Options {
// Embedded runtime plugin target, based on assumption we have
// 1. filesystem access for the cache
// 2. embedded runtime can compiles & execute wasm
#[cfg(all(any(feature = "plugin"), not(target_arch = "wasm32")))]
#[cfg(all(feature = "plugin", not(target_arch = "wasm32")))]
{
use swc_ecma_loader::resolve::Resolve;

Expand Down Expand Up @@ -730,7 +730,7 @@ impl Options {
// 1. no filesystem access, loading binary / cache management should be
// performed externally
// 2. native runtime compiles & execute wasm (i.e v8 on node, chrome)
#[cfg(all(any(feature = "plugin"), target_arch = "wasm32"))]
#[cfg(all(feature = "plugin", target_arch = "wasm32"))]
{
handler.warn(
"Currently @swc/wasm does not support plugins, plugin transform will be \
Expand Down
12 changes: 6 additions & 6 deletions crates/swc/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
)]

use serde::{Deserialize, Serialize};
#[cfg(any(feature = "plugin"))]
#[cfg(feature = "plugin")]
use swc_ecma_ast::*;
#[cfg(not(any(feature = "plugin")))]
use swc_ecma_transforms::pass::noop;
Expand Down Expand Up @@ -48,7 +48,7 @@ struct RustPlugins {
}

impl RustPlugins {
#[cfg(any(feature = "plugin"))]
#[cfg(feature = "plugin")]
fn apply(&mut self, n: Program) -> Result<Program, anyhow::Error> {
use anyhow::Context;
if self.plugins.is_none() || self.plugins.as_ref().unwrap().is_empty() {
Expand All @@ -64,7 +64,7 @@ impl RustPlugins {
}

#[tracing::instrument(level = "info", skip_all, name = "apply_plugins")]
#[cfg(all(any(feature = "plugin"), not(target_arch = "wasm32")))]
#[cfg(all(feature = "plugin", not(target_arch = "wasm32")))]
fn apply_inner(&mut self, n: Program) -> Result<Program, anyhow::Error> {
use anyhow::Context;
use swc_common::plugin::serialized::PluginSerializedBytes;
Expand Down Expand Up @@ -145,7 +145,7 @@ impl RustPlugins {
)
}

#[cfg(all(any(feature = "plugin"), target_arch = "wasm32"))]
#[cfg(all(feature = "plugin", target_arch = "wasm32"))]
#[tracing::instrument(level = "info", skip_all)]
fn apply_inner(&mut self, n: Program) -> Result<Program, anyhow::Error> {
// [TODO]: unimplemented
Expand All @@ -156,14 +156,14 @@ impl RustPlugins {
impl Fold for RustPlugins {
noop_fold_type!();

#[cfg(any(feature = "plugin"))]
#[cfg(feature = "plugin")]
fn fold_module(&mut self, n: Module) -> Module {
self.apply(Program::Module(n))
.expect("failed to invoke plugin")
.expect_module()
}

#[cfg(any(feature = "plugin"))]
#[cfg(feature = "plugin")]
fn fold_script(&mut self, n: Script) -> Script {
self.apply(Program::Script(n))
.expect("failed to invoke plugin")
Expand Down
2 changes: 1 addition & 1 deletion crates/swc/tests/tsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct TestUnitData {
}

static OPTION_REGEX: Lazy<Regex> =
Lazy::new(|| Regex::new(r#"^[\\/]{2}\s*@(\w+)\s*:\s*([^\r\n]*)"#).unwrap());
Lazy::new(|| Regex::new(r"^[\\/]{2}\s*@(\w+)\s*:\s*([^\r\n]*)").unwrap());

fn matrix(input: &Path) -> Vec<TestUnitData> {
let cm = Arc::<SourceMap>::default();
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_bundler/src/bundler/chunk/computed_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ where
unimplemented!("module string names unimplemented")
}
};
if let Some(..) = ctx.transitive_remap.get(&exported.span.ctxt) {
if ctx.transitive_remap.get(&exported.span.ctxt).is_some() {
let specifier = ExportSpecifier::Named(ExportNamedSpecifier {
span: DUMMY_SP,
orig: orig.clone(),
Expand Down
11 changes: 3 additions & 8 deletions crates/swc_bundler/src/modules/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,9 @@ impl Modules {
.into_iter(),
);

module.body.extend(
cloned
.appended_stmts
.get(&id)
.cloned()
.unwrap_or_default()
.into_iter(),
);
module
.body
.extend(cloned.appended_stmts.get(&id).cloned().unwrap_or_default());

stmts.extend(module.body);
}
Expand Down
14 changes: 7 additions & 7 deletions crates/swc_common/src/syntax_pos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ pub enum FileName {
#[cfg_attr(feature = "rkyv-impl", repr(C))]
pub struct EncodePathBuf;

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl rkyv::with::ArchiveWith<PathBuf> for EncodePathBuf {
type Archived = rkyv::string::ArchivedString;
type Resolver = rkyv::string::StringResolver;
Expand All @@ -176,7 +176,7 @@ impl rkyv::with::ArchiveWith<PathBuf> for EncodePathBuf {
}
}

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl<S> rkyv::with::SerializeWith<PathBuf, S> for EncodePathBuf
where
S: ?Sized + rkyv::ser::Serializer,
Expand All @@ -188,7 +188,7 @@ where
}
}

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl<D> rkyv::with::DeserializeWith<rkyv::string::ArchivedString, PathBuf, D> for EncodePathBuf
where
D: ?Sized + rkyv::Fallible,
Expand All @@ -209,7 +209,7 @@ where
#[cfg_attr(feature = "rkyv-impl", repr(C))]
pub struct EncodeUrl;

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl rkyv::with::ArchiveWith<Url> for EncodeUrl {
type Archived = rkyv::string::ArchivedString;
type Resolver = rkyv::string::StringResolver;
Expand All @@ -225,7 +225,7 @@ impl rkyv::with::ArchiveWith<Url> for EncodeUrl {
}
}

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl<S> rkyv::with::SerializeWith<Url, S> for EncodeUrl
where
S: ?Sized + rkyv::ser::Serializer,
Expand All @@ -237,7 +237,7 @@ where
}
}

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl<D> rkyv::with::DeserializeWith<rkyv::Archived<String>, Url, D> for EncodeUrl
where
D: ?Sized + rkyv::Fallible,
Expand Down Expand Up @@ -575,7 +575,7 @@ impl Span {
/// Dummy span, both position are extremely large numbers so they would be
/// ignore by sourcemap, but can still have comments
pub fn dummy_with_cmt() -> Self {
#[cfg(all(any(feature = "__plugin_mode"), target_arch = "wasm32"))]
#[cfg(all(feature = "__plugin_mode", target_arch = "wasm32"))]
{
let lo = BytePos(unsafe { __span_dummy_with_cmt_proxy() });

Expand Down
12 changes: 6 additions & 6 deletions crates/swc_core/tests/quote.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#[cfg(any(feature = "quote"))]
#[cfg(feature = "quote")]
use swc_core::{ast::Ident, common::DUMMY_SP, quote, quote_expr, utils::private_ident};

#[cfg(any(feature = "quote"))]
#[cfg(feature = "quote")]
#[test]
fn quote_expr_call_1() {
let _expr = quote_expr!("call(arg1, typeof arg2, arg3)");
}

#[cfg(any(feature = "quote"))]
#[cfg(feature = "quote")]
#[test]
fn quote_expr_var_cloned() {
testing::run_test2(false, |_cm, _handler| {
Expand All @@ -20,7 +20,7 @@ fn quote_expr_var_cloned() {
.unwrap();
}

#[cfg(any(feature = "quote"))]
#[cfg(feature = "quote")]
#[test]
fn quote_example() {
let _stmt = quote!(
Expand All @@ -29,7 +29,7 @@ fn quote_example() {
);
}

#[cfg(any(feature = "quote"))]
#[cfg(feature = "quote")]
#[test]
fn quote_var_type_expr() {
let _stmt = quote!(
Expand All @@ -39,7 +39,7 @@ fn quote_var_type_expr() {
);
}

#[cfg(any(feature = "quote"))]
#[cfg(feature = "quote")]
#[test]
fn quote_var_type_pat() {
let _stmt = quote!(
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_css_compat/src/compiler/nesting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ impl Compiler {

nested_of_media.extend(
once(Rule::QualifiedRule(q))
.chain(rules.into_iter())
.chain(rules)
.map(From::from),
);
}
Expand Down
3 changes: 2 additions & 1 deletion crates/swc_css_prefixer/src/prefixer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,8 @@ impl VisitMut for MediaFeatureResolutionReplacerOnLegacyVariant<'_> {
value: feature_name_value,
span: feature_name_span,
..
}) = &n.name else {
}) = &n.name
else {
return;
};

Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_ast/src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub enum Expr {
Invalid(Invalid),
}

// Memory layout depedns on the version of rustc.
// Memory layout depends on the version of rustc.
// #[cfg(target_pointer_width = "64")]
// assert_eq_size!(Expr, [u8; 80]);

Expand Down Expand Up @@ -207,7 +207,7 @@ impl Expr {
///
/// Panics if `exprs` is empty.
pub fn from_exprs(mut exprs: Vec<Box<Expr>>) -> Box<Expr> {
debug_assert_ne!(exprs, vec![], "exprs must not be empty");
debug_assert!(!exprs.is_empty(), "`exprs` must not be empty");

if exprs.len() == 1 {
exprs.remove(0)
Expand Down
6 changes: 3 additions & 3 deletions crates/swc_ecma_ast/src/lit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl EqIgnoreSpan for BigInt {
#[cfg_attr(feature = "rkyv-impl", repr(C))]
pub struct EncodeBigInt;

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl rkyv::with::ArchiveWith<Box<BigIntValue>> for EncodeBigInt {
type Archived = rkyv::Archived<String>;
type Resolver = rkyv::Resolver<String>;
Expand All @@ -104,7 +104,7 @@ impl rkyv::with::ArchiveWith<Box<BigIntValue>> for EncodeBigInt {
}
}

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl<S> rkyv::with::SerializeWith<Box<BigIntValue>, S> for EncodeBigInt
where
S: ?Sized + rkyv::ser::Serializer,
Expand All @@ -118,7 +118,7 @@ where
}
}

#[cfg(any(feature = "rkyv-impl"))]
#[cfg(feature = "rkyv-impl")]
impl<D> rkyv::with::DeserializeWith<rkyv::Archived<String>, Box<BigIntValue>, D> for EncodeBigInt
where
D: ?Sized + rkyv::Fallible,
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_codegen/src/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ mod tests {

#[test]
fn issue_204_01() {
assert_min(r#"'\r\n';"#, r#""\r\n""#);
assert_min(r"'\r\n';", r#""\r\n""#);
}

#[test]
fn issue_204_02() {
assert_min(r#"const a = fn() + '\r\n';"#, r#"const a=fn()+"\r\n""#);
assert_min(r"const a = fn() + '\r\n';", r#"const a=fn()+"\r\n""#);
}

#[test]
Expand Down

1 comment on commit b34f1ad

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: b34f1ad Previous: c087c82 Ratio
es/full/bugs-1 288060 ns/iter (± 2568) 301206 ns/iter (± 10470) 0.96
es/full/minify/libraries/antd 1336917074 ns/iter (± 29244238) 1485630935 ns/iter (± 15672898) 0.90
es/full/minify/libraries/d3 274911557 ns/iter (± 1540601) 317594309 ns/iter (± 4715088) 0.87
es/full/minify/libraries/echarts 1075147365 ns/iter (± 11815526) 1203145371 ns/iter (± 6051616) 0.89
es/full/minify/libraries/jquery 85015116 ns/iter (± 531805) 96216835 ns/iter (± 317750) 0.88
es/full/minify/libraries/lodash 99079028 ns/iter (± 371529) 113941410 ns/iter (± 228846) 0.87
es/full/minify/libraries/moment 50331245 ns/iter (± 385022) 56415209 ns/iter (± 110139) 0.89
es/full/minify/libraries/react 18096986 ns/iter (± 104189) 20361248 ns/iter (± 64164) 0.89
es/full/minify/libraries/terser 220023253 ns/iter (± 1425654) 246723401 ns/iter (± 1875869) 0.89
es/full/minify/libraries/three 386428323 ns/iter (± 3406713) 438879855 ns/iter (± 2922053) 0.88
es/full/minify/libraries/typescript 2687588380 ns/iter (± 27754807) 3008427730 ns/iter (± 11380524) 0.89
es/full/minify/libraries/victory 572330342 ns/iter (± 7339700) 637663434 ns/iter (± 6239770) 0.90
es/full/minify/libraries/vue 121422540 ns/iter (± 706914) 139053573 ns/iter (± 434243) 0.87
es/full/codegen/es3 35302 ns/iter (± 67) 37008 ns/iter (± 362) 0.95
es/full/codegen/es5 35320 ns/iter (± 133) 37020 ns/iter (± 78) 0.95
es/full/codegen/es2015 35325 ns/iter (± 109) 37068 ns/iter (± 114) 0.95
es/full/codegen/es2016 35245 ns/iter (± 94) 37053 ns/iter (± 88) 0.95
es/full/codegen/es2017 35304 ns/iter (± 101) 37083 ns/iter (± 163) 0.95
es/full/codegen/es2018 35371 ns/iter (± 134) 37041 ns/iter (± 75) 0.95
es/full/codegen/es2019 35219 ns/iter (± 113) 37091 ns/iter (± 96) 0.95
es/full/codegen/es2020 35177 ns/iter (± 66) 37077 ns/iter (± 47) 0.95
es/full/all/es3 172647625 ns/iter (± 891710) 184123880 ns/iter (± 759432) 0.94
es/full/all/es5 164054263 ns/iter (± 951365) 175799902 ns/iter (± 715249) 0.93
es/full/all/es2015 123166801 ns/iter (± 940004) 131949453 ns/iter (± 777379) 0.93
es/full/all/es2016 122918744 ns/iter (± 582297) 131602070 ns/iter (± 487394) 0.93
es/full/all/es2017 122370990 ns/iter (± 450672) 130345693 ns/iter (± 1335306) 0.94
es/full/all/es2018 120489484 ns/iter (± 732342) 128225865 ns/iter (± 2805244) 0.94
es/full/all/es2019 119458709 ns/iter (± 810567) 128549983 ns/iter (± 642224) 0.93
es/full/all/es2020 115014224 ns/iter (± 871816) 123699353 ns/iter (± 735397) 0.93
es/full/parser 537058 ns/iter (± 5578) 556339 ns/iter (± 5819) 0.97
es/full/base/fixer 20747 ns/iter (± 151) 18599 ns/iter (± 79) 1.12
es/full/base/resolver_and_hygiene 81202 ns/iter (± 143) 92730 ns/iter (± 348) 0.88
serialization of serde 298 ns/iter (± 0) 306 ns/iter (± 2) 0.97
css/minify/libraries/bootstrap 28740052 ns/iter (± 85742) 30817972 ns/iter (± 676366) 0.93
css/visitor/compare/clone 1654736 ns/iter (± 3894) 2121895 ns/iter (± 13816) 0.78
css/visitor/compare/visit_mut_span 1772962 ns/iter (± 3267) 2270579 ns/iter (± 10773) 0.78
css/visitor/compare/visit_mut_span_panic 1853451 ns/iter (± 3173) 2339183 ns/iter (± 13379) 0.79
css/visitor/compare/fold_span 2573164 ns/iter (± 14880) 3046630 ns/iter (± 31280) 0.84
css/visitor/compare/fold_span_panic 2757252 ns/iter (± 9256) 3229984 ns/iter (± 20357) 0.85
css/lexer/bootstrap_5_1_3 4437938 ns/iter (± 14226) 4706980 ns/iter (± 5567) 0.94
css/lexer/foundation_6_7_4 3855554 ns/iter (± 1997) 3983712 ns/iter (± 4178) 0.97
css/lexer/tailwind_3_1_1 732107 ns/iter (± 386) 757943 ns/iter (± 641) 0.97
css/parser/bootstrap_5_1_3 19526037 ns/iter (± 49963) 20461210 ns/iter (± 20951) 0.95
css/parser/foundation_6_7_4 15749911 ns/iter (± 59436) 16496800 ns/iter (± 33439) 0.95
css/parser/tailwind_3_1_1 3006835 ns/iter (± 4616) 3194570 ns/iter (± 3247) 0.94
es/codegen/colors 736081 ns/iter (± 402390) 745180 ns/iter (± 404111) 0.99
es/codegen/large 3138912 ns/iter (± 1668996) 3000396 ns/iter (± 1571774) 1.05
es/codegen/with-parser/colors 44140 ns/iter (± 565) 48378 ns/iter (± 243) 0.91
es/codegen/with-parser/large 483605 ns/iter (± 1114) 518007 ns/iter (± 596) 0.93
es/minify/libraries/antd 1150553491 ns/iter (± 13166899) 1274533040 ns/iter (± 9367804) 0.90
es/minify/libraries/d3 239248913 ns/iter (± 1598051) 276471078 ns/iter (± 2145755) 0.87
es/minify/libraries/echarts 918791581 ns/iter (± 17983005) 1013554700 ns/iter (± 3993253) 0.91
es/minify/libraries/jquery 73941162 ns/iter (± 347155) 83620194 ns/iter (± 259225) 0.88
es/minify/libraries/lodash 88278870 ns/iter (± 276786) 102229125 ns/iter (± 257461) 0.86
es/minify/libraries/moment 43606173 ns/iter (± 254751) 49256748 ns/iter (± 86980) 0.89
es/minify/libraries/react 16015782 ns/iter (± 37989) 18013363 ns/iter (± 37950) 0.89
es/minify/libraries/terser 189412899 ns/iter (± 2119926) 211296387 ns/iter (± 608880) 0.90
es/minify/libraries/three 324629909 ns/iter (± 3815507) 363218693 ns/iter (± 640947) 0.89
es/minify/libraries/typescript 2286513109 ns/iter (± 19412235) 2547036605 ns/iter (± 12196047) 0.90
es/minify/libraries/victory 481456812 ns/iter (± 9877592) 540140528 ns/iter (± 6127597) 0.89
es/minify/libraries/vue 106808327 ns/iter (± 927413) 123037797 ns/iter (± 2033552) 0.87
es/visitor/compare/clone 1944628 ns/iter (± 9924) 2084099 ns/iter (± 3654) 0.93
es/visitor/compare/visit_mut_span 2256542 ns/iter (± 2740) 2422207 ns/iter (± 3033) 0.93
es/visitor/compare/visit_mut_span_panic 2297704 ns/iter (± 2585) 2474748 ns/iter (± 11805) 0.93
es/visitor/compare/fold_span 3327623 ns/iter (± 7679) 3518321 ns/iter (± 4395) 0.95
es/visitor/compare/fold_span_panic 3485565 ns/iter (± 20116) 3652632 ns/iter (± 8141) 0.95
es/lexer/colors 12581 ns/iter (± 31) 13423 ns/iter (± 28) 0.94
es/lexer/angular 6072144 ns/iter (± 22640) 6292021 ns/iter (± 31809) 0.97
es/lexer/backbone 786225 ns/iter (± 4958) 822424 ns/iter (± 873) 0.96
es/lexer/jquery 4432688 ns/iter (± 12217) 4664229 ns/iter (± 6364) 0.95
es/lexer/jquery mobile 6747806 ns/iter (± 29760) 7090556 ns/iter (± 9745) 0.95
es/lexer/mootools 3542140 ns/iter (± 20872) 3664047 ns/iter (± 2358) 0.97
es/lexer/underscore 649548 ns/iter (± 1723) 687637 ns/iter (± 1251) 0.94
es/lexer/three 20899573 ns/iter (± 57731) 21672806 ns/iter (± 31747) 0.96
es/lexer/yui 3714905 ns/iter (± 13562) 4104630 ns/iter (± 3692) 0.91
es/parser/colors 28319 ns/iter (± 37) 28779 ns/iter (± 574) 0.98
es/parser/angular 13972227 ns/iter (± 84799) 14184625 ns/iter (± 69996) 0.99
es/parser/backbone 2073793 ns/iter (± 9964) 2127984 ns/iter (± 7478) 0.97
es/parser/jquery 11270029 ns/iter (± 36966) 11566465 ns/iter (± 34596) 0.97
es/parser/jquery mobile 17355220 ns/iter (± 158909) 17731308 ns/iter (± 67755) 0.98
es/parser/mootools 8701063 ns/iter (± 21465) 8868631 ns/iter (± 27582) 0.98
es/parser/underscore 1780172 ns/iter (± 9972) 1834502 ns/iter (± 8233) 0.97
es/parser/three 48448766 ns/iter (± 468922) 49034610 ns/iter (± 465673) 0.99
es/parser/yui 8569019 ns/iter (± 22310) 8883143 ns/iter (± 44857) 0.96
es/preset-env/usage/builtin_type 138389 ns/iter (± 33500) 144894 ns/iter (± 32531) 0.96
es/preset-env/usage/property 17611 ns/iter (± 165) 18208 ns/iter (± 127) 0.97
es/resolver/typescript 89481167 ns/iter (± 1136275) 94727957 ns/iter (± 1369263) 0.94
es/fixer/typescript 63308262 ns/iter (± 926946) 65574390 ns/iter (± 482005) 0.97
es/hygiene/typescript 131681918 ns/iter (± 1045333) 142213386 ns/iter (± 583720) 0.93
es/resolver_with_hygiene/typescript 241824648 ns/iter (± 2914638) 312317061 ns/iter (± 2130356) 0.77
es/visitor/base-perf/module_clone 59392 ns/iter (± 309) 62421 ns/iter (± 156) 0.95
es/visitor/base-perf/fold_empty 63119 ns/iter (± 507) 65663 ns/iter (± 448) 0.96
es/visitor/base-perf/fold_noop_impl_all 63067 ns/iter (± 370) 65504 ns/iter (± 292) 0.96
es/visitor/base-perf/fold_noop_impl_vec 63380 ns/iter (± 276) 66003 ns/iter (± 263) 0.96
es/visitor/base-perf/boxing_boxed_clone 57 ns/iter (± 0) 57 ns/iter (± 0) 1
es/visitor/base-perf/boxing_unboxed_clone 39 ns/iter (± 0) 40 ns/iter (± 0) 0.97
es/visitor/base-perf/boxing_boxed 108 ns/iter (± 0) 114 ns/iter (± 0) 0.95
es/visitor/base-perf/boxing_unboxed 78 ns/iter (± 0) 81 ns/iter (± 0) 0.96
es/visitor/base-perf/visit_empty 0 ns/iter (± 0) 0 ns/iter (± 0) NaN
es/visitor/base-perf/visit_contains_this 2599 ns/iter (± 21) 2668 ns/iter (± 11) 0.97
es/base/parallel/resolver/typescript 4646161771 ns/iter (± 248050183) 4922929665 ns/iter (± 262073122) 0.94
es/base/parallel/hygiene/typescript 1440550308 ns/iter (± 16903500) 1605615374 ns/iter (± 22998991) 0.90
misc/visitors/time-complexity/time 5 148 ns/iter (± 0) 101 ns/iter (± 0) 1.47
misc/visitors/time-complexity/time 10 331 ns/iter (± 0) 263 ns/iter (± 0) 1.26
misc/visitors/time-complexity/time 15 795 ns/iter (± 1) 581 ns/iter (± 0) 1.37
misc/visitors/time-complexity/time 20 1293 ns/iter (± 4) 927 ns/iter (± 30) 1.39
misc/visitors/time-complexity/time 40 4372 ns/iter (± 4) 3752 ns/iter (± 6) 1.17
misc/visitors/time-complexity/time 60 9055 ns/iter (± 28) 7832 ns/iter (± 25) 1.16
es/full-target/es2016 237734 ns/iter (± 623) 239434 ns/iter (± 705) 0.99
es/full-target/es2017 224572 ns/iter (± 689) 227251 ns/iter (± 723) 0.99
es/full-target/es2018 213203 ns/iter (± 505) 216280 ns/iter (± 713) 0.99
es2020_nullish_coalescing 70742 ns/iter (± 546) 71464 ns/iter (± 388) 0.99
es2020_optional_chaining 82233 ns/iter (± 214) 83533 ns/iter (± 169) 0.98
es2022_class_properties 119415 ns/iter (± 486) 123049 ns/iter (± 420) 0.97
es2018_object_rest_spread 75391 ns/iter (± 158) 76562 ns/iter (± 282) 0.98
es2019_optional_catch_binding 65351 ns/iter (± 315) 64535 ns/iter (± 270) 1.01
es2017_async_to_generator 64704 ns/iter (± 116) 64653 ns/iter (± 404) 1.00
es2016_exponentiation 69299 ns/iter (± 247) 70151 ns/iter (± 108) 0.99
es2015_arrow 72351 ns/iter (± 191) 73162 ns/iter (± 198) 0.99
es2015_block_scoped_fn 68947 ns/iter (± 207) 70161 ns/iter (± 249) 0.98
es2015_block_scoping 124880 ns/iter (± 669) 135632 ns/iter (± 426) 0.92

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.