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():
118
118
119
119
if __name__ == '__main__' :
120
120
# main()
121
- for i in range (3000 ):
121
+ for i in range (10000 ):
122
122
bench_switch ()
Original file line number Diff line number Diff line change 1
1
aiohttp==3.7.3
2
2
async-timeout==3.0.1
3
3
attrs==20.3.0
4
+ certifi==2020.12.5
5
+ chardet==3.0.4
4
6
gunicorn==20.0.4
7
+ idna==2.10
5
8
multidict==5.1.0
9
+ requests==2.25.1
6
10
typing-extensions==3.7.4.3
11
+ urllib3==1.26.4
7
12
uvloop==0.14.0
8
13
yarl==1.6.3
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ mkdir -p results
15
15
ENV=/tmp/macrobenchmark_env
16
16
for bench in flaskblogging djangocms mypy_bench pylint_bench pycparser_bench pytorch_alexnet_inference gunicorn aiohttp thrift_bench gevent_bench_hub; do
17
17
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
21
21
done
You can’t perform that action at this time.
0 commit comments