├── README.markdown ├── lib ├── sim_cache.rb └── sim_cache │ ├── log_replayer.rb │ ├── mock_cache.rb │ └── replay_statistics_methods.rb └── spec ├── fixtures ├── cache_util.png ├── miss_percentage.png ├── predicted_vs_actual.png ├── sample_out.log └── test.log ├── log_replayer_spec.rb ├── mock_cache_spec.rb └── spec_helper.rb /README.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/README.markdown -------------------------------------------------------------------------------- /lib/sim_cache.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/lib/sim_cache.rb -------------------------------------------------------------------------------- /lib/sim_cache/log_replayer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/lib/sim_cache/log_replayer.rb -------------------------------------------------------------------------------- /lib/sim_cache/mock_cache.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/lib/sim_cache/mock_cache.rb -------------------------------------------------------------------------------- /lib/sim_cache/replay_statistics_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/lib/sim_cache/replay_statistics_methods.rb -------------------------------------------------------------------------------- /spec/fixtures/cache_util.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/spec/fixtures/cache_util.png -------------------------------------------------------------------------------- /spec/fixtures/miss_percentage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/spec/fixtures/miss_percentage.png -------------------------------------------------------------------------------- /spec/fixtures/predicted_vs_actual.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/spec/fixtures/predicted_vs_actual.png -------------------------------------------------------------------------------- /spec/fixtures/sample_out.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/spec/fixtures/sample_out.log -------------------------------------------------------------------------------- /spec/fixtures/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/spec/fixtures/test.log -------------------------------------------------------------------------------- /spec/log_replayer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/spec/log_replayer_spec.rb -------------------------------------------------------------------------------- /spec/mock_cache_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/spec/mock_cache_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vincentchu/sim_cache/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------