Go ORM Benchmarks
Advanced benchmarks for +10 Go ORMs. Originally forked from orm-benchmark.
ORMs
All package run in no-cache mode.
- beego/orm
- bun
- gorm 2
- pg
- sqlc
- xorm
- ent
- upper
- gorp
- godb
- dbr
- pop
- rel
- reform
- sqlboiler
- sqlx
- pgx
- zorm
- gen
See go.mod
for their latest versions.
Run
# install
go install github.com/efectn/go-orm-benchmarks@latest
# all
go-orm-benchmarks -orm=all
# portion
go-orm-benchmarks -orm=gorm
go-orm-benchmarks -orm=pg
go-orm-benchmarks -orm=bun
# ... and so on...
Note: Also, you can run ./run_benchmarks.sh
and you can get output like results.md format.
Results
Look at results.md
to see detailed benchmark results.
Note: All results are automatically generated by Github Actions. Benchmark results may sometimes be wrong.
License
go-orm-benchmarks is licensed under the terms of the MIT License (see LICENSE).