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
  • Stop printing results to STDOUT
  • Add Expectations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions