ezmsg-org / ezmsg

Pure-Python DAG-based high-performance SHM-backed pub-sub and multi-processing pattern
https://ezmsg.readthedocs.io/en/latest/
MIT License
9 stars 5 forks source link

Fixes synth.Clock sleep isues #42

Closed cboulay closed 8 months ago

cboulay commented 8 months ago

Fixes #41

With this change, at a nominal rate of 1 kHz, instead of pushing 990 samples/sec I am now pushing around 999.8. My smoothed running average sometimes reports above 1000 but it's usually in the 999.6-999.8 range. I don't know why it isn't bang-on 1000.0 but it could be a precision error in my running average.

I also snuck in an addition to .gitignore

griffinmilsap commented 8 months ago

@cboulay Thanks for the first contribution!! For now we're primarily working in the /dev branch, but this PR directly to main was accepted because .. I've not actually documented that anywhere yet!

cboulay commented 8 months ago

I didn't base on dev because I noticed dev was behind main already. I'll be sure to make any future PRs against dev, but it would be great if you could rebase dev on main so that it would include the latest fixes.

Thanks for the quick turnaround!