{"id":78129,"library":"benchmark-ips","title":"Benchmark IPS","description":"A iterations per second enhancement to Benchmark.","status":"active","version":"2.15.1","language":"ruby","source_language":null,"source_url":"https://github.com/evanphx/benchmark-ips","tags":["benchmark","performance","testing"],"install":[{"cmd":"gem install benchmark-ips","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'benchmark-ips', '~> 2.15.1'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Benchmark::IPS","correct":"require 'benchmark/ips'"}],"quickstart":{"code":"require 'benchmark/ips'\nBenchmark.ips do |x|\n  x.report('fast') { 1 + 1 }\n  x.report('slow') { sleep(0.01) }\n  x.compare!\nend","lang":"ruby","description":"Compare iterations per second of two code blocks."},"warnings":[],"env_vars":null,"search_vec":"'benchmark':1,9,10 'enhanc':7 'ip':2 'iter':4 'per':5 'perform':11 'second':6 'test':12","created_at":"2026-06-18T04:07:46.596611+00:00","updated_at":"2026-06-18T04:07:46.596611+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/evanphx/benchmark-ips","github":"https://github.com/evanphx/benchmark-ips","docs":"http://www.rubydoc.info/gems/benchmark-ips/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}