updated profiling stub

This commit is contained in:
Vitaly Puzrin 2014-03-12 14:24:07 +04:00
parent c6f445a2e2
commit 86c7fb99af

View file

@ -5,7 +5,8 @@ var pako = require('../index.js');
var data = new Uint8Array(fs.readFileSync(__dirname +'/samples/lorem_1mb.txt'));
var deflated = pako.deflate(data, { level: 6 });
for (var i=0; i<50; i++) {
pako.deflate(data, { level: 6 });
for (var i=0; i<200; i++) {
pako.inflate(deflated);
}