Skip to content

v1.0.3

Choose a tag to compare

@seba2390 seba2390 released this 30 Sep 21:48
5b548d7

Changed

  • Entering and exiting a section is 20–25% faster, about 0.25 µs less per section on
    CPython 3.14. Each active section's state is now a plain tuple rather than a named
    tuple, whose constructor cost more than the rest of section entry. Behaviour is
    unchanged.

Documentation

  • A documentation site at https://seba2390.github.io/ExecutionTimer/, with a getting
    started guide, a user guide and an API reference generated from the docstrings. It is
    built with Sphinx and deployed to GitHub Pages whenever main changes. The package's
    Documentation link points to it from this release on.
  • The README is shorter and links to the site for details.
  • Public functions and types have full docstrings, with parameters, return values and
    exceptions.
  • The Python examples in the README and the documentation run as part of the test suite,
    and CI builds the site on every pull request, failing on any warning.
  • Refresh the overhead benchmark, comparing 0.1.0, 1.0.2 and 1.0.3.

Full changelog: v1.0.2...v1.0.3