Class: CelluloidBenchmark::TextFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/celluloid_benchmark/text_formatter.rb

Class Method Summary collapse

Class Method Details

.to_s(benchmark_run) ⇒ Object



5
6
7
# File 'lib/celluloid_benchmark/text_formatter.rb', line 5

def self.to_s(benchmark_run)
  tp benchmark_run.benchmarks.sort_by(&:label), :label, :threshold, :average_response_time, :min_response_time, :max_response_time, :responses
end