Showing results for Performance - Developer Support

Mar 6, 2019
0
0

Gathering real-time Perfmon Counters in a cluster

Developer Support
Developer Support

Performance (aka. Perfmon) Counters are critical to understanding the health of and diagnosing issues on Windows. In recent performance and scalability testing of a solution built on top of Azure Service Fabric, we collected Perfmon Counters across 15 VMs and sent them to Log Analytics. This was very helpful; however, there were times when we wante...

TeamAzurePerformance
Mar 1, 2019
0
0

Calculating server capacity and planning for future user growth

Developer Support
Developer Support

Do I need to add more servers if my user load grows by 10% each month for the next 12 months? That is a hard question to answer. Unless you have an Application Platform Management solution, it is hard to correlate function calls to CPU time and response times.

TeamPerformanceAPM
May 3, 2018
0
2

Avoiding struct and readonly reference performance pitfalls with ErrorProne.NET

Sergey Tepliakov
Sergey Tepliakov

As you may know from my previous posts "The 'in'-modifier and the readonly structs in C#" and "Performance traps of ref locals and ref returns in C#", structs are trickier then you might think. Mutability aside, the behavior of readonly and non-readonly structs in "readonly" contexts is very different. Structs are meant for high-performance scen...

seteplia
Apr 11, 2018
0
1

Performance traps of ref locals and ref returns in C#

Sergey Tepliakov
Sergey Tepliakov

The C# language from the very first version supported passing arguments by value or by reference. But before C# 7 the C# compiler supported only one way of returning a value from a method (or a property) - returning by value. This has been changed in C# 7 with two new features: ref returns and ref locals. But unlike other features that were rece...

seteplia
Jan 25, 2018
3
0

The performance characteristics of async methods in C#

Sergey Tepliakov
Sergey Tepliakov

The async series In the last two blog posts we've covered the internals of async methods in C# and then we looked at the extensibility points the C# compiler provides to adjust the behavior of async methods. Today we're going to explore the performance characteristics of async methods. As you should already know from the fir...

seteplia
Feb 21, 2017
0
0

A common execution path optimization

Sergey Tepliakov
Sergey Tepliakov

Today I want to talk about one interesting optimization pattern that you may face in framework code or in high-performance libraries. The idea is simple: suppose you have a commonly used method that has two execution paths – one is very common and simple, and the second one takes longer to execute, has more steps but happens not that often. A...

seteplia