Skip to content

jutils 0.3.0 (The Time Flies Update)

Compare
Choose a tag to compare
@JordanWelsman JordanWelsman released this 04 Feb 00:47
· 103 commits to main since this release
1faa2f4

Description

This release of jutils lets users benchmark and time their code with two new fully-featured classes:

Changelog

Stopwatch()

This class comes with an array of methods that a real stopwatch would have, including start(), lap(), pause(), and reset(). It also features overridden dunder methods which allow users to invoke math and comparison operators on their stopwatch objects.

Timer()

This class emulates the workings of a real timer with start(), pause(), resume(), stop(), and reset() methods. Like the Stopwatch class, this class also includes overhauled dunder methods which allow for math and comparison operations.

Bugfixes

This release fixes a significant issue which prevented users from importing submodules.