OpenRIAServices / OpenRiaServices

The Open RIA Services project continues what was previously known as WCF RIA Services.
https://openriaservices.gitbook.io/openriaservices/
Apache License 2.0
54 stars 47 forks source link

Improve perf of ReplaceErrors #456

Closed Daniel-Svensson closed 8 months ago

Daniel-Svensson commented 8 months ago

Time to create 500 000 simple entities and set 3 properties each (where one property has no validation)

Elapsed time : 5,6 seconds => 4,4 sseconds Memory allocation 5093 MB => 3178 MB

Elapsed time RAM
original 5,6s 5093 MB
commit 6 - ReplaceErrors and Union => ConCat changes 4.4s 3178 MB
commit 7 - Use HashSet instead of LINQ in OnCollectionChange < 4.0s 2317 MB
sonarcloud[bot] commented 8 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication