Skip to content

Instantly share code, notes, and snippets.

require "tempfile"
data = "test"
[:flush, :fsync, :fdatasync].each do |method|
puts "---- #{method} ----"
res = []
10.times do
Tempfile.open("testtmpfile") do |f|
before = Time.now
10000.times do |i|
@sho-h
sho-h / redmine.changes.md
Last active September 25, 2018 12:24
Ruby level Redmine changes by yard diff(3.0.0 -> 3.4.6)
class/method path version action detail
AccountController#invalid_credentials app/controllers/account_controller.rb 3.3.0 modified compare url
AccountController#login app/controllers/account_controller.rb 3.2.7 modified compare url
AccountController#login app/controllers/account_controller.rb 3.3.0 modified compare url
AccountController#login app/controllers/account_controller.rb 3.4.0 modified compare url
AccountController#login app/controllers/account_controller.rb 3.3.4 modified [compare url](https://github.com/redmine/redmine/compare/3.3.3...3.3.4#dif