Skip to content
Memory comparison between different uses of Hash, Arrays, Struct and Class
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.markdown
memory_a.rb
memory_b.rb
memory_c.rb
memory_d.rb
memory_e.rb
memory_f.rb
run.sh

README.markdown

It's a memory using comparison between different stores implementations. To run at your own computer make sure you're in a environment with access to time tool.

Use sh run.sh to see complete results.

file real user sys maximum resident set size
memory_a.rb 1.52 2.76 0.16 106409984
memory_b.rb 1.84 3.11 0.13 94859264
memory_c.rb 1.66 3.26 0.16 95125504
memory_d.rb 1.58 2.99 0.13 95064064
memory_e.rb 1.45 2.69 0.11 94691328
memory_f.rb 1.50 2.81 0.11 94236672
These time was collected in my Macbook Pro i5  using jruby-1.7.3.
You can’t perform that action at this time.