dotnetomaniak.pl - Artykuły z tagiem performace

Jakiś czas temu poruszyliśmy w pracy ciekawą dyskusję. Rozmawialiśmy o wydajności.  Niestety umowy i zobowiązania nie pozwalają mi ze szczegółami opowiedzieć czego dokładnie dotyczyła. Chcąc mniej więcej przybliżyć temat przyjmijmy że chcieliśmy porównać trzy scenariusze:Jeden request, który robi 1000 akcji1000 request-ów, które robią 1 akcję10 batch-y request-ów, które robią 100 akcji O ile nie jestem wielkim fanem testów wydajnościowych (w wielu aplikacjach to tylko przerost formy nad treścią) to tym ...

Źródło: bd90.pl
Dziel się z innymi:
Apache Benchmark - Testy Wydajnościowe W 5 Minut - bd90

Narzędzia 1185 dni, 15 godzin, 58 minut temu bd90 58 źrodło rozwiń

This video is the start of a brand-new video series about JIT compilation in C# called: "What the JIT". This time we're going to look at simple integer arithmetic like division and multiplication and how JIT is able to optimize that.

Tagi: C#, dotnet, performace
Źródło: youtu.be
Dziel się z innymi:
[EN] C# (Tutorial) What the JIT? - Integer Arithmetic - YouTube

Sztuka programowania 1333 dni, 17 godzin, 13 minut temu Badamczewski 25 źrodło rozwiń

A paper on how to do fast population counts using SIMD intrinsics.

Źródło: arxiv.org
Dziel się z innymi:
[EN] Faster Population Counts Using AVX2 Instructions

Inne 1352 dni, 17 godzin, 51 minut temu Badamczewski 41 źrodło rozwiń

This video will show you some of the performance and allocation problems that you might encounter when writing LINQ expressions and offer a couple of solutions on how to solve them. LINQ Links: ♦ https://github.com/NetFabric/LinqBenchmarks ♦ https://github.com/NetFabric/NetFabric.Hyperlinq

Źródło: youtu.be
Dziel się z innymi:
[EN] Performance bottlenecks in C# LINQ - YouTube

Sztuka programowania 1355 dni, 16 godzin, 50 minut temu Badamczewski 56 źrodło rozwiń

This is a lecture about data and instruction level dependencies in high level languages like C#, Java etc. There's a lot of knowledge on the internet about this very topic but this is mostly reserved for ASM, C/C++ and hidden in CPU manuals.This is my attempt to introduce this subject to a broader audience. Sources: https://github.com/badamczewski/DataOrientedDesign/blob/master/DoDSamples/Samples/InstructionLevelDependency.cs Link to Branch Prediction lecture that's mentioned in the video: https://www....

Źródło: youtu.be
Dziel się z innymi:
[EN] Instruction Level Dependency in C# - YouTube

Sztuka programowania 1403 dni, 16 godzin, 50 minut temu Badamczewski 21 źrodło rozwiń

Kolejne test różnych runtime .NET. Tym razem doszedł .NET 5, plus nowe benchamarki pod regexy.

Źródło: github.com
Dziel się z innymi:
Kolejne porównanie wydajności: .NET Framework (4.8), .NET Core (3.1.x) i .NET 5 (preview 2)

Narzędzia 1481 dni, 17 godzin, 20 minut temu djfoxer 186 źrodło rozwiń

C#: The Order of Interfaces Is Important for Casting PerformanceThomas Claudius Huber By Thomas Claudius Huber.NET, C#4 Comments Recently there was a discussion in a Pull Request for the .NET runtime on GitHub. In the discussion it was mentioned by Jan Kotas from Microsoft that the order of interfaces is important for the casting performance. I never heard of that, and looks I’m not alone: Raise your hand if you knew that. https://t.co/yH9SvREL9Hpic.twitter.com/wVAnw3mCxq— Immo Landwerth (@terrajobst...

Tagi: performace
Dziel się z innymi:
[EN] C#: The Order of Interfaces Is Important for Casting Performance – Thomas Claudius Huber

Inne 1507 dni, 16 godzin, 11 minut temu Piotr Stapp 73 źrodło rozwiń

Minęła dłuższa chwila od ostatniej publikacji bardziej technicznego wpisu ze świata .NET-a. Trzeba to nadrobić! Mój drogi czytelniku, zastanawiałeś się kiedyś jak szybko działa Twój kod? Nie chodzi mi o szybkość wykonywania request – u, czy też poprawnej optymalizacji komunikacji z bazą danych, tylko o działaniu największego mięcha… ten czysty kod, bez żadnych szczegółów architektonicznych, jak baza danych, operacje I/O czy nawet internet. Jeżeli to właśnie ten aspekt programowania zaprząta Twoją głowę, ...

Źródło: bd90.pl
Dziel się z innymi:
BenchmarkDotNet - Jak sprawdzić szybkość naszego kodu - bd90

Narzędzia 1922 dni, 15 godzin, 8 minut temu bd90 84 źrodło rozwiń

Implementacja Cache-Aside Pattern w .NET Core.

Dziel się z innymi:
[EN] Cache-Aside Pattern in .NET Core - Kamil Grzybek

Sztuka programowania 2005 dni, 15 godzin, 38 minut temu kamgrzybek 142 źrodło rozwiń

Wanna know a bit more about LOH? Let's examine it in today's post about a bit forgotten Large Object Heap :)

Źródło: www.dsibinski.pl
Dziel się z innymi:
[.NET Internals 08] What about Large Object Heap (LOH)? – Dawid's blog

Sztuka programowania 2052 dni, 16 godzin, 36 minut temu dsibinski 63 źrodło rozwiń

Posted on by Adam Łepkowski In the first post, I described query execution steps that can be potentially improved when the query is executed. In this third article, I will focus on the second phase named “Request to a database”. I will show you how to solve the following problem: “Each create and update action send a SQL query in a separate round-trip. If your application requires 30ms to connect to a database and you create for example ten new objects, then application spends just 300ms on connecting ...

Źródło: devmate.net
Dziel się z innymi:
Entity Framework – improve query performance – limit roundtrips to database | DevMate

Sztuka programowania 2167 dni, 17 godzin, 19 minut temu Adam 99 źrodło rozwiń

Jest to drugi artykuł z serii prezentującej jak budować wydajniejsze zapytania przy użyciu Entity Frameworka. Seria pozwala lepiej poznać działanie Entity Frameworka. Kolejne artykuły już wkrótce...

Źródło: devmate.net
Dziel się z innymi:
Entity Framework – improve query performance – query compilation | DevMate

Inne 2222 dni, 5 godzin, 38 minut temu Adam 198 źrodło rozwiń

Artykuł przedstawia co się wydarzy jeśli zrobimy filtrowanie danych przy użyciu metody Contains() na pustej kolekcji w Entity Frameworku.

Źródło: devmate.net
Dziel się z innymi:
Entity Framework – Contains() on empty collection | DevMate

Sztuka programowania 2332 dni, 16 godzin, 20 minut temu Adam 226 źrodło rozwiń

Written by Dawid Sibińskion If you’ve ever had any performance issues with your .NET applications, you may find this writing interesting. In this post I’d like to present to you a tool produced by JetBrains – dotTrace, showing how using only one of its functionalities can help in finding causes of performance issues in .NET applications. Performance issue on production Months ago some of your colleagues implemented an application and delivered it to the Customer. The app is “Countries and Citie...

Źródło: www.dsibinski.pl
Dziel się z innymi:
Solving performance issues with dotTrace – Dawid’s blog

Daj się poznać 2017 2602 dni, 3 godziny, 18 minut temu dsibinski 35 źrodło rozwiń

Reading time ~5 minutes The previous post described the methodology I’ve used to calculate similarities between recipes in cookit. If You haven’t read it I’ll give it 4 minutes because it will make understanding this post easier. Go one, I’ll wait. It ended on a happy note and everything seemed to be downhill from there on. It was until I tried to run it. It took long. Very long. How long? I don’t know because I’ve canceled it after about one hour. Going with a famous quote (probably from E...

Dziel się z innymi:
[EN]How to calculate 17 billion similarities – IndexOutOfRange

Sztuka programowania 2691 dni, 16 godzin, 15 minut temu maklipsa 141 źrodło rozwiń

Najaktywniejsi w tym miesiącu