- Artykuły z tagiem performance

I’ll describe a few patterns that enabled me to process 2 billions items per day using Azure Functions. Yes 2 billions items per day. The aim of this trial was not to check whether you can do it with Azure Functions. You can do it easily. The goal was to do it in a cost-aware and cost-wise manner, enabling fast processing with a small amount of money spent on this.

Dziel się z innymi:
Azure Functions i przetwarzanie 2 miliardów pozycji per dzień (1)

Cloud 1014 dni, 15 godzin, 31 minut temu Scooletz 97 źrodło rozwiń

Save-Data request header is a client hint which indicates that client would like to reduce data usage. This post shows how it can be used in ASP.NET Core MVC.

[EN] Utilizing Save-Data client hint in ASP.NET Core MVC

Web 1025 dni, 12 godzin, 58 minut temu tpeczek 42 źrodło rozwiń

Performance! Jak dobrać odpowiedni typ danych do postawionego zadania. We wpisie analiza różnych typów kolekcji w kontekście budowania drzewa commitów.

Tagi: C#, Linq, performance
Dziel się z innymi:
git log - optymalizacja - Norbert Rozmus

Daj się poznać 2017 1221 dni, 15 godzin, 14 minut temu Norbert Rozmus 41 źrodło rozwiń

We wpisie omówiona zostanie obecna implementacja metod Single oraz Last w pakiecie Linq. Zaproponowane zostaną również zoptymalizowana wersje obu metod.

Tagi: .Net, C#, Linq, performance
Dziel się z innymi:
Linq - optymalizacja Single oraz Last - Norbert Rozmus

Daj się poznać 2017 1221 dni, 15 godzin, 14 minut temu norek 262 źrodło rozwiń

A simple performance comparison between approaches encouraged by F# (immutability and functional programming) and C# (mutability and OOP). Which one would you choose?

Dziel się z innymi:
F# vs C#: a performance comparison with BenchmarkDotNet – Youenn Bouglouan

Daj się poznać 2017 1235 dni, 14 godzin, 46 minut temu yboug 112 źrodło rozwiń

Podczas pracy nad moim nowym projektem SewingMachine zacząłem zastanawiać się, czy w szczególnych wypadkach, serializacja obiektów nie mogłaby zachodzić szybciej. Zachęcam do poznania podejścia, które pozwala na 10x (słownie: dziesięć razy) szybszą serializację, zgodną z formatem protobuf-net.

ProtobufRaw vs protobuf-net | Szymon Kulec `Scooletz`

Narzędzia 1241 dni, 7 godzin, 43 minuty temu Scooletz 35 źrodło rozwiń

Paczka wartościowych materiałów, które możecie znaleźć w sieci. Jeżeli chcesz zapoznać się z pozostałymi ciekawymi linkami możesz zrobić to tutaj...

Z tym warto się zapoznać #2 -

Narzędzia 1238 dni, 2 godziny, 50 minut temu AdrianBystrek 148 źrodło rozwiń

Reading time ~10 minutes This article is Part 2 in a 2-Part Series. Part 1 - What is the simplest database?Part 2 - This Article The previous post laid out the most minimum requirements for something to be called a database. While they may be too bare bones for many, there are a lot of databases that don’t fulfill even half of them, and this isn’t stopping from using them on a daily basis. The last time I’ve looked at files, this time something a bit more complex - key-value databases. The idea be...

Want unlimited scale and performance? This is where to start – IndexOutOfRange

Architektura 1266 dni, 15 godzin, 9 minut temu maklipsa 43 źrodło rozwiń

Reading time ~4 minutes This post is an analysis of a very interesting optimization proposed by Nicholas Frechette in the comments under the previous post. He proposed to use one of the oldest tricks in performance cookbook - divide and conquer. Well, it did not turn out as I expected.Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then optimizing. This thread grew to a few post. Here are all of them:How I calculate similariti...

Dziel się z innymi:
Dividing a bit in two for performance – IndexOutOfRange

Sztuka programowania 1349 dni, 5 godzin, 5 minut temu maklipsa 78 źrodło rozwiń

In previous post I've shown how a temporary table can be generated based on IQueryable and then reused in subsequent queries. I have also pointed out a serious limitation. The goal of this post is to address that limitation and touch on unit testing aspect.

Dziel się z innymi:
[EN] Entity Framework 6 - Dynamically creating temporary tables from IQueryable (Part 2 of 2)

Inne 1352 dni, 11 godzin, 36 minut temu tpeczek 200 źrodło rozwiń

Reading time ~2 minutes This post was inspired by a discussion on Reddit that followed my previous post In this post, I will cover a suggestion by BelowAverageITGuy that cut down the total execution time by almost one hour. Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then optimizing it grew to few post. Here are all of them:How I calculate similarities in cookit?How to calculate 17 billion similaritiesIndependent code in ...

Dziel się z innymi:
Making bits faster – IndexOutOfRange

Sztuka programowania 1360 dni, 13 godzin, 21 minut temu maklipsa 94 źrodło rozwiń

Reading time ~1 minute This will be a fast errata to the previous one. This time I will expand the oldest performance mantra: The fastest code is the one that doesn’t execute. Second to that is the one that executes once Last time I’ve forgot to mention one very important optimization. It was one of two steps that allowed me to go from 1530 to 484 seconds in the sample run.Saga Before I go further here are some link to the previous posts on the problem of calculating similarities and then...

Dziel się z innymi:
Independent code in performance optimizations – IndexOutOfRange

Programowanie rozproszone 1373 dni, 14 godzin, 50 minut temu maklipsa 46 źrodło rozwiń

Reading time ~6 minutes Last time I’ve shown how I’ve gone from 34 hours to 11. This time we go faster. To go faster I have to do less. The current implementation of Similarity iterates over one vector and checks if that ingredient exists in the second one. Since those vectors are sparse the chance of a miss is big. This means that I am losing computational power on iterating and calling TryGetValue. How to iterate only over the mutually owned ones and do it fast? Saga Before I go furth...

Dziel się z innymi:
Using bit masks for high-performance calculations – IndexOutOfRange

Sztuka programowania 1370 dni, 14 godzin, 30 minut temu maklipsa 58 źrodło rozwiń

I'm a huge fan of entity based and result set based relational mapping (classic ORMs). I'm also huge fan of DML based relational mapping (micro ORMs). In general I'm a huge fan of every technology that allows me to get the job done in the best possible way. I believe that one should never limit himself to single approach within a project - it should always be about choosing the best tool for the job. But sometimes there are real life constraints (licensing, business, politics etc.) which are limiting the...

Dziel się z innymi:
[EN] Entity Framework 6 - Dynamically creating temporary tables from IQueryable (Part 1 of 2)

Inne 1376 dni, 14 godzin, 25 minut temu tpeczek 194 źrodło rozwiń

Attribute routing (RouteAttribute) is a quite handy feature of ASP.NET MVC. It allows you to have nice looking URLs that everybody has already accustomed to and your client surely loves it. Plus it hides your true controller/action structure which sometimes might be desirable. But there's one catch. As your web app gets bigger and bigger, attribute routing might have a negative performance impact on your WHOLE website.

Dziel się z innymi:
[EN] The ugly truth behind pretty URLs

Web 1376 dni, 14 godzin, 25 minut temu Krzysztof Zmorzyński 148 źrodło rozwiń

Reading time ~6 minutes This post is covering a subset of what I am talking in my talk How I stopped worrying and learned to love parallel processing (currently only in polish). This will cover on how, in terms of performance, AsParallel can kick you in a place where it hurts a lot, simultaneously being a blessing in terms of… performance. How is that? Let’s look at someHistory AsParallel was introduced as an extension to LINQ with TPL in .NET 4.0. In theory, it’s God’s sent. The promise w...

Dziel się z innymi:
[EN] Problems with AsParallel – IndexOutOfRange

Architektura 1386 dni, 11 godzin, 23 minuty temu maklipsa 116 źrodło rozwiń

Kontynuując wątek LINQ, który podjąłem jakiś czas temu, poruszę dziś temat optymalizacji operacji jakie wykonujemy na kolekcjach. Na starcie muszę się przyznać, że tytuł nie jest do końca zgodny z prawdą, bo trzy słowa to o wiele za mało, by wejść w głębiej w temat optymalizacji zapytań. Są jednak 3 metody, które można wykorzystać do znacznego przyspieszenia wykonywania operacji w bardziej rozbudowanych łańcuchach przy minimalnym nakładzie pracy.

Dziel się z innymi:
Hryniewski.NET | Trzy słowa o optymalizacji LINQ

Narzędzia 1427 dni, 4 godziny, 48 minut temu Rafał Hryniewski 379 źrodło rozwiń

Reading time ~4 minutes Diagnosing high memory usage can be tricky, here is the second part of how I found what was hogging to much memory in our system. In the previous post I’ve wrote how to create a memory dump and how many possibilities of catching just the right moment for it ProcDump has. When trying to analyze memory leaks, or high memory usage (not necessary meaning a leak) we have a few ways to approach it: Attach a debugger There are many problems with this approach, to name a fe...

[EN]Debugging high memory usage. Part 2 - .NET Memory Profiler – IndexOutOfRange

Narzędzia 1439 dni, 5 godzin, 45 minut temu maklipsa 89 źrodło rozwiń

Reading time ~2 minutes I’m taking a short break from Hangfire series, but I will get back to it. This time - Where did my memory go ? Or to be more exact: Why is this using so much memory? The story starts with one IIS application pool using around 6 Gigabytes of memory on one of our test environments. It was several times above the values that we expected it to use, so we decided to investigate. Without much thinking we fired up Visual Studio installed on the test server, and attached to the proce...

[EN] Debugging high memory usage. Part 1 - ProcDump – IndexOutOfRange

Architektura 1445 dni, 15 godzin, 2 minuty temu maklipsa 64 źrodło rozwiń

Just how long does garbage collection take in .NET? Which generation takes longer?

Dziel się z innymi:
[EN] The cost of garbage collection – IndexOutOfRange

Sztuka programowania 1504 dni, 10 godzin, 45 minut temu maklipsa 123 źrodło rozwiń

1 2 3


(32 895,6)
(32 816,53)
(27 178,29)
(21 178,88)
(20 336,33)
(13 018,14)
(10 512,53)
(9 775,28)
(8 418,28)
(6 822,96)
(6 214,22)
(5 393,84)
(4 142,41)
(4 026,73)
(3 908,07)
(3 599,64)
(3 448,35)
(3 318,39)
(3 224,66)
(3 173,43)