benchmark.js
function(done) {
          readBuffer(info.filePath, function(data) {
            lzma.compress(data, 1, function(result, error) {
              if (error) {
                throw error;
              }
              writeBuffer(info.lzFilePath, new Buffer(result), function() {
                info.lzTime = Date.now();
                // Open and read the size of the minified+lzma output
                readSize(info.lzFilePath, function(size) {
                  info.lzSize = size;
                  done();
                });
              });
            });
          });
        }
function(done) {
          readBuffer(info.filePath, function(data) {
            lzma.compress(data, 1, function(result, error) {
              if (error) {
                throw error;
              }
              writeBuffer(info.lzFilePath, new Buffer(result), function() {
                info.lzTime = Date.now();
                // Open and read the size of the minified+lzma output
                readSize(info.lzFilePath, function(size) {
                  info.lzSize = size;
                  done();
                });
              });
            });
          });
        }
function ( done ) { readBuffer ( info . filePath , function ( data ) { lzma . compress ( data , 1 , function ( result , error ) { if ( error ) { throw error ; } writeBuffer ( info . lzFilePath , new Buffer ( result ) , function ( ) { info . lzTime = Date . now ( ) ; // Open and read the size of the minified+lzma output readSize ( info . lzFilePath , function ( size ) { info . lzSize = size ; done ( ) ; } ) ; } ) ; } ) ; } ) ; }
Apply LZMA on minified output
Apply LZMA on minified output