File: benchmark.el.html
Utilities for timing the execution of forms, including the time
taken for GC. Note that prior to timing code you may want to
ensure things like: there has just been a GC, the relevant code is
already loaded (so that there's no overhead from autoloading etc.),
and the code is compiled if appropriate (but see
benchmark-run-compiled).
Defined variables (0)
Defined functions (7)
benchmark | (REPETITIONS FORM) |
benchmark--adaptive | (FUNC TIME) |
benchmark-call | (FUNC &optional REPETITIONS) |
benchmark-elapse | (&rest FORMS) |
benchmark-progn | (&rest BODY) |
benchmark-run | (&optional REPETITIONS &rest FORMS) |
benchmark-run-compiled | (&optional REPETITIONS &rest FORMS) |