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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/sh
2 readonly LIGHT_OPTS="\
3 --closure-count=10 \
4 --function-count=10 \
5 --inner-function-count=10 \
6 --function-call-count=1 \
7 --closure-call-count=1 \
8 --inner-function-line-count=1 \
9 --loop-count=5"
10 readonly MEDIUM_OPTS="\
11 --closure-count=50 \
12 --function-count=50 \
13 --inner-function-count=20 \
14 --function-call-count=5 \
15 --closure-call-count=5 \
16 --inner-function-line-count=2 \
17 --loop-count=5"
18 readonly HEAVY_OPTS="\
19 --closure-count=200 \
20 --function-count=200 \
21 --inner-function-count=40 \
22 --function-call-count=10 \
23 --closure-call-count=10 \
24 --inner-function-line-count=3 \
25 --loop-count=5"
26
27 function generate {
28 local generator="./second_batch_js_generator.py"
29 local header="// Generated with $generator $@"
30 {
31 echo $header;
32 $generator $@ | yui-compressor --type js;
33 }
34 }
35
36 generate $LIGHT_OPTS > second_batch_js_light.min.js
37 generate $MEDIUM_OPTS > second_batch_js_medium.min.js
38 generate $HEAVY_OPTS > second_batch_js_heavy.min.js
OLDNEW
« 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