.NET news » Performance Performance Rss Feed

Grid computing using C# Script and .NET Remoting

Using C# script engine inside network using .net remoting.
10 Apr 2010, 17:23:00   Source: Grid computing using C# Script and .NET Remoting   Tags: C# Performance

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.
7 Apr 2010, 21:32:00   Source: Parallel Computing Concepts via C# 4.0   Tags: Performance C#

Introducing .NET 4.0 Parallel Programming

Introduces the Parallel Programming Features of .NET 4.0
7 Apr 2010, 12:14:00   Source: Introducing .NET 4.0 Parallel Programming   Tags: Performance

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.
7 Apr 2010, 06:54:00   Source: Waiting for parallel execution using...   Tags: Performance

The Practical Guide to Multithreading - Part 1

This article does not give an introduction to multithreading, processes, processors, etc. Nor does it gives the syntax details of threading functions. It only presents the practical approach to multi-threaded programming. If you do not know about multithreading, then read some articles on the web that show the syntax, how you write console applications, and how to use two threads simultaneously writing on the console. Learn about how one finishes before the other and things like that. Here, I am only concerned about the practical approach.

6 Apr 2010, 13:57:00   Source: The Practical Guide to Multithreading - Part 1   Tags: Performance

Comparing the Performance of Visual Studio's Web Reference to a Custom Class

Recently a client made us question one of our fundamental assumptions about the.NET Framework and Web Services by asking, "Why should we use proxy class created by Visual Studio to connect to a web service?" In this particular project we were calling a web service to retrieve data, which was then sorted, formatted slightly and displayed in a web page. The client hypothesized that it would be more efficient to invoke the web service directly via the HttpWebRequest class, retrieve the XML output, populate an XmlDocument object, then use XSLT to output the result to HTML. Surely that would be faster than using Visual Studio's auto-generated proxy class, right?

Prior to this request, we had never considered rolling our own proxy class; we had always taken advantage of the proxy classes Visual Studio auto-generated for us. Could these auto-generated proxy classes be inefficient? Would retrieving and parsing the web service's XML directly be more efficient? The only way to know for sure was to test my client's hypothesis…

23 Feb 2010, 19:00:00   Source: Comparing the Performance of Visual Studio's Web...   Tags: ASP.NET Performance

Parallel and Concurrency Futures for Microsoft Developers

Parallel computing and concurrent programming are rapidly becoming mainstream topics for discussion in the corporate world. These are not new ideas; in fact they've been around for more than 30 years. However, like many long-running computer science concepts, they're only now becoming relevant to mainstream business developers due to changes in both hardware and in the overall computing environment.

24 Feb 2009, 12:21:31   Source: Parallel and Concurrency Futures for Microsoft Developers   Tags: Performance

Getting Started with the .NET Task Parallel Library

If you have a multi-core computer, chances are your first CPU does all the work while the others spend most of their time twiddling their electronic thumbs. Learn to unlock the idle power of your underused CPUs to greatly improve the performance of your applications.
26 Sep 2008, 20:11:17   Source: Getting Started with the .NET Task Parallel Library   Tags: Performance

Code Around C#'s Using Statement to Release Unmanaged Resources

Find out how to avoid the kind of resource consumption that impedes your application's performance or even stops it from working altogether.
5 Sep 2008, 23:33:08   Source: Code Around C#'s Using Statement to Release Unmanaged...   Tags: Performance

Dynamic... But Fast: The Tale of Three Monkeys, A Wolf and the DynamicMethod and ILGenerator Classes

How to use the DynamicMethod and ILGenerator classes to create dynamic code at runtime that outperforms reflection
21 Jul 2008, 18:21:00   Source: Dynamic... But Fast: The Tale of Three Monkeys, A Wolf...   Tags: Performance