parameters: (self, name)
return_statement: return BenchmarkSuite(name, benchmarks)
docstring: Returns the resulting benchmarks for a given suite.
docstring_summary: Returns the resulting benchmarks for a given suite.
docstring_tokens: Returns the resulting benchmarks for a given suite .
function: def suite(self, name):
          """ Returns the resulting benchmarks for a given suite. """
          # update .m2 directory, which installs target jars
          self.build.build()
  
          suite_cmd = JavaMicrobenchmarkHarnessCommand(
              self.build, self.benchmark_filter)
  
          # Ensure there will be data
          benchmark_names = suite_cmd.list_benchmarks()
          if not benchmark_names:
              return None
  
          results = suite_cmd.results(repetitions=self.repetitions)
          benchmarks = JavaMicrobenchmarkHarness.from_json(results)
          return BenchmarkSuite(name, benchmarks)
function_tokens: def suite ( self , name ) : # update .m2 directory, which installs target jars self . build . build ( ) suite_cmd = JavaMicrobenchmarkHarnessCommand ( self . build , self . benchmark_filter ) # Ensure there will be data benchmark_names = suite_cmd . list_benchmarks ( ) if not benchmark_names : return None results = suite_cmd . results ( repetitions = self . repetitions ) benchmarks = JavaMicrobenchmarkHarness . from_json ( results ) return BenchmarkSuite ( name , benchmarks )