The release of .NET Core 3 and XPO v19.2.3 gave us the opportunity to update benchmarks for XPO and Entity Framework. If you’re interested in learning more and executing the tests yourself, please point your browser to the following repository:
https://github.com/DevExpress/XPO/tree/master/Benchmarks.
Here’s a quick summary of our findings and things you ought to consider when comparing performance of XPO and Entity Framework:
- On large data sets, XPO performs much better than other ORMs (in nearly all instances).
- On small data sets, XPO performs better in some tests (minor differences).
- In all tests, XPO shows a linear relationship between execution time and record count. EF6 and EF Core show non-linear relationship worse than O(n).
- In certain situations, good-old EF6 out performs EF Core 3.0 (especially when working with large amounts of data).
- XPO has potential for optimizations in object instantiation and high-latency network scenarios (EF Core is better in such cases). XPO is better optimized for connections with low latency or those with good bandwidth (for instance, a local server).
Sample of Our Results – InsertOne Method
Your Feedback Matters
As always, we welcome your feedback. If you had the opportunity to execute our benchmark tests, please share your thoughts below.
We’d love to know whether our findings are in-line with yours.