@ Subscribe public void onSuiteResult ( AggregatedSuiteResultEvent e ) { long millis = e . getExecutionTime ( ) ; String suiteName = e . getDescription ( ) . getDisplayName ( ) ; List < Long > values = hints . get ( suiteName ) ; if ( values == null ) { hints . put ( suiteName , values = new ArrayList <> ( ) ) ; } values . add ( millis ) ; while ( values . size ( ) > historyLength ) values . remove ( 0 ) ; }
Remember execution time for all executed suites .