Registry / testing / benchmark-memory

benchmark-memory

JSON →
library0.2.0rbrubygemsunverified

Benchmark-style memory profiling for Ruby.

gem install benchmark-memory
INSTALL
IMPORT
SIG · BENCHMARK-MEMORY
B
benchmark-memory
testingrubyv0.2.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.

Benchmark::Memory
require 'benchmark/memory'

Measure memory usage of a block

require 'benchmark/memory' Benchmark.memory { |x| x.report('test') { 'hello' * 1000 } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
20
Meta
1
Amazon
1
OpenAI (training)
1
Resources
benchmark-memory — gem install benchmark-memory · libregistry