Sorry, I should have clarified; I'm benchmarking the same site (server,
content, etc) on two different hosts. I suspect the delta is due to a
different environment (one is in a VM, the other is actual iron). I
expected the GET to be greater than the ping, but I did not expect the GET
delta to be 6x that of the ping delta.
I'm just checking with y'all to make sure Net::HTTP isn't doing something
screwy that could mess up my benchmarks.
Thanks for your help,
sd
···
-----Original Message-----
From: Tim Becker [mailto:a2800276@gmail.com]
Sent: Wednesday, May 17, 2006 4:50 PM
To: ruby-talk@ruby-lang.org
Subject: Re: bm + net/http sanity check
Only reason I'm asking: ping delta is about 100 ms, but the Net::HTTP
delta
is about 700 ms. This does not jive with what I'm expecting, at all.
Maybe consider the relative delta. The GET request should take quite a
bit longer than an ICMP echo, even if you don't take the fact that one
is running in a benchmark framework of a scripting language and the
other is probably an OS executable.
These are different sites at different locations you're benchmarking,
correct? Maybe different technologies were used, one is serving static
pages, the other has really screwy dynamic pages with an Access
backend...
Also, doesn't `.get` actually download the content? Maybe the one page
is way bigger than the other?
-tim
This e-mail message may contain privileged and/or confidential information,
and is intended to be received only by persons entitled to receive such
information. If you have received this e-mail in error, please notify the
sender immediately. Please delete it and all attachments from any servers,
hard drives or any other media. Other use of this e-mail by you is strictly
prohibited.
All e-mails and attachments sent and received are subject to monitoring,
reading and archival by Seminis. The recipient of this e-mail is solely
responsible for checking for the presence of "Viruses" or other "Malware".
Seminis accepts no liability for any damage caused by any such code
transmitted by or accompanying this e-mail or any attachment.