Pentium D 960, dual core, 3.6 GHz+, RAID 0 striped high speed SATA
drives.
Its rare that something runs slow on this machine. But WCF initiation
takes 18 seconds. I can reboot XP quicker than that, in fact more than
once.
At first I thought it was an endpoint, which really worried me. I have
a need for multiple endpoints on a single machine (simulation). So I
added a second one - and to my delight the second one didnt take 18
seconds, it popped up right after the first.
Does anyone have any idea what takes 18 seconds and if I can speed it
up? Its really making debugging a chore. I dont have any code in my
init, its a simple console app derived from the standard WCF host
template.
The shell looks like this (Nothing useful to see, but to illustrate
what I mean better).
static void Start(string aURI) {
Console.WriteLine("Starting: " + aURI);
new AgentServiceHost(aURI);
Console.WriteLine(" OK");
}
static void Main(string[] args) {
Start("http://localhost:8080/x");
Start("http://localhost:8080/y");
Console.WriteLine("");
Console.WriteLine("All started");
Console.ReadLine();
}
So right away I see:
Starting http://localhost:8080/x
Then 18 seconds delay, then immediately all at once:
Ok
Starting http://localhost:8080/y
Ok
All started
--
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
Need a professoinal technical speaker at your event? See www.woo-hoo.net


Start up time during debugging is horrible.