Skip to content

Commit e074324

Browse files
committed
Focused FastAPI-Startkit vs SQLAlchemy-async benchmark across sqlite/postgres/mysql
- Strip suite to just fastapi_startkit and sqlalchemy_async (bench.sh + dirs). - Fix Postgres/MySQL configs: set explicit url (the *Config dataclasses ship a bogus default url=sqlite+aiosqlite://..., and build_url prefers url over host/port, so PG/MySQL silently fell back to SQLite). - test_i: use builder update() instead of instance.save() for consistency with test_j.
1 parent 34a1d3b commit e074324

128 files changed

Lines changed: 14 additions & 4161 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

benchmarks/bench.sh

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,44 +17,23 @@ echo Test 1
1717
export TEST=1
1818
printf '' > outfile1
1919

20-
django/bench.sh | tee -a outfile1
21-
peewee/bench.sh | tee -a outfile1
2220
sqlalchemy_async/bench.sh | tee -a outfile1
23-
sqlobject/bench.sh | tee -a outfile1
24-
tortoise/bench.sh | tee -a outfile1
25-
piccolo/bench.sh | tee -a outfile1
26-
ormar/bench.sh | tee -a outfile1
27-
sqlmodel/bench.sh | tee -a outfile1
2821
fastapi_startkit/bench.sh | tee -a outfile1
2922

3023

3124
echo Test 2
3225
export TEST=2
3326
printf '' > outfile2
3427

35-
django/bench.sh | tee -a outfile2
36-
peewee/bench.sh | tee -a outfile2
3728
sqlalchemy_async/bench.sh | tee -a outfile2
38-
sqlobject/bench.sh | tee -a outfile2
39-
tortoise/bench.sh | tee -a outfile2
40-
piccolo/bench.sh | tee -a outfile2
41-
ormar/bench.sh | tee -a outfile2
42-
sqlmodel/bench.sh | tee -a outfile2
4329
fastapi_startkit/bench.sh | tee -a outfile2
4430

4531

4632
echo Test 3
4733
export TEST=3
4834
printf '' > outfile3
4935

50-
django/bench.sh | tee -a outfile3
51-
peewee/bench.sh | tee -a outfile3
5236
sqlalchemy_async/bench.sh | tee -a outfile3
53-
sqlobject/bench.sh | tee -a outfile3
54-
tortoise/bench.sh | tee -a outfile3
55-
piccolo/bench.sh | tee -a outfile3
56-
ormar/bench.sh | tee -a outfile3
57-
sqlmodel/bench.sh | tee -a outfile3
5837
fastapi_startkit/bench.sh | tee -a outfile3
5938

6039
echo `python -V`, Iterations: $ITERATIONS DBtype: $DBTYPE | tee -a results

benchmarks/django/bench.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.

benchmarks/django/manage-simple.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

benchmarks/django/simple/__init__.py

Whitespace-only changes.

benchmarks/django/simple/migrations/0001_initial.py

Lines changed: 0 additions & 139 deletions
This file was deleted.

benchmarks/django/simple/migrations/__init__.py

Whitespace-only changes.

benchmarks/django/simple/models.py

Lines changed: 0 additions & 71 deletions
This file was deleted.

benchmarks/django/simple/settings.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)