From mboxrd@z Thu Jan 1 00:00:00 1970 From: mdj AT sourceware.cygnus.com To: guile-cvs AT sourceware.cygnus.com Subject: guile-modules/benchmarks lib.scm Date: Tue, 14 Sep 1999 18:12:00 -0000 Message-id: <19990915011225.23183.qmail@egcs.cygnus.com> X-SW-Source: 1999-q3/msg00691.html List-Id: CVSROOT: /cvs/guile Module name: guile-modules Changes by: mdj@egcs.cygnus.com 99/09/14 18:12:24 Modified files: benchmarks : lib.scm Log message: * lib.scm (save-options, time-in-evaluator, optarg1): New macros. (times:format): Added total time. (This time is actually most interesting since it is what finally counts.) (times:user, times:gc, times:systen, times:total): New selectors. (last-data): New procedure: Return last logged data. (time-thunk-median): New procedure: Run five trials and select the median. This filters out outliers caused by temporary disturbances and helps select a typical sample. Since the result is displayed for each trial, you also get an intuition for the variance. (time-thunk-once, time-thunk-median, time-thunk-repeated, time-accumulate): Take extra optional argument EVALUATOR. If `debug', use the debugging evaluator. Default is the normal.