all groups > dotnet performance > november 2003 > threads for november 15 - 21, 2003
Filter by week: 1 2 3 4 5
Resource consumption of System.Timers.Timer
Posted by Kishore Prakash at 11/21/2003 12:23:45 PM
I need to monitor some large number (about 30,000) of objects periodically.
Development is easy if I create timers for each one of them. But I am afraid
this may have some problems, with resource consumption.
Does each instance of a timer from System.Timers.Timer consume a Win32
Timer.
How m... more >>
COM And .NET Objects Calling Interop Assembly
Posted by Onno Ceelen at 11/21/2003 11:08:12 AM
Hi,
I've a migration scenario where I rewrite a COM object to an .NET interop
assembly (so, still callable from COM). What is the impact if I continue my
step-by-step migration and have a scenario where my .NET objects start to
call .NET interop assemblies? Is there an overhead included?
Fo... more >>
What would be a faster alternative to boxing/unboxing?
Posted by Mountain Bikn' Guy at 11/20/2003 5:34:50 PM
I have a situation where an app writes data of various types (primitives and
objects) into a single dimensional array of objects. (This array eventually
becomes a row in a data table, but that's another story.) The data is
written once and then read many times. Each primitive read requires
unbox... more >>
AverageTimer32
Posted by Michael at 11/20/2003 3:25:17 PM
All,
I am not sure if this is already a known issue.
When I calculate the time elapse for a partular activity
using AverageTimer32 type perfmon counter, should I use:
long t1=DateTime.Now.Ticks;<--1
//some activities
long t2=DateTime.Now.Ticks;<--2
MyAverageTimer32.incrementBy(t2-t1);
... more >>
Performance of properties vs method calls
Posted by discussion NO[at]SPAM discussion.microsoft.com at 11/20/2003 2:34:33 PM
Hi,
Since small method calls are inlined when the IL size is 32 or less.
Take for example..
// Method (inlined)
public bool getVal()
{
return someVal;
}
// propget
public bool Val
{
ge { return someVal; }
}
Which is faster? If the method is ... more >>
thread pooling
Posted by Lisa Sonneson at 11/19/2003 8:34:35 AM
Hi.. I created a .NET windows service that transfers data from and to
different data sources. I would like to use thread pooling to add the
flexibility to run transfers simulteneously but want to be able to control
what transfers go into what threads. Don't know how thread pooling works.
Plea... more >>
Memory usage of a .NET windows forms
Posted by Ágúst at 11/19/2003 1:34:02 AM
Hi
I have just released a new program within my company. It
is a windows forms application with a webservice at the
backend.
I'm getting questions about the memory usage of the
program, it uses around 30-40 MB. Now, I have heard that
the first .NET program you run on the machine has the ... more >>
VB6 v VB.NET performance
Posted by Ber at 11/18/2003 3:39:26 AM
Hi,
We are currently looking at upgrading a large web app on
ASP Clasic & VB6, to .NET. To justify the spend, we need
some indication of expected performance increases if we do
a straight port. I've seen figures indicating ASP.NET
performance 2-3 times improved but nothing on the VB6 c... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
CLR Profiler v2 & ASP.NET: doesn't work
Posted by Russ Bishop at 11/15/2003 1:21:27 PM
The profiler just sits forever at "Waiting for ASP.NET worker process to
start".
I have verified it places the environment registry vars in their correct
place. However when I navigate to my ASP.NET app and aspnet_wp.exe starts up
the profiler doesn't seem to recognize that or connect with it.... more >>
Synchronous Sockets.
Posted by Rajesh.V at 11/15/2003 11:53:34 AM
I dont find it difficult to program them using threads. Any one know if this
is not very good choice. I will be dealing only with one socket which has
data coming at regular intervals of around 1kb ea.
Rajesh
... more >>
|