Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JTMBarry opened this issue Feb 17, 2022 · 0 comments
Open

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

JTMBarry opened this issue Feb 17, 2022 · 0 comments

Comments

@JTMBarry
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant