Benchmark::IPS::Job

class Benchmark::IPS::Job

Defined in:

benchmark/ips.cr

Class Method Summary

Instance Method Summary

Class Method 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

Add code to be benchmarked

def reportSource

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部