memory comparison benchmark

This commit is contained in:
Miguel Grinberg
2022-08-07 12:31:21 +01:00
parent 09dc3ef7aa
commit d090bbf8e2
13 changed files with 235 additions and 1 deletions

19
tox.ini
View File

@@ -1,5 +1,5 @@
[tox]
envlist=flake8,py36,py37,py38,py39,py310,upy
envlist=flake8,py36,py37,py38,py39,py310,upy,benchmark
skipsdist=True
skip_missing_interpreters=True
@@ -38,3 +38,20 @@ commands=sh -c "bin/micropython run_tests.py"
whitelist_externals=micropython
commands=micropython run_tests.py
deps=
[testenv:benchmark]
deps=
flask
quart
fastapi
gunicorn
uvicorn
requests
psutil
humanize
changedir=examples/benchmark
commands=
python run.py
setenv=
PATH={env:PATH}{:}../../bin