Does anybody know if there is a portable profiler library for Scheme similar in spirit to the portable Scheme debugger by Kellomaki? (https://github.com/perttikellomaki/psd)
For those familiar with Common Lisp, I'm thinking of something similar to Kantrowicz' portable metering system (https://www-users.cs.umn.edu/~gini/lisp/metering.cl)
I have looked through the IU Scheme repository and schemers.org. I could look into the MIT sources or Campbell's s48 profiler but I suspect those are very implementation-tied.
Any pointers are appreciated
What kind of profiler are you looking for? There's no standard way to get the current time, so if you want timing, you will need at least SRFI 19.
What kind of profiler are you looking for?
The simplest kind that would have a chance at working across 2 or more implementations. (I know that's a dumb answer but :-} )
There's no standard way to get the current time, so if you want timing, you will need at least SRFI 19.
OK, thanks. That's good info. Perhaps I should look into the MIT and SLIME48 profilers and see if there's something hidden in them that could be made portable, somehow.
Not at all an expert in this area, just wondering if there's something out there my research did not find.
For r7rs, (scheme time) has functions that you can use to get elapsed time