[REBOL] [testing rugby-core]
From: rebol665::ifrance::com at: 11-Feb-2002 21:41
Hi petr
Following your request, I have tested rugby-core versus rugby-xpi. Here are
the results :
rugby-core (http) -> duration 0:00:59.98
rugby-xpi (tcp) -> duration 0:00:41.85
rugby-xpi (http) -> duration 0:00:40.7
It is strange that in rugby-xpi both tcp and http give similar duration.
Rugby-core is 1.5 times slower than rugby-xpi.
Tests were conducted in console mode on the same computer.
Server code was :
for http testing with rugby-core
>> do %rugby.r
>> serve/with [echo] tcp://:8005
for http testing with rugby-xpi
>> do %rugby.r
>> serve/with-http [echo] tcp://:8005
for tcp testing with rugby-xpi
>> do %rugby.r
>> serve/with [echo] tcp://:8005
Client code was :
for http testing with rugby-core
>> do %rugby.r
>> do get-rugby-service http://localhost:8005
>> start: now/time/precise loop 100 [echo "test"] print now/time/precise -
start
for http testing with rugby-xpi
>> do %rugby.r
>> do get-rugby-service/http http://localhost:8005
>> start: now/time/precise loop 100 [echo "test"] print now/time/precise -
start
for tcp testing with rugby-xpi
>> do %rugby.r
>> do get-rugby-service tcp://localhost:8005
>> start: now/time/precise loop 100 [echo "test"] print now/time/precise -
start
Patrick