Skip to content

Support benchmark.times? #159

@LilithHafner

Description

@LilithHafner

A Benchmark stores a vector of samples. This sounds quite reasonable. However, it is much more common to want to access just the times than just the first sample. Consequently, it would be nice to be able to access benchmark.times or benchmark.time instead of getproperty.(benchmark.samples, :time) or [s.time for s in benchmark.samples].

i.e. automatically broadcast getproperty over samples if the property is not :samples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions