rbxts-pako/benchmark/implementations/deflate-pako-string/index.js
2014-04-09 00:50:01 +04:00

11 lines
207 B
JavaScript

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