W3cubDocs

/Crystal

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–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Benchmark/BM/Job.html