Welcome to mirror list, hosted at ThFree Co, Russian Federation.

buffer_creation.js « benchmark - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3bc711e3bade771262cf111605628252adb0d3d9 (plain)
1
2
3
4
5
6
SlowBuffer = require('buffer').SlowBuffer;

for (var i = 0; i < 1e6; i++) {
  b = new SlowBuffer(10);
  b[1] = 2
}