Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

How to measure the CPU burden for mod_rewrite

6:37 am on Jul 31, 2003 (gmt 0)

New User

10+ Year Member

joined:June 3, 2003
votes: 0

I would like to compare the time of different aproaches for RewriteRules.

When calling the cgi script directly:
~# time script
then the time consumption of Rewrite is not in the scope.

How may I call in comand line a "http://.."?
How may I supress the DNS resolving time?
Thanks, Maggi

3:11 pm on Aug 2, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
votes: 0

You can avoid DNS resolve time by a call to an IP but making the "http://.." call is the challenge. Would a simple Perl script using libwww functions work? I suspect it might. Any one have any ideas on this?