Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SimpleQueue when available (python 3.7 and later) #274

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Jul 20, 2020

SimpleQueue avoids a lot of the overhead of Queue. Since the current implementation doesn't do anything advanced with the queue, we can benefit from the increased performance

@bdraco
Copy link
Contributor Author

bdraco commented Jul 20, 2020

Tested on python 3.7 and python 3.8

The travis run should tell us if 3.5/3.6 is an issue

Travis is green

https://travis-ci.org/github/ikalchev/HAP-python/builds/709837038

@codecov-commenter
Copy link

codecov-commenter commented Jul 20, 2020

Codecov Report

Merging #274 into dev will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #274      +/-   ##
==========================================
+ Coverage   64.55%   64.57%   +0.01%     
==========================================
  Files          16       16              
  Lines        1786     1787       +1     
  Branches      195      196       +1     
==========================================
+ Hits         1153     1154       +1     
  Misses        576      576              
  Partials       57       57              
Impacted Files Coverage Δ
pyhap/accessory_driver.py 69.77% <100.00%> (+0.09%) ⬆️

@ikalchev ikalchev merged commit 1666940 into ikalchev:dev Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants