Skip to content

Performance issue when opening XER files using .Net Core 3.1 (C#) #266

Open
@JTMBarry

Description

@JTMBarry

I've upgraded my application to target .Net Core 3.1 from .Net Framework 4.8 and have noticed poor performance when reading XER files.

Obtaining the project list is slower, but the major performance issue comes from using the PrimaveraXERFileReader.Read and UniversalProjectReader.Read methods - can be over 2.5x slower.

Testing several XER files I get the following following results for the execution time for PrimaveraXERFileReader.Read or UniversalProjectReader.Read:

Test 1 (100MB file with multiple projects using PrimaveraXERFileReader)

  • .Net Framework v4.8: 140603ms
  • .Net Core 3.1: 410805ms

Test 2 (8MB file with single project using UniversalProjectReader)

  • .Net Framework v4.8: 9681ms
  • .Net Core 3.1: 22498ms

Test 3 (10MB file with single project using UniversalProjectReader)

  • .Net Framework v4.8: 7319ms
  • .Net Core 3.1: 15931ms

Has anyone else noticed similar issues when targeting .Net Core 3.1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions