padrino/padrino-framework — pull request #1336 by namusyaka (2013-07-05 19:35:23+00:00)
Title: File.read is better than "open".

File.read is faster than open.

```
require 'benchmark'

Benchmark.bm do |x|
x.report { 1000.times do ; open("foo.txt").read; end }
x.report { 1000.times do ; File.read("foo.txt"); end }
end
user system total real
0.030000 0.000000 0.030000 ( 0.034196)
0.020000 0.010000 0.030000 ( 0.024281)
```