Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet performance > november 2005

Walking Dataset, faster/better way?! Help!!!
Posted by Alex at 11/30/2005 7:53:03 AM
Hi! I've been looking for the solution for this problem for a while now. I hope that someone out there knows a more efficient way to do this. In short, I have a Dataset with n amount of records. I need to go 1 row at a time comparing values in some of its columns against similar columns in ...more >>

Bytearray comparsion taking waaay too long
Posted by Bais at 11/30/2005 1:46:01 AM
To compare two bytearrays I wrote the following code. Please note that I've allready found another way to solve this, so I don't need new code. I'm just wondering why this code is so incredibly slow: private void button1_Click(object sender, EventArgs e) { byte[] b1 = ne...more >>

Aspnet_wp will not recycle
Posted by Julian Jelfs at 11/26/2005 12:44:01 AM
Hi, I have a problem with a windows 2000 server running version 1.1 of the .Net framework. The symptom is that memory usage by the aspnet_wp process gradually increases until the web application I'm running becomes unresponsive. The server has 4GB of RAM and the application becomes unres...more >>

Jitt'ing questioned
Posted by news.microsoft.com at 11/25/2005 2:39:35 PM
Does anyone know if and when the following line of code will be inlined? If it will be inlined can someone tell me how I can predict it for myself? XmlTextWriter writer = new XmlTextWriter(new MemoryStream(), Encoding.UTF8); Thanks alot. -- Rodney ...more >>

Shared Method and Thread Safe
Posted by Robert Strickland at 11/23/2005 1:52:26 PM
I have a shared/static method that access an object from the AppDomain. = If the object is not cached, the method creates an object reference and = caches the reference into the Appdomain. Multiple threads will use this = method. I would like to make the method thread-safe by sychronizing = spec...more >>

Threading Question
Posted by MoriCristian at 11/22/2005 3:17:04 PM
Hi! I have a simple thread Thread myThread=new Thread(new ThreadStart(foo)); ...... void foo() { while (!bQuit) { //Do something } } However this thread run the 100% CPU if I do like that void foo() { while (!bQuit) { Thread.Sleep(1); //Do something...more >>

Static member
Posted by Napo at 11/20/2005 11:44:09 PM
Hi: I declare a dataset obejct as static type in one class, such as: class A{ private static dataset ds; public void process(){ // some code } } I want to know if the ds object can be disposed by handly. what does JIT do when it compile this class ?...more >>

.NET CF Drawing Problems
Posted by MoriCristian at 11/20/2005 5:24:02 AM
Hi! Since DirectX are implemented only in mobile 5.0 and I must develop for 2003, I started to create a 3d engine on my own, but I get stuck immediatly for performance problems. I created dif function that draw a line using a Bresenham algorithm on a Bitmap private void DrawLine(Bitma...more >>



App profiling
Posted by No one at 11/17/2005 12:00:00 AM
I am looking for tools to profile an application while running. There seems to be a resource problem and I am not sure if it is the application (Windows Forms .Net written in C#) or the database server (Informix)....more >>

Asynch HttpWebRequests..best technique?
Posted by Dave at 11/16/2005 6:38:22 AM
I'm trying to determine what is the best technique to execute asynchronous httpwebrequests. Two methods I see are using the BeginGetResponse at (http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path=/quickstart/howto/samples/net/ASPXNet/webrequestasync.src&file=CS\webrequestasync.asp...more >>

How to get performance of a DLL..
Posted by Sriram at 11/15/2005 1:38:06 PM
Hi, I have a .Net DLL that has a method - CallDLL() I want to monitor the time taken for each call made to this DLL. Hence I have added an averagetime32 and its base in the CallDLLs first(first) and last lines(endtime). But the perfmon does not show any increase in the graph? I might also...more >>

My.Computer.FileSystem.GetDirectories Method
Posted by TerryB at 11/15/2005 1:36:01 PM
I am using this method with the FileIO.SearchOption.SearchAllSubDirectories option to get a collection of directories that I can then iterate over and check ACLs for unknown sids. The problem is that this method takes extreamly long, particularly on a large directory structure over the networ...more >>

dotNET remoting Performance
Posted by lazyTrucker at 11/15/2005 10:27:43 AM
Hi all, Ok, first I am new to dotNET so bear with me, I am creating a remotin host, client app which would potentially get alot of traffic, say 200 hits a second, the host is seraching SQL and building an XML REPLY. It looks like the db is the bottle neck here, is there any way to spee u...more >>

IIS Performance w/.NET Application
Posted by Bryan L at 11/11/2005 4:04:09 PM
We just upgraded from a 16-bit windows version of our mission-critical DB app to a new version built on .NET 1.1. We replaced all servers and workstations with powerful new hardware and upgraded our network to a gigabit infrastructure. Now, instead of the client software connecting directly...more >>

System.Drawing - SafeNativeMethods . GdipFillRectangleI causes a lot of page faults
Posted by tbatwork828 NO[at]SPAM hotmail.com at 11/11/2005 2:11:32 PM
We just profiled our application and noticed that SafeNativeMethods.GdipFillRectangleI method (called by Graphics.FillRectangle) in System.Drawing causes 88% of all of our -soft- page faults. We are soft faulting on an order of 2000 spfs/sec with 10 charts - with one charts we are to 600 SPFs/...more >>

Performance Monitor creation in Service - Times Out.
Posted by Eric at 11/10/2005 8:42:13 AM
I have the appended code in my .NET service application. I basically want the performance monitors to automatically be created on the first use of this service, and if it is upgraded the new counters will be added. It works fine on the first execution. On the second execution, it succes...more >>

threading problem
Posted by SharpCoderMP at 11/9/2005 8:56:27 PM
hi, i have a problem: i wrote a class that encapsulates communication with database. i wont go into details, but i wanted to use threads to avoid unresponsive ui so i did something more or less like this: public void ExecuteScalar(string query) { this.query = query; this.workingThread.R...more >>

Scope of variables within a FOR EACH ... NEXT LOOP
Posted by Abhi at 11/9/2005 1:35:30 PM
I know for a fact that declaring vars inside a for loop is valid. Reason for doing this: 1. Ensures the variables are scoped out outside the block 2. Ensures vars are scoped out after each iteration Question is ... 1. Are there any known Performance/Memory issues? 2. How will garbage...more >>

Multithreaded dataprocessing too slow... Help!
Posted by Alex at 11/9/2005 1:01:08 PM
Hi! I need help with identifying a new way to process report data that currently is too slow to meet our production goals. In short, we have data in Oracle database where we need to process it in batches/waves that are identified by a sertain group of columns. Once we identify that batch, ...more >>

Measuring Performance
Posted by TT (Tom Tempelaere) at 11/9/2005 8:52:55 AM
Hi there, What tool should I use that measures performance of my application? What tools are available and popular for .NET applications? Kind regards, -- Tom Tempelaere....more >>

multithreaded grid-binding problems
Posted by Daniel Serra at 11/3/2005 6:24:54 PM
Hi there (sorry for the cross-post), I have a problem that I am not sure quite how to resolve. I have a series of datasets, with grids being bound to any one of the datasets. These datasets can get updated quite frequently (upwards of 10-20x per second, sometimes just once a second), with e...more >>

Threads: waiting and context switches
Posted by Mike Jansen at 11/3/2005 9:52:07 AM
This may not be the best place for this but its a performance issue of a particular thread I'm concerned about and I didn't see any better place to post.... For .NET running on Windows, is there any documentation on the behavior of calling WaitHandle.WaitAll(), WaitHandle.WaitAny() when the...more >>

1.1 perf versus 2.0
Posted by Tim Anderson at 11/2/2005 12:00:00 AM
Now that 2.0 has gone gold, how are people finding performance 1.1 versus 2.0? I know it's early days. I have a little test app and was disappointed to find that GDI+ perf and memory consumption, in this app, seems pretty much the same as before (ie slow/huge). A version of the same app ...more >>

Memory Utilization Expectations
Posted by news.microsoft.com at 11/1/2005 1:49:21 PM
All, I need to do a sanity check . . . Please tell if my logic is flawed . .. I have a site with some aspx pages on it. When I hit the site the worker process consumes some memory to serve the page. Now, my expectation is that memory will return to level that it was before the page was s...more >>


DevelopmentNow Blog