Skip to content

Instantly share code, notes, and snippets.

@arthurnn
Created December 26, 2012 05:17
Show Gist options
  • Save arthurnn/4378107 to your computer and use it in GitHub Desktop.
Save arthurnn/4378107 to your computer and use it in GitHub Desktop.
BSON::ObjectId.new
user system total real
10gen-mongo 0.910000 0.000000 0.910000 ( 0.920081)
moped 0.250000 0.000000 0.250000 ( 0.247459)
BSON::ObjectId.to_s
user system total real
10gen-mongo 5.920000 0.010000 5.930000 ( 5.929247)
moped 5.090000 0.010000 5.100000 ( 5.095296)
BSON::ObjectId.generation_time
user system total real
10gen-mongo 4.250000 0.000000 4.250000 ( 4.252119)
moped 6.570000 0.010000 6.580000 ( 6.576967)
BSON::ObjectId.data
user system total real
10gen-mongo 1.080000 0.000000 1.080000 ( 1.089296)
moped 4.090000 0.000000 4.090000 ( 4.087216)
BSON::ObjectId.hash
user system total real
10gen-mongo 2.020000 0.010000 2.030000 ( 2.027875)
moped 4.530000 0.010000 4.540000 ( 4.556668)
inserts
user system total real
10gen-mongo 3.160000 0.470000 3.630000 ( 5.021058)
moped 3.210000 0.370000 3.580000 ( 4.896639)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment