This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the test I use to check the performance of the extension (I use 0.14.1 version of the driver). | |
require 'rubygems' | |
require 'mongo' | |
require 'mongo/gridfs' | |
host = '127.0.0.1' | |
port = '27017' | |
db = Mongo::Connection.new(host, port).db('test') |