aboutsummaryrefslogtreecommitdiff
path: root/tmp
diff options
context:
space:
mode:
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/test-maps.js6
-rwxr-xr-xtmp/test-node.js2
2 files changed, 5 insertions, 3 deletions
diff --git a/tmp/test-maps.js b/tmp/test-maps.js
index c89d105e..438d198f 100755
--- a/tmp/test-maps.js
+++ b/tmp/test-maps.js
@@ -28,8 +28,10 @@ function do_file(file) {
// generate source into the output stream
// first reset the current file name in the source map.
- map.set_source(file);
- ast.print(output);
+ UglifyJS.time_it("generate", function(){
+ map.set_source(file);
+ ast.print(output);
+ });
};
files.forEach(do_file);
diff --git a/tmp/test-node.js b/tmp/test-node.js
index d737afde..ce03b591 100755
--- a/tmp/test-node.js
+++ b/tmp/test-node.js
@@ -22,7 +22,7 @@ time_it("scope", function(){
ast.figure_out_scope();
});
-ast.scope_warnings();
+// ast.scope_warnings();
time_it("mangle", function(){
ast.mangle_names();