Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(430)

Unified Diff: Makefile

Issue 7446049: Instrument compiler.js and inline-module.js with timing code. Base URL: https://code.google.com/p/traceur-compiler/@master
Patch Set: Merge master at 4bb5709e44bba2ea, add time-bench files to .gitignore Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gitignore ('k') | src/node/compiler.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
index 7d2d5946279824f988b98a23d5ec376fd9c586f8..216d66795a04856b23aa515b6b03b4aa45ddf68b 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,8 @@ TFLAGS = --strict-semicolons --
build: bin/traceur.js
+time-build: build bin/traceur.time.js.log
+
min: bin/traceur.min.js
# Uses uglifyjs to compress. Make sure you have it installed
@@ -62,6 +64,9 @@ src/syntax/trees/ParseTreeType.js: src/syntax/trees/trees.json build/build-parse
%.js: %.js-template.js
node build/expand-js-template.js $^ $@
+%.time.js %.time.js.log: %.js
+ ./traceur --out $*.time.js --time $(TFLAGS) $(SRC) > $*.time.js.log
+
bin/traceur.ugly.js: bin/traceur.js
uglifyjs bin/traceur.js --compress dead_code=true,unused=true,sequences=true,join_vars=true,evaluate=true,booleans=true,conditionals=true -m -o $@
« no previous file with comments | « .gitignore ('k') | src/node/compiler.js » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b