IRC channel logs


back to list of logs

<chrislck>running n-tuple combinatorial tests on gnucash reports :-o - output at see daily-reports.scm being torture-tested...
<lloda>how do I get emacs to indent #:export like, #:export (a b\\n***align below a not below b***)
<civodul>good question, i don't have a good answer to that
<civodul>it's one of these warts you get used to ;-)
<lloda>thx anyway civodul :-)
<siraben>Hi #guile, I wrote a fibonacci function "fib" and I want to see how long it takes for an input n, how do I do something like (map (lambda (x) (<how-long-it-takes> (fib x))) '(30 31 32))?
<siraben>I want to collect data on the time taken for fib to run on an input N
<siraben>I want that map to return a list of timings in seconds, e.g. (1.2 1.3 1.4)
<dsmith-work>Hey Hi Howdy, Guilers
<lloda>siraben: you can use the functions get-internal-run-time get-internal-real-time and the variable internal-time-units-per-second
<amz31>heya dsmith
<OrangeShark>Happy day before Friday!
<ArneBab>sneek: later tell siraben: here’s an example of timing functions:
<sneek>Got it.
<ArneBab>sneek: botsnack