Skip to content

IsDirty performance hit since 5.4.0 #3307

Closed
@trivalik

Description

@trivalik

I faced a longer IsDirty run after upgrading.

NHibernate 3.3.1:

image

NHibernate 5.4.2:

image

The first question is, was there a bug in old implementation that now lead to this cascade?
Since the result of IsDirty is true in both cases, I can imagine that there is optimization potential.

The test case of IsDirty is there that we have a table which stores for every element a parent element (not lazy load). The children are as HasMany relation. We remove just near all elements, and this lead to this bad result.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions