[gambit-list] Speed on XML-parsing
Christian Jaeger
christian at pflanze.mine.nu
Sun Aug 17 17:05:01 EDT 2008
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