aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/benchmarks')
-rw-r--r--maintenance/benchmarks/benchmarkJsValidate.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/maintenance/benchmarks/benchmarkJsValidate.php b/maintenance/benchmarks/benchmarkJsValidate.php
index 35672e542b3d..a1095f4fd4c5 100644
--- a/maintenance/benchmarks/benchmarkJsValidate.php
+++ b/maintenance/benchmarks/benchmarkJsValidate.php
@@ -45,17 +45,6 @@ class BenchmarkJsValidate extends Benchmarker {
}
$filename = basename( $file );
- $parser = new JSParser();
-
- $this->bench( [
- "JSParser::parse ($filename)" => [
- 'function' => static function ( $parser, $content, $filename ) {
- // phpcs:ignore Generic.PHP.NoSilencedErrors
- @$parser->parse( $content, $filename, 1 );
- },
- 'args' => [ $parser, $content, $filename ]
- ]
- ] );
$this->bench( [
"Peast::parse ($filename)" => [