@@ -2382,8 +2382,99 @@ function processTestList(testList)
2382
2382
}
2383
2383
}
2384
2384
2385
+ let runOctane = true ;
2386
+ let runARES = true ;
2387
+ let runWSL = true ;
2388
+ let runRexBench = true ;
2389
+ let runWTB = true ;
2390
+ let runSunSpider = true ;
2391
+ let runBigIntNoble = true ;
2392
+ let runBigIntMisc = true ;
2393
+ let runProxy = true ;
2394
+ let runClassFields = true ;
2395
+ let runGenerators = true ;
2396
+ let runSimple = true ;
2397
+ let runCDJS = true ;
2398
+ let runWorkerTests = ! ! isInBrowser ;
2399
+ let runSeaMonster = true ;
2400
+ let runCodeLoad = true ;
2401
+ let runWasm = true ;
2402
+ if ( typeof WebAssembly === "undefined" )
2403
+ runWasm = false ;
2404
+
2405
+ if ( false ) {
2406
+ runOctane = false ;
2407
+ runARES = false ;
2408
+ runWSL = false ;
2409
+ runRexBench = false ;
2410
+ runWTB = false ;
2411
+ runSunSpider = false ;
2412
+ runBigIntNoble = false ;
2413
+ runBigIntMisc = false ;
2414
+ runProxy = false ;
2415
+ runClassFields = false ;
2416
+ runGenerators = false ;
2417
+ runSimple = false ;
2418
+ runCDJS = false ;
2419
+ runWorkerTests = false ;
2420
+ runSeaMonster = false ;
2421
+ runCodeLoad = false ;
2422
+ runWasm = false ;
2423
+ }
2424
+
2385
2425
if ( typeof testList !== "undefined" ) {
2386
2426
processTestList ( testList ) ;
2387
2427
} else if ( customTestList . length ) {
2388
2428
processTestList ( customTestList ) ;
2389
- }
2429
+ } else {
2430
+ if ( runARES )
2431
+ enableBenchmarksByTag ( "ARES" ) ;
2432
+
2433
+ if ( runCDJS )
2434
+ enableBenchmarksByTag ( "CDJS" ) ;
2435
+
2436
+ if ( runCodeLoad )
2437
+ enableBenchmarksByTag ( "CodeLoad" ) ;
2438
+
2439
+ if ( runOctane )
2440
+ enableBenchmarksByTag ( "Octane" ) ;
2441
+
2442
+ if ( runRexBench )
2443
+ enableBenchmarksByTag ( "RexBench" ) ;
2444
+
2445
+ if ( runSeaMonster )
2446
+ enableBenchmarksByTag ( "SeaMonster" ) ;
2447
+
2448
+ if ( runSimple )
2449
+ enableBenchmarksByTag ( "Simple" ) ;
2450
+
2451
+ if ( runSunSpider )
2452
+ enableBenchmarksByTag ( "SunSpider" ) ;
2453
+
2454
+ if ( runBigIntNoble )
2455
+ enableBenchmarksByTag ( "BigIntNoble" ) ;
2456
+
2457
+ if ( runBigIntMisc )
2458
+ enableBenchmarksByTag ( "BigIntMisc" ) ;
2459
+
2460
+ if ( runProxy )
2461
+ enableBenchmarksByTag ( "Proxy" ) ;
2462
+
2463
+ if ( runClassFields )
2464
+ enableBenchmarksByTag ( "ClassFields" ) ;
2465
+
2466
+ if ( runGenerators )
2467
+ enableBenchmarksByTag ( "Generators" ) ;
2468
+
2469
+ if ( runWasm )
2470
+ enableBenchmarksByTag ( "Wasm" ) ;
2471
+
2472
+ if ( runWorkerTests )
2473
+ enableBenchmarksByTag ( "WorkerTests" ) ;
2474
+
2475
+ if ( runWSL )
2476
+ enableBenchmarksByTag ( "WSL" ) ;
2477
+
2478
+ if ( runWTB )
2479
+ enableBenchmarksByTag ( "WTB" ) ;
2480
+ }
0 commit comments