[gambit-list] Speed on XML-parsing

Hans Petter Egesund petter.egesund at gmail.com
Mon Aug 18 03:38:23 EDT 2008


Nice, will be interesting to see where where ssax is spending the time.

Petter


Den 17. aug. 2008 kl. 23.05 skrev Christian Jaeger:

> Christian Jaeger wrote:
>> Bradley Lucier wrote:
>>> I guess any improvement from here on will require access to the  
>>> data  and profiling.
>>>
>>
>> Someone should write a wiki page explaining profiling of Gambit  
>> code. Here's a link which shows the two variants I'm aware of:
>>
>> https://webmail.iro.umontreal.ca/pipermail/gambit-list/2006- 
>> January/000568.html
>
> Sorry, hit the send button too soon.
>
> This assumes how the old gsc worked (it did just generate the .c  
> files at that time):
>
> $ gsc -track-scheme proftest.scm
> $ gcc -fprofile-arcs -ftest-coverage -D___SINGLE_HOST proftest.c   
> proftest_.c -lgambc
>
> This is how you should be able to do it nowadays:
>
> $ gsc -track-scheme -cc-options "-fprofile-arcs -ftest-coverage"  
> proftest.scm
>
> Christian.
>




More information about the Gambit-list mailing list