-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Packet queues implementation #155
Conversation
A little code added
Update the code for Async Queue attribute.
Mastering asyncio and getting familiar with asynchronous code. Seems like I am getting closer to TimestampedQueue implementation.
Seems like FIFO Queue is ready. Queues API was updated a bit.
1) TimeStamp variable removed datetime and perf_coutner used instead 2) TimestampedPacketsQueue uses perf_counter instead of datetimte (it is more accurate) 3) algorithm for TimestampedPacketsQueue defined
Timestamped queue is created. The performance has to be improved, but I suppose selecting a probper loop would make the trick.
Fix issues found by Static Code Analysis.
Get rid of performance checking for async code.
Codecov Report
@@ Coverage Diff @@
## main #155 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 34 34
Lines 1893 1952 +59
=========================================
+ Hits 1893 1952 +59
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Remove code that counted unfinished tasks for the second time (duplicate to iunternal Queue implementation).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few things to fix.
tests/software_tests/transport_interface/test_abstract_packet_queue.py
Outdated
Show resolved
Hide resolved
tests/software_tests/transport_interface/test_abstract_packet_queue.py
Outdated
Show resolved
Hide resolved
tests/software_tests/transport_interface/test_abstract_packet_queue.py
Outdated
Show resolved
Hide resolved
Fix remarks found during self-review.
for consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok
Update workflow to exclude performance tests in unit testing.
typo
Description
Implementation for (FIFO and timed one) queues are added.
How Has This Been Tested?
Unit tests and integration tests.
Process
I know the process and did my best to follow it