var util = require('util');
var sass = require('../sass');
var fs = require('fs');

var bigScssStr = fs.readFileSync(require('path').resolve(__dirname,'./large_test.scss'));
var numTestCases = 1000;
var numCompiled = 0;
console.log(util.inspect(process.memoryUsage()));
for (var i = 0; i < numTestCases; i++) {
    sass.renderSync({data: bigScssStr});
}
console.log(util.inspect(process.memoryUsage()));
