Skip to content

v4.0.0

Choose a tag to compare

@ethlo ethlo released this 10 Feb 08:38

馃殌 New Features

Table output

  • Nested Task Support: Chronograph now properly handles nested tasks. Tasks executed within other tasks no longer contribute to the total time of their parent, ensuring accurate statistics.
  • Self-Time Calculation: Added a self-time metric to track the time a task spends executing, excluding its nested subtasks.
  • Hierarchy-Aware Summary Table: The ASCII summary table now visually represents nested tasks with indentation , making it easier to interpret hierarchical task structures.
  • Task Stack for Execution Context: Internally, a stack-based approach is now used to track task execution order and reconstruct hierarchy when reporting.

馃敡 Improvements

  • Improved Formatting: The summary table layout has been refined to better display execution statistics in a readable format.
  • Enhanced API Usability: Cleaned up the data structure, so it is easier to pull the data you need after an execution.

馃攧 Upgrade Notes

The main usability change is that the prettyprint methods have been removed from the Chronograph. You can use the default toString method for one off outputs, or you should use the TableOutputFormatter or the new JsonOutputFormatter, if that is your thing.

馃摜 Feedback & Contributions

We welcome feedback and contributions! If you encounter any issues or have feature requests, please open an issue or submit a pull request on our repository.

Enjoy Chronograph 4.0! 馃殌