OAK-9158: Performance issue due to AbstractDocumentNodeState#equals Patch provided by Alexander Lüders Added test to reproduce the problem