Skip to content

cliedeman/boilbench

 
 

Repository files navigation

SQLBoiler Benchmarks

Requirements

This repo requires Go 1.14+ to run.

To regenerate models, a running docker daemon is required.

Instructions

To run the benchmarks, run: go test -bench . -benchmem

To generate the models, run: ./scripts/gen-models

To benchmark using a different version of SQLBoiler, you can use a module replacement that points at a local checkout. For example:

go mod edit -replace github.com/volatiletech/sqlboiler/v4=/home/user/sqlboiler

Regenerate the models as needed. The model generation script and the code in this repo will use the replaced SQLBoiler. The same can be done for any other dependency as needed.

Note: There are some ruby and python scripts for generating graphs from many runs of these benchmarks. They can be used to help update the sqlboiler README with new graphs.

Graphs can be found in the SQLBoiler readme.

The homepage for the SQLBoiler is located at: https://github.com/volatiletech/sqlboiler

About

Benchmarks for SQLBoiler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 86.1%
  • Python 6.2%
  • Ruby 5.2%
  • Shell 2.5%