Pudu programming language
Menu
API reference

Std.Bench.summarize

1 declaration

fn

summarize: &Std.Bench.Sample -> Std.Bench.Report

This is a callable function.

What it does

What a sample says.

The median is reported beside the mean because they answer different

questions: a machine that paused once during the run moves the mean and

leaves the median where it was, and the gap between them is the evidence

that it happened.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.BenchSearch related declarations