Skip to content

version 0.3.0 - Cairo

Choose a tag to compare

@nyamsprod nyamsprod released this 29 Jun 09:31
· 230 commits to main since this release

Added

  • Profiler::first, Profiler::last, Profiler::nth
  • Metrics
  • Profiler metrics related static methods.
  • Profiler::execute static method.

Fixed

  • None

Deprecated

  • None

Removed

  • BC BREAK: The Renderer interface is removed
  • BC BREAK: CliTableRenderer renamed CliExporter
  • BC BREAK: CliTableRenderer implements the Exporter interface
  • BC BREAK: Profiler::lastProfile replaced by Profiler::last
  • BC BREAK: Profiler::get returns the last Profile for a specific label before it was returning the first one.
  • BC BREAK: Profile::metrics returns a Metrics object before the metrics where attached directly to the profile.
  • BC BREAK: The Metrics::executionTime is now calculated using hrtime instead of microtime and returns the value in nanoseconds
  • BC BREAK: The Profile class is now a readonly value object, the methods showing the progress of the profile generation are removed.
  • BC BREAK: Profile renamed ProfilingData
  • BC BREAK: ProfileResult::value renamed ProfileResult::result
  • BC BREAK: ProfileResult::profile renamed ProfileResult::profilingData