On Nov 24, 1:58 am, Ciaran Archer <[email protected]> wrote:
> Hi Jeremy
>
> Since I'm using JRuby because I don't want to use Java, I think I will
> leave the type conversion on, and for now just watch the column
> count :)
>
> SEQUEL BENCHMARK RESULTS (TYPE CONVERSION ON, ALL COLS, MASTER BRANCH)
> Requests per second:    128.81 [#/sec] (mean)
> Time per request:       77.633 [ms] (mean)
>
> Compared to the original test:
>
> ORIGINAL SEQUEL BENCHMARK RESULTS
> Requests per second:    8.72 [#/sec] (mean)
> Time per request:       1146.993 [ms] (mean)
>
> And the original AR test:
>
> ORIGINAL ACTIVE RECORD BENCHMARK RESULTS
> Requests per second:    182.08 [#/sec] (mean)
> Time per request:       54.922 [ms] (mean)

For a fairer benchmark, you could either restrict the selected columns
to only the columns you need, or you should iterate over all selected
columns so that ActiveRecord needs to do the same type conversion that
Sequel does.  But it's good to see that even if the worst case
scenario, Sequel is now at least close in performance.

> One final question: when will the master branch make it in the the
> latest gem release?

Sequel releases once per month, in the first few days of the month.
The next release (3.30.0) is planned for December 1.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to