fix load path in benchmark scripts
This commit is contained in:
parent
023f85704f
commit
f0e7e4a425
@ -1,5 +1,4 @@
|
|||||||
# encoding: UTF-8
|
# encoding: UTF-8
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
|
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# encoding: UTF-8
|
# encoding: UTF-8
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
|
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'benchmark'
|
require 'benchmark'
|
||||||
require 'mysql'
|
require 'mysql'
|
||||||
require 'mysql2_ext'
|
require 'mysql2'
|
||||||
require 'do_mysql'
|
require 'do_mysql'
|
||||||
|
|
||||||
number_of = 1000
|
number_of = 1000
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# encoding: UTF-8
|
# encoding: UTF-8
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
|
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'benchmark'
|
require 'benchmark'
|
||||||
require 'mysql'
|
require 'mysql'
|
||||||
require 'mysql2_ext'
|
require 'mysql2'
|
||||||
require 'do_mysql'
|
require 'do_mysql'
|
||||||
|
|
||||||
number_of = 100
|
number_of = 100
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# encoding: UTF-8
|
# encoding: UTF-8
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
|
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'benchmark'
|
require 'benchmark'
|
||||||
require 'mysql'
|
require 'mysql'
|
||||||
require 'mysql2_ext'
|
require 'mysql2'
|
||||||
require 'do_mysql'
|
require 'do_mysql'
|
||||||
|
|
||||||
number_of = 100
|
number_of = 100
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# encoding: UTF-8
|
# encoding: UTF-8
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
|
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# encoding: UTF-8
|
# encoding: UTF-8
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
|
|
||||||
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
||||||
|
|
||||||
# This script is for generating psudo-random data into a single table consisting of nearly every
|
# This script is for generating psudo-random data into a single table consisting of nearly every
|
||||||
|
Loading…
Reference in New Issue
Block a user