bench   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/scheme.xtm

Implementation

(define bench
  (lambda (func . args)
    (let* ((t (clock:clock))
          (res (apply func args)))
      (- (clock:clock) t))))


Back to Index

Similar Entries

  • benchmark    macro