On 7.8.2006 23:12 [EMAIL PROTECTED] wrote:
> Ok you are right, a few minutes ago i tested the matter on my machine here.
> On my machine using IPAddress.Parse() would slow down connecting by ~15ms.
> But it would give a perfomance hint when connecting to a non-local ip.
> 
> You may want to compare yourselves ("Benchmark.zip", c# project with
> sourcecode): 
> http://tracker.firebirdsql.org/secure/ManageAttachments.jspa?id=11129
> Try for example "www.firebirdsql.org" and then its ip-address and local
> hostnames and ips you have in your home networks...

Hostname (web.firebirdsql.org):
        Dns.GetHostEntry = ~60ms
        IPAddress.Resolve = (failed) ~90ms
IP (web.firebirdsql.org):
        Dns.Get... = (failed) ~30ms
        IPAddre... = <10ms
Local (with one interface):
        Dns.Get... = ~20ms
        IPAddre... = <10ms
Local (with more interfaces, one with public IP, IP is authoritative on 
ISP's DNS):
        Dns.Get... = ~20ms
        IPAddre... = <10ms

Tested on my notebook and one devel machine.

I've also switched whole network to another DNS server (15hops). No big 
difference, about from +200 to +500ms to time (I think the problem was also 
with some backbone routers on the way).


> So i assume if Bechmark.zip does not deliver other results on your
> computers the issue could be closed in the tracker ;D
> I am glad that i am not the one responsible for the network at the office,
> he might get a lot of work tomorrow ;D

OK, should I close the issue?

-- 
Jiri {x2} Cincura
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to