- Artykuły z tagiem performance

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 1654 dni, 17 godzin, 11 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 1664 dni, 14 godzin, 10 minut 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 1705 dni, 7 godzin, 34 minuty temu Rafał Hryniewski 384 ź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 1717 dni, 8 godzin, 32 minuty 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 1723 dni, 17 godzin, 48 minut 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 1782 dni, 13 godzin, 31 minut temu maklipsa 123 źrodło rozwiń

Imagine that you have a service, which receives requests to execute specific methods, possibly from a number of different underlying libraries that you don’t want to expose directly. Possible examples are web services. The request comes in as a number of string values (method name, parameters etc.) and you need to respond with results. So you have inherited a project with API that starts with a method: object Invoke(string methodName, object[] parameters); You now have to call variety o...

Dziel się z innymi:
Invoking methods dynamically in C#: Examples and benchmarks – Kuba on .NET

Inne 1805 dni, 17 godzin, 10 minut temu Jakub Szumiato 162 źrodło rozwiń

Over the last year on my spare time, I’ve been working on profiler for ASP.NET apps - This small tool instruments methods from chosen assemblies and visualizes statistics of their execution times. It has got lower priority for me for a long time because of “Daj Się poznać” and other things but I think this project is worth to finally shed some light on it. Right now, the tool does just one thing: for every HTTP request, it generates methods time visualization like this (click to enlarge): ...

Dziel się z innymi: - lightweight ASP.NET profiler · Maciek Lesiczka

Web 1816 dni, 18 godzin, 13 minut temu maciekl 99 źrodło rozwiń

One of the steps in cookit is calculating similar recipes. This is what you can see on the left on the recipe page like this For the sake of clarity and manageability it’s scheduled as separate Hangfire jobs. Because cookit is running 5 workers, so similarities are calculated for 5 websites concurrently. The process uses cosine similarity, so it allocates a huge list at start and calculates similarities. A very CPU heavy operation. So some time after triggering all recipes recalculation I saw this in...

GC can kill You. Practical GC performance counters in .NET – IndexOutOfRange

Inne 1842 dni, 12 godzin, 12 minut temu maklipsa 99 źrodło rozwiń

Anyone who made any HackerRank problems considering performance has seen this phrase in the assignment: “watch out for slow IO”. We are used to thing about files, databases and such as potentially slow IO, but the Console? Yes, and you will be amazed how much. Couple words about the setup. I am using NLog with file target (for normal logging) and mail target (for total failure, and aggregated reports). When debugging or profiling I run the process as a con...

Tagi: net, performance
Dziel się z innymi:
System.Console is slow – IndexOutOfRange

Inne 1851 dni, 12 godzin, 14 minut temu maklipsa 155 źrodło rozwiń

The latest, 6th watcher, has been recently added to the Warden library. It’s probably the simplest one, but it doesn’t mean it’s barely useful. The performance watcher has been created in order to measure the CPU & RAM usage, simple as that. Sounds interesting? If that’s the case, you might find the whole note useful then.

[EN] Measure your CPU & RAM usage with performance watcher | Piotr Gankiewicz

Daj się poznać 2016 1876 dni, 15 godzin, 31 minut temu spetz 37 źrodło rozwiń

In this talk, I will present techniques for efficient incremental processing of complex analytical queries, ranging from classical SQL queries to linear algebra programs. Our system, called DBToaster, compiles declarative database queries into high-performance stream processing engines that keep query results (views) fresh at very high update rates. DBToaster uses a recursive query compilation algorithm that materializes a supporting set of higher-order delta views to achieve a substantially lower view m...

Tagi: performance, SQL
Dziel się z innymi:
[EN] MS Research - High-Performance Incremental Processing of Complex Analytical Queries

Sztuka programowania 1919 dni, 4 godziny, 38 minut temu kapral18 25 źrodło rozwiń

The ETag or Entity Tag is a part of HTTP protocol used for caching purposes. In the simplest way ETags are strings that help browser to identify and validate cache. Like almost everything the ETags can be inefficient while configured incorrectly. So let's have a closer look at them..

Dziel się z innymi:
[EN] Tweak your application with ETags |

Web 2244 dni, 8 godzin, 16 minut temu blog-kateo-pl 116 źrodło rozwiń

ASP.NET MVC by default ships with two view engines: Web Forms and Razor. When we are creating a new ASP.NET MVC application both are being included in the application startup. Even when you are working with Razor only ASP.NET MVC resolves named views by searching for files that match the Web Forms view engine's naming convention at first. What can we do to change that and reduce the time needed to return a view to the end user? Let's have a look!

Dziel się z innymi:
[EN] Speed up you ASP.NET MVC application by removing unused view engines |

Web 2338 dni, 9 godzin, 24 minuty temu blog-kateo-pl 187 źrodło rozwiń

O korzyściach z modyfikatora sealed, od strony projektowej pisałem już tutaj.  Dzisiaj postanowiłem jednak napisać prosty program, który pokaże nam czy faktycznie są jakieś różnice wydajnościowe. Oczywiście jest to raczej ciekawostka dla ludzi zajmujących się c# internals. Jeśli zależy nam na optymalizacji, zawsze zaczynajmy od ulepszenia samego algorytmu (zmniejszenia jego złożoności), a w ostateczności sięgajmy po mikro-optymalizacje. Warto stosować wspominane wskazówki, ale ze względu na dobre praktyk...

Dziel się z innymi:
Piotr Zieliński  » Modyfikator sealed dla klas–wydajność

Sztuka programowania 2357 dni, 8 godzin, 42 minuty temu Paweł Łukasik 242 źrodło rozwiń

There is a belief among many developers that JavaScript is very slow, and writing more code in it than it’s necessary may adversely affect the performance. I guess it’s partially true. Incompetent use of this language can indeed decrease the quality of the project and the performance itself. However, JavaScript is one of the most developing languages.I’ll show you a few examples that will prove that JavaScript engines do what they can to speed up your code. In my work I focus on Google’s open source Java...

Dziel się z innymi:
[EN] JavaScript is slow | Future Processing

Web 2400 dni, 6 godzin, 59 minut temu FutureProcessing 245 źrodło rozwiń

AngularJS is a great tool and really helps to write maintainable  and testable code pretty FAST. But I think everyone who uses AngularJS encountered performance issues with this framework. I made some tests on Internet Explorer, where ngRepeat directive can be really slow while rendering. In this post you can see how to use ReactJS or Mithril to improve performance of AngularJS rendering

Dziel się z innymi:
[EN] IE rendering with AngularJS + ReactJS + Mithril  | bigguns

Web 2416 dni, 17 godzin, 14 minut temu http://chrisseroka.wordpres... 108 źrodło rozwiń

Modelling load distribution One of the challenges we face during the performance test design is determining the load we should use. By the load here, I mean a number of concurrent users performing certain actions in System Under Test (SUT). Obviously, depending on the type of performance test applied, the load will alter, as we are testing system in search of different class of problems. This article attempts to describe the case in which we will try to simulate the anticipated high traffic in t...

[EN] Modelling load distribution | Technical blog

Inne 2527 dni, 10 godzin, 7 minut temu FutureProcessing 104 źrodło rozwiń

Kiedyś pisałem o modyfikatorze sealed i dlaczego warto go używać jeśli chodzi o kwestie dobrych praktyk. Podobne mam zdanie co do modyfikatora virtual – używam wyłącznie jak mam takie wymagania. Zawsze zaczynam od najbardziej restrykcyjnych modyfikatorów. Klasy deklaruję jako sealed internal, a metody jako private. Nie zaznaczam metod jako virtual “na zapas”, ponieważ skoro nie są one zaprojektowane pod tym kątem to może przynieść to więcej kłopotów niż korzyści. Analogiczne zasady stosuje się np. w bezp...

Dziel się z innymi:
Piotr Zieliński » Wydajność metod wirtualnych i niewirtualnych

Sztuka programowania 2715 dni, 6 godzin, 31 minut temu trismegista 261 źrodło rozwiń

Each SharePoint software engineer should know how to avoid query throttling by writing efficient queries, and designing appropriate list’s structure. The sections below provide practices and tips ensuring your ability to access many items. Additionally, they help to keep site operating smoothly. All information in this article applies to SharePoint Server 2010. SharePoint 2010 has introduced many new features. One of them is Resource Throttling - designed to avoid performance degradation that can occur w...

[EN] Performance with SharePoint 2010 Large lists | Blog techniczny

Office 2849 dni, 19 godzin, 10 minut temu FutureProcessing 45 źrodło rozwiń

1 2 3 4


(32 895,6)
(32 816,53)
(27 178,29)
(21 178,88)
(20 336,33)
(13 018,14)
(10 531,65)
(9 775,28)
(8 866,31)
(6 837,96)
(6 214,22)
(5 393,84)
(4 157,41)
(4 026,73)
(3 908,07)
(3 599,64)
(3 448,35)
(3 318,39)
(3 224,66)
(3 221,45)