Hi Jeremy,

I ran some benchmarks recently to evaluate Sequel vs AR. Everything was in 
favor of Sequel except for one query which makes me think maybe something 
is wrong. I thought I'd bring it to your attention in case there may be a 
possible regression for that query. Or maybe I didn't implement it 
correctly. 

You can see the results here 
<https://hmistry.github.io/software/2017/12/11/activerecord-vs-sequel.html>
. 

The query that performed worse than AR was:
# AR version 
Post.where(topic: topic).where("updated_at > ?", from).order(updated_at: :
desc).to_a


# Sql version
Post.where(topic: topic).where(Sequel.lit("updated_at > ?", from)).order(:
updated_at).reverse.all 

Regards,
Hiren.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to