@toolbuilder/ring-buffer (npm): Replace your slow Array based fixed length ring buffer, or circular queue, with ring-buffer. RingBuffer is roughly 10x faster, and is a drop in replacement.
Keywords: ring buffer|circular queue|buffer|iterable|esm|ES2015|module|bundles