mirror of
https://github.com/less/less.js.git
synced 2026-01-15 02:08:18 -05:00
benchmark with optimization: 3
This commit is contained in:
@@ -17,7 +17,7 @@ fs.stat(file, function (e, stats) {
|
||||
|
||||
start = new(Date);
|
||||
|
||||
new(less.Parser)().parse(data, function (err, tree) {
|
||||
new(less.Parser)({ optimization: 3 }).parse(data, function (err, tree) {
|
||||
end = new(Date);
|
||||
|
||||
total = end - start;
|
||||
|
||||
Reference in New Issue
Block a user