Registry / testing / benchmark-driver

benchmark-driver

JSON →
library0.17.0rbrubygemsunverified

Fully-featured accurate benchmark driver for Ruby with detailed output and comparison.

gem install benchmark_driver
INSTALL
IMPORT
SIG · BENCHMARK-DRIVER
B
benchmark-driver
testingrubyv0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BenchmarkDriver
require 'benchmark_driver'

Compare performance of two code snippets

require 'benchmark_driver' Benchmark.driver do |x| x.report('fast') { 1 + 1 } x.report('slow') { 1 + 1 + 1 } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.17.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
18
Meta
1
Amazon
1
OpenAI (training)
1
Resources
benchmark-driver — gem install benchmark-driver · libregistry