W3cubDocs

/Crystal 0.31

class Benchmark::BM::Job

Overview

Yielded by Benchmark#bm, use #report to report benchmarks.

Defined in:

benchmark/bm.cr

Instance Method Summary

Instance Method Detail

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

Reports a single benchmark unit.

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