Skip to content

Comments

Removed stdout flush for performance optimization, also fixes gitignore#23

Merged
nacho merged 1 commit intomainfrom
wip/xan/flush-optimization
Oct 20, 2025
Merged

Removed stdout flush for performance optimization, also fixes gitignore#23
nacho merged 1 commit intomainfrom
wip/xan/flush-optimization

Conversation

@xanathar
Copy link
Collaborator

Removes the explicit flush from stdout as suggested by #22. In my case this didn't lead to noticeable performance improvements tbh... I will keep debugging/profiling and I start thinking that moving to a shared memory buffer or - even better - a cross-prcess dmabuf, is the way to go... but it's a larger change (the dmabuf would also save us the time spent in glReadPixel).

Anyway, this is a first step that won't hurt.

@xanathar xanathar requested a review from nacho October 20, 2025 08:13
@nacho nacho merged commit db94e73 into main Oct 20, 2025
1 check passed
@nacho
Copy link
Owner

nacho commented Oct 20, 2025

Thanks

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.

2 participants