text: const notepack = require('../');
  const msgpackJs = require('msgpack-js');
  const msgpackLite = require('msgpack-lite');
  const data = require('./data');
  
  const Benchtable = require('benchtable');
  
  const suite = new Benchtable;
  
  suite
  .addFunction('notepack', function (x) {
    notepack.encode(x);
  })
  .addFunction('msgpack-js', function (x) {
    msgpackJs.encode(x);
  })
  .addFunction('msgpack-lite', function (x) {
    msgpackLite.encode(x);
  })
  // Note: JSON encodes buffers as arrays
  .addFunction('JSON.stringify (to Buffer)', function (x) {
    Buffer.from(JSON.stringify(x));
  })
  
  .addInput('tiny', [data.tiny])
  .addInput('small', [data.small])
  .addInput('medium', [data.medium])
  .addInput('large', [data.large])
  
  .on('complete', function () {
    console.log(this.table.toString());
  })
  .run({ async: true });
  