mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
just use regular benchmark library
This commit is contained in:
parent
2e699d502a
commit
ecefb9412c
4 changed files with 4 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'benchwarmer'
|
require 'benchmark'
|
||||||
require 'right_aws'
|
require 'right_aws'
|
||||||
|
|
||||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
require 'rubygems'
|
require 'benchmark'
|
||||||
require 'benchwarmer'
|
|
||||||
|
|
||||||
COUNT = 1000
|
COUNT = 1000
|
||||||
data = "Content-Length: 100"
|
data = "Content-Length: 100"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
require 'rubygems'
|
require 'benchmark'
|
||||||
require 'benchwarmer'
|
|
||||||
|
|
||||||
def hash(options)
|
def hash(options)
|
||||||
result = "#{options.delete(:name)}"
|
result = "#{options.delete(:name)}"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
require 'rubygems'
|
require 'benchmark'
|
||||||
require 'benchwarmer'
|
|
||||||
|
|
||||||
COUNT = 1_000_000
|
COUNT = 1_000_000
|
||||||
data = "Content-Length: 100\r\n"
|
data = "Content-Length: 100\r\n"
|
||||||
|
|
Loading…
Reference in a new issue