Best Square Root Method (Precision VS Speed)
I enjoy Game Programming with Directx and I noticed that the most called method through out most of my games is the standard sqrt method in the Math.h and this made me search for faster functions than the standard sqrt. And after some searching I found lots of functions that were much much faster but it's always a compromise between speed and precision. The main purpose of this article is to help people choose the best square-root method that suits their program.
Thread Performance: Resource Contention Concurrency Profiling in Visual Studio 2010
Visual Studio 2010 includes new resource contention profiling features that help detect concurrency contention among threads. We walk through a profiling investigation to demonstrate how you can pinpoint and fix resource contention problems in your code.
SOA Tips: Address Scalability Bottlenecks with Distributed Caching
SOA makes application scalability easier, but getting the best performance out of your SOA means paying close attention to the details. We’ll give you some tips for coding your app more effectively and using distributed caching to remove data access bottlenecks.
Use Thread-local Storage to Reduce Synchronization
Synchronization is often an expensive operation that can limit the performance of a multithreaded program. Using thread-local data structures instead of data structures shared by the threads can reduce synchronization in certain cases, allowing a program to run faster.
How I Optimized my Silverlight Asynchronous Web Service Consumption
When you're working on a project, you rarely have the time (and sometimes even the desire) to go back and re-factor code to make it either a) perform better, or b) easier to maintain. Further, you don't have the time to regression test your changes, so the common (and most recommended) practice is to "leave well enough alone". I am fortunate to be in a position to perform such optimizations because my schedule is somewhat flexible (I'm the "pioneer") and I'm waiting for the IT folks to resolve a server issue.
This article shows how I implemented something in my code, and should only be used as an example of how to achieve similar results in your own application…
How to Avoid the Top Five SharePoint Performance Mistakes
SharePoint is without question a fast-growing platform and Microsoft is making lots of money with it. It’s been around for almost a decade and grew from a small list and document management application into an application development platform on top of ASP.NET using its own API to manage content in the SharePoint Content Database.
Over the years many things have changed – but some haven’t – like – SharePoint still uses a single database table to store ALL items in any SharePoint List. And this brings me straight into the #1 problem I have seen when working with companies that implemented their own solution based on SharePoint…
Grid computing using C# Script and .NET Remoting
Using C# script engine inside network using .net remoting.
Parallel Computing Concepts via C# 4.0
.NET 4.0 has kept in step with the computing industry's quest for density. There has always been a quest to enhance performance while accomplishing more in a shorter period time period. Parallel LINQ, the Parallel class, the task parallelism constructs, and the concurrent collections are new to Framework 4.0 and are collectively known as PFX (Parallel Framework). The Parallel class together with the task parallelism constructs is called the Task Parallel Library or TPL. This is a necessary addition to .NET is because CPU clock speeds have stagnated and manufacturers have shifted their focus to increasing core counts. This is problematic for us as programmers because our standard single-threaded code will not automatically run faster as a result of those extra cores. That being the case, this article will take a look a parallel programming as done in the C# 4.0 language and the .NET 4.0 runtime.
Introducing .NET 4.0 Parallel Programming
Introduces the Parallel Programming Features of .NET 4.0
Waiting for parallel execution using delegate.BeginInvoke/EndInvoke
This will only be a short article about a single trick, how to solve a special thread-synchronisation-problem.
All you need is calling
Delegate.BeginInvoke() /
Delegate.EndInvoke(), no Callback, Waithandle and other stuff is required.