Benchmarks result? #217
-
Am I wrong in saying that I see the code for the sqlx/diesel benchmarks but I don't see the results? Are they posted anywhere? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I don't think our benchmarks include SQLx (PR welcome!) although they do include Diesel and postgres/tokio-postgres. The results are not published online since that would require periodically running benchmarks on a specialized, dedicated CI machine. Regular CI runners are unsuitable for benchmarking due to massive fluctuations in performance and general unreliability. That's something we could implement in the future, but for the time being you can run the benchmarks on your local machine. It should be easy to run. |
Beta Was this translation helpful? Give feedback.
-
Generally speaking though, Cornucopia queries perform very close to |
Beta Was this translation helpful? Give feedback.
Generally speaking though, Cornucopia queries perform very close to
postgres
(for sync codegen) ortokio-postgres
(for async codegen). Knowing this, you can compare using Diesel's benchmarking suite: https://github.com/diesel-rs/metrics