Skip to content

Instantly share code, notes, and snippets.

View Nuanda's full-sized avatar

Tomasz Gubała Nuanda

View GitHub Profile
# 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')