Search results for query "orm" (111):
Image Resizing - outperform GDI+
This article discusses a little weakness in GDI+ filters and shows a class for top-quality image resizing.
NTime - Performance unit testing tool
An article on a perf
ormance testing tool to test an application against its perf
ormance.
RC Converter 2.0-MFC to Windows Form Resource Converter using C#,VB.NET & C++/CLI
RC Converter by DudeLabs is the first automated solution for converting ATL and MFC resources to Windows F
orm resources in .NET. It can generate resource code in C#, VB.NET for Visual Studio 2003 and 2005 and in C++/CLI for Visual Studio 2005 only.
Performance Quiz #9 : IList List and array speed -- solution
In the test case as given there's a great deal of repeated work extracting the length of the array and accessing the items. This is because of the unusual property that arrays have -- they implement IList for potetially more than one T even due to inheritance. In the interest of economy alone then it is worthwhile to consolidate the IList implementations into some kind of secret helper but this has some consequences.
Short results:
| Test Case |
Milliseconds |
| Test1: Array |
54 |
| Test2: List |
8 |
| Test3: ArrayWrapper |
14 |
| Test4: Array via foreach |
9 |
| Test5: List via foreach |
11 |
| Test6: Array via special |
6 |
| Test7: List via special |
8 |
Passing Information Securely Between ASP and ASP.NET
Many classic ASP applications exist side-by-side with newer ASP.NET applications, sometimes leading to a need to transfer or share inf
ormation between the two. This article shows one method of transferring such inf
ormation securely.
Performance Quiz #9 : IList<T> List and array speed
A short and sweet quiz with lots of juicy discussion possibilities:
public int Sum(IList<ushort> indices)
{
int result = 0;
for (int i = 0; i < indices.Count; i++)
result += indices[i];
return result;
}
Considering only the time it takes to do the Sum (i.e. assuming we had already set up the array/list) which gives better performance and why?
// #1
ushort[] tmp = new ushort[500000]; // this doesn't count
Sum(tmp);// this is what we are timing
OR
// #2
List<ushort> tmp = new List<ushort>(500000); // this doesn't count
for (int i = 0; i < 500000; i++)tmp.Add(0); // this doesn't count
Sum(tmp); // this is what we are timing
What say you gentle readers?
Managed Spy: Deliver The Power Of Spy++ To Windows Forms With Our New Tool
Managed Spy: Deliver The Power Of Spy++ To Windows F
orms With Our New Tool
PostSharp, a post-compilation platform fot .NET
PostSharp is an open-source post-compilation platf
orm for the .NET Framework. It makes it easy to develop and use program analysis and transf
ormation applications like aspect weavers or code generators.
PostSharp reads .NET binary modules, represents them as a Code Object Model, lets plug-ins analyze and transf
orms this model and writes it back to the binary f
orm.
Get Control and Performance with the Real Time Stylus API
The Real Time Stylus API provides an alternate way to receive pen input pen. This high perf
ormance API provides a great level of control to developers for a small penalty in added effort.
Data Binding in Windows Forms 2.0
Windows F
orms 2.0 increases support for data binding via the new BindingNavigator and BindingSource objects, which will save you a lot of effort. Find out how you can perf
orm sorting and searching tasks using data binding and simplify the display of master-detail relationships in tables.