Skip to content

Bench

Spice
import "std/test/bench";

Functions

produce

Spice
public f<T> produce<T>(const T& input)

Returns the input value as output

Parameters

Name Type Description
input const T& Input value

Returns: T — Output value

consume

Spice
public p consume<T>(const T& _input)

Consumes the input value

Parameters

Name Type Description
_input const T&