Skip to content
Browse files

Remove extra benchmarks that got in during a botched merge

  • Loading branch information...
1 parent 4894f6c commit 785828bea7d901ce578fdf3d0aa5862485b72f14 @chendo chendo committed
Showing with 0 additions and 35 deletions.
  1. +0 −35 test/benchmark_test.rb
View
35 test/benchmark_test.rb
@@ -61,41 +61,6 @@
end
end
- x.report("read_multi:rails-localstore:dalli") do
- n.times do
- @ds.with_local_cache do
- @ds.read_multi @key1, @key2, @key3
- @ds.read @key1
- @ds.read @key2
- @ds.read @key3
- end
- @ds.with_local_cache do
- @ds.read @key1
- @ds.read @key2
- @ds.read @key3
- @ds.read_multi @key1, @key2, @key3
- end
- end
- end
-
- @m = Dalli::Client.new(@servers)
- x.report("set:plain:dalli") do
- n.times do
- @ds.with_local_cache do
- @ds.read @key1
- @ds.write @key2, @value
- @ds.fetch(@key3) { @value }
- @ds.fetch(@key2) { @value }
- @ds.fetch(@key1) { @value }
- @ds.write @key2, @value, :unless_exists => true
- @ds.delete @key2
- @ds.increment @counter, 1, :initial => 100
- @ds.increment @counter, 1, :expires_in => 12
- @ds.decrement @counter, 1
- end
- end
- end
-
@ds.clear
sizeable_data = "<marquee>some view partial data</marquee>" * 50
[@key1, @key2, @key3, @key4, @key5, @key6].each do |key|

0 comments on commit 785828b

Please sign in to comment.
Something went wrong with that request. Please try again.