christkv/node-mongodb-native — pull request #574 by AaronAsAChimp (2012-04-02 22:05:31+00:00)
Title: Refactor use of Arguments object to gain performance

I used node's profiler and the gridfs_benchmark.js to identify unoptimized code. It was mostly the use of the arguments object.

**Performance before (average of three runs):**
total time ms :: 1904.33
ms pr operation :: 1.9043
operations pr second :: 525.11
bytes pr second :: 39070348
MB pr second :: 37.26

**Performance after (average of three runs):**
total time ms :: 1579.33
ms pr operation :: 1.5793
operations pr second :: 633.17
bytes pr second :: 46880172
MB pr second :: 44.70