measureTime: Measure Runtime of a Feature Computation

Description Usage Arguments Value

Description

Simple wrapper around proc.time.

Usage

1
measureTime(expr, prefix, envir = parent.frame())

Arguments

expr

[expression]
Expression of which the time should be measured.

prefix

[character(1)]
Name of the corresponding feature set. Used as a prefix for the runtime.

envir

[environment]
Environment in which expr should be evaluated.

Value

Returns the value(s) of the evaluated expr and adds two additional attributes: the number of function evaluations costs_fun_evals and the runtime costs_runtime, which was required for evaluating the expression.



Search within the flacco package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.