rbxts-pako/benchmark/implementations/deflate-pako-string/index.js
2014-04-13 13:45:12 +04:00

11 lines
209 B
JavaScript

'use strict'
var pako = require('../../../');
var utils = require('../../../lib/utils/common');
exports.run = function(data, level) {
pako.deflate(data.string, {
level: level,
to: 'string'
});
}