fix #44 - add latency and throuhput tests to confirm claim of < 10ms latency#45
Merged
Conversation
Owner
Author
|
Here is the same test ouput running in Pi5 Bookworm 64: |
Owner
Author
|
It just occurred to me that this is all with full logging happening everywhere. Shut the front door! The test helper starts the central_hub service with "Damn future computers are fast", says me from 1994. |
littlebee
commented
Feb 7, 2025
… test to our new <1ms latency baseline
It fails when run on Debian Bookworm wth a ribbon cable attached. cap.read() returns false, but no other signs of error. See also, https://forum.opencv.org/t/rpi5-camera-doesnt-work/17303/4 opencv/opencv#21653
littlebee
commented
Feb 7, 2025
Owner
Author
There was a problem hiding this comment.
This was not testing basic_bot and was redundant with the diagnostic tests in basic_bot.debug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I think we can maybe actually say "< 1ms" latency. This is either incredible or incredulous, but here are the results of the new test on my M3 mac.
You can see the console output for pytest in real-time using the -s switch:
console output from test: