flopsbench {pbdPAPI}R Documentation

flopsbench

Description

A benchmarker for measuring flops (floating point operations per second) of one or more functions.

Usage

flopsbench(..., data)

Arguments

...

Expressions to be benchmarked.

data

A list of data for the provided functions.

Value

A dataframe (class "flopsbench") containng the timings and some basic summary statistics.

Examples

## Not run: 
data <- list(runif(1e4), runif(2e4), runif(3e4))
flopsbench(sqrt, exp, data=data)

## End(Not run)


[Package pbdPAPI version 0.3-2 Index]