Re: [PHP-DEV] XML-RPC extension

2002-04-09 Thread Stig S. Bakken

On Mon, 2002-02-25 at 16:55, Andrey Hristov wrote:
  Hi
 Does someone is writing(or plannning to) XML-RPC extension?
 I tried Edd Dumbill's code. When trying to send/receive small amount of data - no 
problems. Not fast as a light but satisfying -
 0.2s.
 When I tried to receive big PHP array(100) elements (arrays) the return from the 
server was 50k and the working time - 4s. After
 some profiling I found that most of the time is spent in the XML deserialization.
 I thought that WDDX extension will not be more fast but not. Deserialization of 
those 50kilobytes, which was encapsulated into
 XML-RPC packet for transportation, tooks only from 0.03 to 0.08s!
 So I think about tweaking wddx.c for xml-rpc.c

Try this, you may be up for a surprise:

configure --help|grep xmlrpc

PHP has had an xmlrpc extension since 4.1.0.

 - Stig


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] XML-RPC extension

2002-02-25 Thread Andrey Hristov

 Hi
Does someone is writing(or plannning to) XML-RPC extension?
I tried Edd Dumbill's code. When trying to send/receive small amount of data - no 
problems. Not fast as a light but satisfying -
0.2s.
When I tried to receive big PHP array(100) elements (arrays) the return from the 
server was 50k and the working time - 4s. After
some profiling I found that most of the time is spent in the XML deserialization.
I thought that WDDX extension will not be more fast but not. Deserialization of those 
50kilobytes, which was encapsulated into
XML-RPC packet for transportation, tooks only from 0.03 to 0.08s!
So I think about tweaking wddx.c for xml-rpc.c

All comments are appreciated.

Best regards,
Andrey Hristov


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php