Ferret just got faster

Hey guys,

Sorry I haven’t been around for the last few days. I’ve just finished
a coding marathon fixing up some of the performance problems in
Ferret. If you don’t know what I’m talking about there has been a
problem with Filters and Sorts on large indexes. Well, I think I’ve
fixed the problem.

Before:

[email protected]:~/workspace/exp_old/c $ slow_bench
sort_test
Took: 10410000 clocks in 10.410 seconds
rangeq_test
Took: 8110000 clocks in 8.110 seconds

After:

[email protected]:~/workspace/exp/c $ slow_bench
sort_test
Took: 120000 clocks in 0.120 seconds
rangeq_test
Took: 80000 clocks in 0.080 seconds

So as you can see, there is a significant difference (two orders of
magnitude). I’ll get to answering my email now and I’ll have a new gem
out soon after that.

Cheers,
Dave

Hey David,

So as you can see, there is a significant difference (two orders of
magnitude). I’ll get to answering my email now and I’ll have a new gem
out soon after that.

Wow… it looks great on paper! I can’t wait to see the difference on my
domain :slight_smile:

Thanks again for your efforts.

Ben

p.s. @anyone_else_out_there, did you know, that you can donate to Ferret
by visting this link:
http://ferret.davebalmain.com/trac :wink:

Very cool! I am donating $10 (hey, I’m a college student) and I suggest
everyone else do the same.

Thanks again, Dave.

  • Winton

On 10/5/06, Winton [email protected] wrote:

Very cool! I am donating $10 (hey, I’m a college student) and I suggest
everyone else do the same.

Thanks again, Dave.

  • Winton

Thanks for the support Winton. I do appreciate it.

David B. wrote:

So as you can see, there is a significant difference (two orders of
magnitude). I’ll get to answering my email now and I’ll have a new gem
out soon after that.

That’s great news. Looking forward to the release.

hey, awesome work. that is am amazing improvement! i hope to try out
ferret asap.

On 10/4/06, David B. [email protected] wrote:

Hey guys,

Sorry I haven’t been around for the last few days. I’ve just finished
a coding marathon fixing up some of the performance problems in
Ferret. If you don’t know what I’m talking about there has been a
problem with Filters and Sorts on large indexes. Well, I think I’ve
fixed the problem.

I just installed 0.10.11 and I can confirm that this has greatly
helped the performance of my app, which requires some custom sorting
across several indexes approaching 1M items each. Just upgrading gave
me about an order of magnitude increase in performance.

David, you rock!

-ryan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs