takes_less_than: Does code take less than the expected amount of time to run?

View source: R/old-school.R

takes_less_thanR Documentation

Does code take less than the expected amount of time to run?

Description

This is useful for performance regression testing.

Usage

takes_less_than(amount)

Arguments

amount

maximum duration in seconds


testthat documentation built on May 29, 2024, 9:38 a.m.