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 75 dni, 23 godziny, 32 minuty temu 58 ź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 609 dni, 30 minut temu 95 ź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 638 dni, 11 minut temu 41 ź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 639 dni, 43 minuty temu 48 ź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 762 dni, 23 godziny, 29 minut temu 69 ź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 854 dni, 23 godziny, 43 minuty temu 57 ź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 904 dni, 1 godzinę, 8 minut temu 107 ź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 940 dni, 2 godziny, 24 minuty temu 76 ź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 946 dni, 40 minut temu 31 ź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 947 dni, 1 godzinę temu 30 źrodło rozwiń
Sztuka programowania 951 dni, 48 minut temu 51 źrodło rozwiń
This video will show you some of the performance and allocation problems that you might encounter when writing LINQ expressions we will also see that an expression you see is not necessarily, what you get. LINQ is not all bad and we will show you an example where LINQ absolutely rocks! This video mentions examples found in my previous video: https://youtu.be/ahnaIdQMoYw Enjoy.
Sztuka programowania 958 dni, 1 godzinę, 31 minut temu 95 źrodło rozwiń