Skip to content

Releases: lucasnetau/timebucket

Performance improvements

22 Apr 01:19
Compare
Choose a tag to compare

Small performance improvements that help with large buckets

  • Direct DateTime comparisons
  • Hot path for next() removing array count

BugFix

  • Ensure timeIndex is relative to timezone

Performance and Test Suite

21 Jun 03:23
Compare
Choose a tag to compare

Move to using a SplMinHeap for ordered inserts of priorities, removes the need to track sorted status and performing krsort during next(), this improves performance drastically for TimeBucket readers are adding and removing elements in loops.

Introduce PHPUnit and tests for major components

Improve ordered insert

16 Jun 07:06
Compare
Choose a tag to compare

Improve the case where data is always inserted in priority order negating the requirement to sort

Performance boost

16 Jun 05:44
Compare
Choose a tag to compare

PHP8.2 compat

Full Changelog: v0.3...v0.3.1

v0.3

15 Feb 23:43
Compare
Choose a tag to compare

Improved PHP8+ support
Implement support for variable minute intervals (eg 5 minute timeslices)

Full Changelog: 0.2...v0.3

Cloneable

15 Feb 07:08
Compare
Choose a tag to compare

Support deep cloning of TimeBuckets

Initial Timezone support

27 Apr 02:46
Compare
Choose a tag to compare
Change TimeBucketImplementationInterface to TimeOrderedStorageInterface

Add in initial support for timezoned buckets [WIP]

0.1.0: Allow passing a DateTimeZone object into the constructor in addition …

17 Nov 11:56
Compare
Choose a tag to compare