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

[RSDK-9280] - Make image_file not encode when reading from image file #4824

Merged
merged 3 commits into from
Mar 6, 2025

Conversation

hexbabe
Copy link
Member

@hexbabe hexbabe commented Mar 3, 2025

Tested stream and manual refresh for a color image locally
Screenshot 2025-03-03 at 3 02 57 PM

Tested with bunny pcd static
Screenshot 2025-03-03 at 3 05 20 PM

Tested with .artifact/data/rimage/fakeDM.vnd.viam.dep
Screenshot 2025-03-03 at 3 08 00 PM
on par with main branch

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Mar 3, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 3, 2025
@hexbabe hexbabe requested a review from randhid March 4, 2025 17:35
@randhid
Copy link
Member

randhid commented Mar 4, 2025

How was CPU usage/memory before and after?

@hexbabe
Copy link
Member Author

hexbabe commented Mar 5, 2025

How was CPU usage/memory before and after?

Ran pprof profiling CPU usage for 60 seconds with only a image_file livestream going. Same config between feature vs. main

Main: total cpu was 41.9s
Feature: total cpu was 26.5s

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Mar 6, 2025
@hexbabe
Copy link
Member Author

hexbabe commented Mar 6, 2025

How was CPU usage/memory before and after?

Ran pprof profiling CPU usage for 60 seconds with only a image_file livestream going. Same config between feature vs. main

Main: total cpu was 41.9s Feature: total cpu was 26.5s

with htop

Main: CPU cores ~259%
Feat: CPU cores ~142%

@hexbabe hexbabe merged commit 7009c63 into viamrobotics:main Mar 6, 2025
16 checks passed
@hexbabe hexbabe deleted the RSDK-9280 branch March 6, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants