efectn / go-orm-benchmarks

Advanced benchmarks for +15 Go ORMs.
MIT License
308 stars 33 forks source link
benchmark database golang orm

Go ORM Benchmarks

Go Reference

Advanced benchmarks for +10 Go ORMs. Originally forked from orm-benchmark.

ORMs

All package run in no-cache mode.

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).