Advanced benchmarks for +10 Go ORMs. Originally forked from orm-benchmark.
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
- jet
- sq
See go.mod
for their latest versions.
# 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.
Look at results.md
to see detailed benchmark results.
Note: All results are automatically generated by Github Actions. Benchmark results may sometimes be wrong.
go-orm-benchmarks is licensed under the terms of the MIT License (see LICENSE).