W3cubDocs

/Crystal 0.31

class Benchmark::IPS::Job

Defined in:

benchmark/ips.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(calculation = 5, warmup = 2, interactive = STDOUT.tty?)Source

Instance Method Detail

def executeSource

def items : Array(Entry)Source

List of all entries in the benchmark. After #execute, these are populated with the resulting statistics.

def items=(items : Array(Entry))Source

List of all entries in the benchmark. After #execute, these are populated with the resulting statistics.

def report(label = "", &action)Source

Adds code to be benchmarked

def reportSource

© 2012–2019 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.31.1/Benchmark/IPS/Job.html