function initializeWithEval() {
  var dbTest = new loki('perfInsertWithEval');

  var start, end, totalTime;
  var totalTimes = [];
  var totalMS = 0.0;

  var coll = dbTest.addCollection('samplecoll', {
    indices: ['customId'],
    asyncListeners: false,
    disableChangesApi: true,
    transactional: false,
    clone: false
  });

  var dv = coll.addDynamicView('test');
  dv.applyFind({
    'customId': {
      '$lt': arraySize / 4
    }
  });

  for (var idx = 0; idx < arraySize; idx++) {
    var v1 = genRandomVal();
    var v2 = genRandomVal();

    start = process.hrtime();
    coll.insert({
      customId: idx,
      val: v1,
      val2: v2,
      val3: "more data 1234567890"
    });
    end = process.hrtime(start);
    totalTimes.push(end);
  }

  for (var idx = 0; idx < totalTimes.length; idx++) {
    totalMS += totalTimes[idx][0] * 1e3 + totalTimes[idx][1] / 1e6;
  }

  totalMS = totalMS.toFixed(2);
  var rate = arraySize * 1000 / totalMS;
  rate = rate.toFixed(2);
  console.log("load (insert with dynamic view registered) : " + totalMS + "ms (" + rate + ") ops/s");
}
initializeWithEval : repeat of insert bench with a dynamic view registered.
   All inserts will be passed into the view's evaluateDocument() method.
   This test is an attempt to gauge the level of impact of that overhead.