Skip to content

Need help debugging terrible performance #2755

Answered by weiznich
pretzelhammer asked this question in Q&A
Discussion options

You must be logged in to vote

I fear it's not really possible to help you here, at least not with the information you've provided here. This is missing at least the following information:

  • How to setup the benchmark?
  • How did you exactly measure your numbers?
  • Which tools did you use for that?
  • Did you use a release build?
  • Which endpoint was used by your benchmark?
  • Which backend did you use?
  • How did you configure your database?

Leaving these points beside: Are you even sure that this is caused by diesel and not by an other difference in your implementation? At least our benchmarks indicate that diesel on itself is in all situations at least as performant as sqlx, if not much more performanter. Therefore as general advic…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@pretzelhammer
Comment options

@weiznich
Comment options

@pretzelhammer
Comment options

@weiznich
Comment options

@pretzelhammer
Comment options

Answer selected by pretzelhammer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants