Skip to contents

Time an operation and log the duration

Usage

time_operation(expr, label, verbose = TRUE)

Arguments

expr

Expression to time

label

Label for the operation

verbose

Whether to print timing info (default: TRUE)

Value

Result of the expression