report timing breakdown (#2000)

fix corner cases with `sourceMap`

fixes #1998
This commit is contained in:
Alex Lam S.L
2017-05-25 07:15:55 +08:00
committed by GitHub
parent a277fe168d
commit 793d61499b
5 changed files with 47 additions and 27 deletions

View File

@@ -14,7 +14,7 @@ if (typeof phantom == "undefined") {
if (!args.length) {
args.push("-mc");
}
args.push("--stats");
args.push("--timings");
var child_process = require("child_process");
try {
require("phantomjs-prebuilt");