K
Kovan Akrei
Hi,
What is the default heap size in CLR?
Does CLR take any options (as in JVM) to optimize the performance of a
mulithreaded application? For exmple increasing heap size.
How do I increase performance of the following application (test program)
public class DummyThread{
private Thread thread;
public DummyThread(){
thread = new Thread(new ThreadStart(Run));
}
private void Run(){}
}
class ThreadOverhead
{
static void Main(string[] args)
{
int maxThreads = 1000000;
for (int threads = 0; threads < maxThreads; threads++)
new DummyThread();
}
}
I hope my question are not that stupid . I have searched news and msdn
pages, but I could not find answers to my questions.
Best regards from
Kovan Akrei
What is the default heap size in CLR?
Does CLR take any options (as in JVM) to optimize the performance of a
mulithreaded application? For exmple increasing heap size.
How do I increase performance of the following application (test program)
public class DummyThread{
private Thread thread;
public DummyThread(){
thread = new Thread(new ThreadStart(Run));
}
private void Run(){}
}
class ThreadOverhead
{
static void Main(string[] args)
{
int maxThreads = 1000000;
for (int threads = 0; threads < maxThreads; threads++)
new DummyThread();
}
}
I hope my question are not that stupid . I have searched news and msdn
pages, but I could not find answers to my questions.
Best regards from
Kovan Akrei