Browse files

Fix File.read benchmark

  • Loading branch information...
1 parent d6ce2a3 commit 91bcd3550777b17ea91bcea930ae6f91bed94cbb @dbussink dbussink committed Sep 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 benchmark/core/file/bench_read.rb
View
4 benchmark/core/file/bench_read.rb
@@ -2,8 +2,8 @@
require 'benchmark/ips'
small_file = File.join(File.dirname(__FILE__), 'small.txt')
-medium_file = File.join(_File.dirname(_FILE__), 'medium.txt')
-large_file = File.join(_File.dirname(_FILE__), 'large.txt')
+medium_file = File.join(File.dirname(__FILE__), 'medium.txt')
+large_file = File.join(File.dirname(__FILE__), 'large.txt')
Benchmark.ips do |x|
x.report "File.read a small file" do

0 comments on commit 91bcd35

Please sign in to comment.