ORM performance cost

后端 未结 5 851
暗喜
暗喜 2020-12-08 08:17

Does anyone have any experience that indicates what kind of performance hit a developer could expect by choosing to use an ORM (in Django, RoR, SQLAlechemy, etc) over SQL an

5条回答
  •  爱一瞬间的悲伤
    2020-12-08 08:41

    It also depends on what you're using as an ORM. In my experience, Hibernate is a pig, in terms of speed, resource usage and startup time. LINQ to SQL, on the other hand, is an extremely light SQL wrapper, whose impact you'd likely barely (if at all) notice.

提交回复
热议问题