weixin_39782500 2020-11-22 01:58
浏览 0

ManyToOne::Relationship#get is much slower in DM 1.0.2 v.s. DM 0.10.0

In DM 1.0.2, ManyToOne::Relationship#get takes 3.4 seconds per 515 calls. DM 0.10.0 takes 0.11 seconds per 400 calls. This slows down validation that happens when an object is created.

It goes down to Query#initialize that is around 4 times slower in DM 1.0.

Created by Alexander Sorokin - 2010-11-02 21:23:26 UTC

Original Lighthouse ticket: http://datamapper.lighthouseapp.com/projects/20609/tickets/1442

该提问来源于开源项目:datamapper/dm-core

  • 写回答

5条回答 默认 最新

  • weixin_39782500 2020-11-22 01:58
    关注

    Let me know, what are the next steps on this ticket. If you need more specific examples from me, let me know. Afaik our upgrade to DM 1.0.* is blocked on this and #1443. I’d love to have some sort of a timeline for this issue.

    by Alexander Sorokin

    评论

报告相同问题?