Modernize benchmarks (#2132)

* Introduce benchmarks
This commit is contained in:
Igor Savin
2026-03-18 00:43:46 +02:00
committed by GitHub
parent 70b8f1145d
commit bf93bafeca
37 changed files with 1063 additions and 4239 deletions
@@ -173,6 +173,9 @@ JavaScriptCompiler.prototype = {
}
}
// Release AST/compiler references only needed during compilation for dedup
this.context.environments.length = 0;
if (this.environment.usePartial) {
ret.usePartial = true;
}