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

Optimize native rendering time #19

Open
rapgenic opened this issue Feb 2, 2021 · 0 comments
Open

Optimize native rendering time #19

rapgenic opened this issue Feb 2, 2021 · 0 comments
Assignees
Labels
type/feature 🚀 New feature or request what/toolkit/notebook Related to the native graphics toolkits

Comments

@rapgenic
Copy link
Contributor

rapgenic commented Feb 2, 2021

From a common log (times are in microseconds)

Render time: 1940
Copy time: 7124
Encode time: 152556
Send time: 1447
Draw time: 163226

The copy time is excessive for being just a copy and the encode time is very big.

This shows that excluding the copy and the encoding, it might be possible to send the data in real time from the backend to the frontend to implement the interactive plot. Time is around 1~10 msec. 60 fps asks for a frame every ~16 msec, for comparison.

@rapgenic rapgenic added type/feature 🚀 New feature or request what/toolkit/notebook Related to the native graphics toolkits type/planning 📑 Internal organization issues labels Feb 2, 2021
@rapgenic rapgenic self-assigned this Feb 2, 2021
rapgenic added a commit that referenced this issue Feb 5, 2021
rapgenic added a commit that referenced this issue Feb 5, 2021
rapgenic added a commit that referenced this issue Feb 5, 2021
As a bonus there is one less dependency.

Ref: #19
@AntoinePrv AntoinePrv removed the type/planning 📑 Internal organization issues label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature 🚀 New feature or request what/toolkit/notebook Related to the native graphics toolkits
Projects
None yet
Development

No branches or pull requests

2 participants