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

fast_buffer2_creation.js « benchmark - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 877f5695d2725cd23a0049f93f4398d3847196db (plain)
1
2
3
4
5
6

FastBuffer = require('./fast_buffer2').FastBuffer;
for (var i = 0; i < 1e6; i++) {
  b = new FastBuffer(10);
  b[1] = 2;
}