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

Creating a resource with relationships is 3 times slower on DM 1.0 v.s. DM 0.10

Persisting 100 instances of a resource on DM 1.0 takes 4.76 sec (with profiling on). The same operation takes 1.16 seconds on DM 0.10. Screenshots are attached. The model has around 20 properties and 4 related resources (it belongs to them).

Profiling screenshots are attached.

Created by Alexander Sorokin - 2011-03-17 04:07:17 UTC

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

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

  • 写回答

15条回答 默认 最新

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

    As with #1442, a stand alone benchmarking script would be helpful.

    by Xavier Shay

    评论

报告相同问题?