Skip to content

Expose Benching functionality #92

@roxblnfk

Description

@roxblnfk

Add a new attribute

BenchWith(
    array $methods,
    array|DataProvider $arguments,
    int<1, max> $revolutions,
    int<1, max> $iterations,
    array $expectations = [],
)

The bench will fail if the target method is not fastest or expectations were not meet

One of these libs may be integrated:

TODO

  • Implement bench core with DTO result
  • Add result printer
  • Add Expectations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions