PHPBench v1.0.0-alpha3 Release Notes

Release Date: 2020-11-28 // over 3 years ago
  • Backward compatiblity breaks:

    • BenchmarkExecutorInterface#execute() must now return an ExecutionResults
      object.
    • TemplateExecutor: expect an array for the time measurement result instead
      of an int.
    • Extensions use the Symfony OptionsResolver instead of provding an array of
      0️⃣ default values (which is in line with how other parts of PHPBench are
      working).
    • Executors accept a single, immutable ExecutionContext instead of the
      📇 mutable SubjectMetadata and Iteration
    • 📇 Renamed the microtime executor to remote.
    • OutputInterface is injected from the DI conatiner, OutputAwareInterface
      🚚 has been removed.

    🔋 Features:

    • Introduced remote_script_remove and remote_script_path options to assist
      in debugging.
    • ➕ Added local executor - execute benchmarks with in the same process as
      PHPBench.

    👌 Improvements:

    • Decorator added to improve error reporting for method executors.
    • 📇 Benchmarks executed as they are found (no eager metadata loading)
    • 👍 Allow direct reference to services (e.g. --executor=debug without need for
      🔧 a debug configuration).