function augment (arr) {
// Augment the Uint8Array *instance* (not the class!) with Buffer methods
arr.write = BufferWrite
-
arr.toString = BufferToString
arr.toLocaleString = BufferToString
arr.toJSON = BufferToJSON
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 50
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 16
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 10
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 10
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 10
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 10
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 20
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 16
var benchmark = require('benchmark')
var suite = new benchmark.Suite()
-global.NewBuffer = require('../').Buffer // buffer-browserify-fast
+global.NewBuffer = require('../').Buffer // native-buffer-browserify
global.OldBuffer = require('buffer-browserify').Buffer // buffer-browserify
var LENGTH = 10