Hey,

Can you try:

require 'json'

before you load any DM libs or models and see if that speeds things
up?

On Oct 15, 11:49 pm, syrnick <[email protected]> wrote:
> Hi all,
>
> We're trying to upgrade to DM 1.0.2 to keep up with progress. After
> upgrading the db and the code we ran into a huge performance issue.
> Everything was working 2-3 times slower. I don't know the reason, but
> we had to roll back and return back to investigation.
>
> The time difference is easily reproducible on our unit tests, but I
> can't completely isolate it. I have these tests so 
> far:http://gist.github.com/629001
> . They clearly show 2x performance degradation in saving and reading
> json, but not much else.
>
> As I've seen around 3x slowdown, I can't say I nailed the root cause.
>
> Any thoughts on what could be the cause and suggestions on how to
> isolate the problem are greatly appreciated.
>
> Thanks!
> Alex

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en.

Reply via email to