Incorrect ORM mapping can lead to significant performance issues, which can be difficult to diagnose and fix. One of the common problems related to mapping is the implicit conversion problem, which we'll focus on in this post. We'll explore how to fix this by enforcing correct column mapping.
Bazy danych i XML 504 dni, 23 godziny, 24 minuty temu 89 źrodło rozwiń
In recent years, I have encountered many problems in IT companies caused by incorrect software architecture. What do I mean ? In most cases, this is one direction – either it is too trivial or incredibly complicated in relation to the problem it is supposed to solve. Both cases lead to performance problems and stop the organization from being agile.What do I mean by software architecture? Before I start talking about the problems caused by...
Architektura 678 dni, 22 godziny, 23 minuty temu 163 źrodło rozwiń
Za nami konferencja .NET Conf 2021 na której sporo się działo. Microsoft wypuścił .NET 6 oraz wprowadził wiele nowości dla Blazora. Jeżeli chcesz już dziś zobaczyć najważniejsze z nich to zapraszam Cię do mojego wpisu, gdzie podsumowuje ostatnie zmiany!
czyli historia pewnego PRu.
Adam September 1st, 2021 For .NET 6, we have made FileStream much faster and more reliable, thanks to an almost entire re-write. For same cases, the async implementation is now a few times faster! We also recognized the need of having more high-performance file IO features: concurrent reads and writes, scatter/gather IO and introduced new APIs for them.TL;DR File I/O is better, stronger, faster! – Rob Fahrni If you are not into details, please see Summary for a short recap of what was changed.Introd...
Sergey VasilievTags:#CSharp#KnowledgeAuthor: Sergey VasilievAnd what, in fact, are we optimizing?Calling methods with a params parameterEnumerable.Any
Sergey VasilievTags:#CSharp#KnowledgeAuthor: Sergey VasilievUnexpected GC PressureEnum.EqualsEnum.GetHashCode.NET VS .NET Framework in Considered ExamplesEquals GetHashCodePerformanceEqualsGetHashCodeConclusion C# has low barriers to entry and forgives a lot. Seriously, you may not understand how things work under the hood but still write code and remain easy-going about this. Though you still have to deal with different nuances over time. Today, we'll look at one of suc...
Sztuka programowania 1211 dni, 23 godziny, 22 minuty temu 98 źrodło rozwiń
Rocket Mortgage Technology BlogRocket Mortgage Technology BlogRocket Mortgage TechnologyFollow·9 min read Measuring Performance in .NET Jason Bock, Developer Advocate, Rocket Mortgage As developers, we come across unique ways to implement algorithms that may seem intriguing, but their novelty must be challenged with performance analysis. In this article, I’ll discuss ways to determine if words are anagrams using prime numbers. I’ll compare this approach to other solutions, and I’ll use Benchmark.NET t...
Get startedOpen in appAntão Almada574 FollowersAbout Sign inGet started574 FollowersAboutGet startedOpen in app Antão Almada 2 days ago·3 min read In my previous post I left out ArraySegment
Sztuka programowania 1240 dni, 23 godziny, 3 minuty temu 46 źrodło rozwiń
In this blog post I will do a deep dive into record struct being introduced in the upcoming C# 10 and look at the performance implications of this in a specific context. I will cover:Code generated for record structImportance of the generated codePerformance implications of default struct equality in C#Setup project to use preview compiler via Microsoft.Net.Compilers.Toolset nuget packageTypes and implementations covering different possibilities and common pitfallsBenchmarks showing record struct can be ...
Sztuka programowania 1241 dni, 23 godziny, 35 minut temu 53 źrodło rozwiń
Converting an enum value to a string using the ToString() method is expensive. In general, the performance impact is negligible. But when you call the ToString method thousands of times per second, saving a few milliseconds is important.
The story behind creating my first general use, performance-first library.
O szukaniu performance'u. Pół żartem, pół serio. Ciało jest. Nawet dycha, ale sprawcy brak. Kto jest winny?
Sztuka programowania 1365 dni, 22 godziny, 21 minut temu 76 źrodło rozwiń
Zapraszam do historii 3 PRów, które optymalizują jednego z klientów Ethereum, Nethermind. Zaczęło się niewinnie, od profilowania, a skończyło na przepisaniu implementacji cache'a.
Sztuka programowania 1457 dni, 22 godziny, 35 minut temu 59 źrodło rozwiń
Czy warto móc uruchomić więcej funkcji za mniej $$$? Myślę że tak. Zapraszam do podróży do krainy optymalizacji Azure Functions.
In this video, I'm going to show you 5 performance tips (or tricks) that you can apply in order to make your C# code run faster.
Sztuka programowania 1507 dni temu 110 źrodło rozwiń
Marcin Hoppe pokazuje jak używać JWT w Asp.Net Core i jak polepszyć jego wydajność 10x. Mało, dużo? Obejrzyj, sprawdź i oceń.
Sztuka programowania 1543 dni, 1 godzinę, 16 minut temu 81 źrodło rozwiń
This video talks about a very cool concept called "value delegates." We will learn what they are, how to apply it to LINQ to decrease allocations to zero, and inline the delegate itself.
Sztuka programowania 1548 dni, 23 godziny, 31 minut temu 34 źrodło rozwiń
This video talks about the "Skip" method, and differences in implementation between dotnet frameworks. Also, we will try to implement a less flexible but faster version of the "Skip" method. Enjoy. 🙂
Sztuka programowania 1549 dni, 23 godziny, 52 minuty temu 33 źrodło rozwiń
Sztuka programowania 1553 dni, 23 godziny, 40 minut temu 54 źrodło rozwiń