File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ async function main() {
296296 . boolean ( "headless" )
297297 . default ( "headless" , false )
298298 . boolean ( "smoketest" )
299+ . string ( "type" )
299300 . boolean ( "nothrottling" )
300301 . default ( "nothrottling" , false )
301302 . string ( "runner" )
@@ -383,6 +384,14 @@ async function main() {
383384 ( f ) => f . keyed || config . BENCHMARK_RUNNER !== BenchmarkRunner . WEBDRIVER_AFTERFRAME
384385 ) ;
385386
387+ if ( args . type == 'keyed' ) {
388+ runFrameworks = runFrameworks . filter ( ( f ) => f . keyed ) ;
389+ console . log ( "run only keyed frameworks" ) ;
390+ } else if ( args . type == 'non-keyed' ) {
391+ runFrameworks = runFrameworks . filter ( ( f ) => ! f . keyed ) ;
392+ console . log ( "run only non-keyed frameworks" ) ;
393+ }
394+
386395 console . log ( "ARGS.smotest" , args . smoketest ) ;
387396 if ( args . smoketest ) {
388397 config . WRITE_RESULTS = false ;
You can’t perform that action at this time.
0 commit comments