login to rate this
.NET BlogEngine 4.0 [non-official]
4 years ago
3027
0
|
login to rate this
[.NET7] Design Patterns: Facade in a Web Application
3 years ago
1239
0
|
login to rate this
[.NET7] Design Patterns: Repository in a Web Application
3 years ago
1001
1
|
login to rate this
[.NET7] IP GeoLocation with Dependency Injection and Custom Middleware
3 years ago
1309
0
|
login to rate this
[.NET7] Weather Forecast with Dependency Injection and Custom Middleware
2 years ago
2872
0
|
login to rate this
2 ways for creating QR Code using ASP.NET
8 years ago
3326
0
|
login to rate this
ASP.NET MVC Routing with @
9 years ago
3447
0
|
login to rate this
ASP.NET MVC Routing with Constraints
9 years ago
2375
0
|
login to rate this
BlogEngine.NET 3.3.5 with a BBQ Sauce
4 years ago
2308
0
|
login to rate this
BlogEngine.NET 3.3.5 with a BBQ Sauce: Part 2
4 years ago
2324
0
|
login to rate this
C++ and C#: Make Them Dance Together (With Json, Interop and Marshalling)
2 years ago
52
0
|
login to rate this
EF7 on .NET Core 7 (Preview): Fedora 35 x Windows 11 (41 Million Rows)
4 years ago
2346
0
|
login to rate this
Entity Framework Core 6: Fedora 35 x Windows 11 (41 Million Rows)
4 years ago
1681
0
|
login to rate this
Entity Framework Core 7 (Preview): Fedora 35 x Windows 11 (41 Million Rows)
4 years ago
1575
0
|
login to rate this
Entity Framework Providers for the .NET BlogEngine
4 years ago
3182
0
|
login to rate this
Enum as String in EF Core
2 years ago
128
0
|
login to rate this
Facebook: Data Deletion Callback URL in C#
4 years ago
2509
0
|
login to rate this
How to fix the Could not load file or assembly 'System.IO.Compression' or one of its dependencies exception
3 years ago
1054
0
|
login to rate this
How to Recover Access to your Account in an ASP.NET Application using the Membership (without decrypting your password)
4 years ago
1248
0
|
login to rate this
Installing and Configuring Jenkins with GIT to Build and Deploy Your .NET Application
2 years ago
29530
0
|
login to rate this
Installing and Configuring Jenkins with SVN to Build and Deploy Your .NET Application
2 years ago
33168
1
|
login to rate this
IP GeoLocation with Unity and Dependency Injection
4 years ago
5919
0
|
login to rate this
NHibernate Providers for the .NET BlogEngine
4 years ago
2653
0
|
login to rate this
No mercy for the ORMs: Load and Performance Test on EF Core, NHibernate and pure ADO.NET (41M rows)
4 years ago
1551
0
|
login to rate this
Resizing images on a Controller Method in ASP.NET Core (.NET 6)
4 years ago
1395
0
|
login to rate this
Streaming Video Files in ASP.NET MVC
4 years ago
1375
0
|
login to rate this
Testing your MVC App on XSP/mono in Fedora (before deploying to Apache)
4 years ago
1815
0
|
login to rate this
Weather with Unity and Dependency Injection
4 years ago
4553
0
|
guilherme++
Hi Folks! In this post I will benchmark an application that deals with 41 million rows (except for the deletion process, it's so slow it's not worth benchmarking), developed using the EF7 on .NET Core 7. First, I'd like to say that its performance is worse compared to the same application running on EF6 and .NET Core 6 (but not by a huge margin).
If you want know more details about the txt file used to import all the data, please refer to this post.
Clone the git repository here.
Let's talk about the environments (hardware and software) for both of the OSes.
Windows 11 Pro

The PC running the .NET Core 7 application on Windows is an AMD Threadripper 1950X with 32GB of DDR4@3600. The motherboard is an Asrock X399 Taichi and the SSD is an ADATA XPG Pro SX6000, 512GB (reads 2100MB/s, writes 1500MB/s). The OS edition is the Windows 11 Pro, version 21H2. The database server used was the SQL Server 2019 Developer edition.
Fedora 35 Workstation

The PC running the .NET Core 7 application on Fedora is the same: an AMD Threadripper 1950X with 32GB of DDR4@3600. The motherboard is an Asrock X399 Taichi, but the SSD is an ADATA XPG Pro SX8200, 512GB (reads 3500MB/s, writes 2300MB/s). The OS edition is the Fedora 35 Workstation 64 bits, Kernel 5.16. The database server used was the SQL Server 2019 Developer edition.
You might be thinking: this SSD is better than the SX6000, the application running on Linux will perform better than the windows one. Yeah, but in reality the benchmark was a lot different. Let's have a look at it!
The Benchmark


As you can see in the charts, Windows took 4.21 hours to insert the 41M rows, while Fedora took 11.66 hours. In the update operation, the difference in performance is even larger: Windows took 6.2 hours to load and update all 41M rows, while Fedora took an astounding 22.55 hours. I'd like to say I am very disappointed with the Linux performance, I thought it would be at least comparable with the windows environment.
Although we are talking about a preview version of the Entity Framework, the version 6 is still better in terms of raw performance.
Conclusion
Well, this one is easy (if you are dealing with huge datasets): don't upgrade your EF/.NET Core version(s) just yet.
guilherme++
guilherme++
guilherme++

We use cookies and similar technologies to enhance your browsing experience, analyze site traffic, personalize content, and serve targeted advertisements. By continuing to use our site, you consent to our use of cookies. And click OK to close this pop-up window.