chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: [Chicken-users] performance issue in xml-rpc


From: Daishi Kato
Subject: Re: Re: Re: [Chicken-users] performance issue in xml-rpc
Date: Fri, 15 Dec 2006 09:50:04 +0900

Hi,

I'm still waiting for a comment from felix about read-line not using
read-string.

In the meanwhile, I'm fixing the ssax egg to use ##sys#read-char-0
like the following.

Index: ssax-core.scm
===================================================================
--- ssax-core.scm       (revision 2646)
+++ ssax-core.scm       (working copy)
@@ -804,6 +804,10 @@
   (gambitize (eof-object? port))
   ;(gambitize (string-append a b))
   )
+ (chicken
+   (define-macro (read-char port) `(##sys#read-char-0 ,port))
+   (define-macro (peek-char port) `(##sys#peek-char-0 ,port))
+   )
 (else #t))


How's this?

Daishi

On 12/14/06, Daishi Kato <address@hidden> wrote:
On 12/14/06, Daishi Kato <address@hidden> wrote:
> Alright, my first try with darcs...
>
> Did a test that repeats empty request 10000 times sequentially,
> the result is 148sec for chicken-2.5, and 136sec for chicken-2.510.

Doing the same test for a simple apache xml-rpc server
gave me the result of 29sec.

Still a big gap...

Daishi





reply via email to

[Prev in Thread] Current Thread [Next in Thread]