File tree Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 1+ aiohttp==3.7.3
2+ async-timeout==3.0.1
3+ attrs==20.3.0
4+ certifi==2020.12.5
5+ chardet==3.0.4
6+ gunicorn==20.0.4
7+ idna==2.10
8+ multidict==5.1.0
9+ requests==2.25.1
10+ typing-extensions==3.7.4.3
11+ urllib3==1.26.4
12+ uvloop==0.14.0
13+ yarl==1.6.3
Original file line number Diff line number Diff line change @@ -118,5 +118,5 @@ def main():
118118
119119if __name__ == '__main__' :
120120 # main()
121- for i in range (3000 ):
121+ for i in range (10000 ):
122122 bench_switch ()
Original file line number Diff line number Diff line change 11aiohttp==3.7.3
22async-timeout==3.0.1
33attrs==20.3.0
4+ certifi==2020.12.5
5+ chardet==3.0.4
46gunicorn==20.0.4
7+ idna==2.10
58multidict==5.1.0
9+ requests==2.25.1
610typing-extensions==3.7.4.3
11+ urllib3==1.26.4
712uvloop==0.14.0
813yarl==1.6.3
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ mkdir -p results
1515ENV=/tmp/macrobenchmark_env
1616for bench in flaskblogging djangocms mypy_bench pylint_bench pycparser_bench pytorch_alexnet_inference gunicorn aiohttp thrift_bench gevent_bench_hub; do
1717 rm -rf $ENV
18- virtualenv -p $BINARY $ENV
19- $ENV /bin/pip install -r benchmarks/${bench} _requirements.txt
20- /usr/bin/time --verbose --output=results/${bench} .out $ENV /bin/python benchmarks/${bench} .py
18+ $BINARY -m venv $ENV
19+ $ENV /bin/pip install -r $( dirname $0 ) / benchmarks/${bench} _requirements.txt
20+ /usr/bin/time --verbose --output=results/${bench} .out $ENV /bin/python $( dirname $0 ) / benchmarks/${bench} .py
2121done
You can’t perform that action at this time.
0 commit comments