Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(896)

Unified Diff: tools/perf/page_sets/tough_scheduling_cases/generate_second_batch_js.sh

Issue 1019833002: Revert of Add second batch JS benchmark and code generator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/perf/page_sets/tough_scheduling_cases/generate_second_batch_js.sh
diff --git a/tools/perf/page_sets/tough_scheduling_cases/generate_second_batch_js.sh b/tools/perf/page_sets/tough_scheduling_cases/generate_second_batch_js.sh
deleted file mode 100755
index 5a75f7181780336842007e688ffdd1d58b365bd7..0000000000000000000000000000000000000000
--- a/tools/perf/page_sets/tough_scheduling_cases/generate_second_batch_js.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-readonly LIGHT_OPTS="\
- --closure-count=10 \
- --function-count=10 \
- --inner-function-count=10 \
- --function-call-count=1 \
- --closure-call-count=1 \
- --inner-function-line-count=1 \
- --loop-count=5"
-readonly MEDIUM_OPTS="\
- --closure-count=50 \
- --function-count=50 \
- --inner-function-count=20 \
- --function-call-count=5 \
- --closure-call-count=5 \
- --inner-function-line-count=2 \
- --loop-count=5"
-readonly HEAVY_OPTS="\
- --closure-count=200 \
- --function-count=200 \
- --inner-function-count=40 \
- --function-call-count=10 \
- --closure-call-count=10 \
- --inner-function-line-count=3 \
- --loop-count=5"
-
-function generate {
- local generator="./second_batch_js_generator.py"
- local header="// Generated with $generator $@"
- {
- echo $header;
- $generator $@ | yui-compressor --type js;
- }
-}
-
-generate $LIGHT_OPTS > second_batch_js_light.min.js
-generate $MEDIUM_OPTS > second_batch_js_medium.min.js
-generate $HEAVY_OPTS > second_batch_js_heavy.min.js
« no previous file with comments | « tools/perf/page_sets/tough_scheduling_cases.py ('k') | tools/perf/page_sets/tough_scheduling_cases/second_batch_js.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698