aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/benchmarks
diff options
context:
space:
mode:
authorTimo Tijhof <krinkle@fastmail.com>2023-10-02 18:42:12 -0700
committerKrinkle <krinkle@fastmail.com>2024-01-19 05:07:23 +0000
commit4ee45454a9bbddbe0b9cb3b4aacef07bbfce46ac (patch)
tree39d077ad52486972da2f7859763e1107032c1e3b /maintenance/benchmarks
parentc940fbcff11e7523a76a9c949914145ffb9093dd (diff)
downloadmediawikicore-4ee45454a9bbddbe0b9cb3b4aacef07bbfce46ac.tar.gz
mediawikicore-4ee45454a9bbddbe0b9cb3b4aacef07bbfce46ac.zip
ResourceLoader: Remove libs/jsminplus.php (JSMinPlus, JSParser)
No longer used. Bug: T75714 Change-Id: I2b097671716fabec169bc803da98cd0340d70cc4
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)" => [