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

Improve annotation performance #249

Open
mzur opened this issue Mar 6, 2020 · 1 comment
Open

Improve annotation performance #249

mzur opened this issue Mar 6, 2020 · 1 comment

Comments

@mzur
Copy link
Member

mzur commented Mar 6, 2020

The image annotation tool freezes for a short time whenever a new annotation is created (after the request returns), once there are a couple of thousand annotations on an image (tested with ~3000 point annotations). This is an edge case for regular images but could happen easily for gigapixel images.

The freeze is caused by the update of the annotations array which is made reactive by Vue. This can probably be implemented more efficiently, e.g. by bypassing reactivity/props and access component methods directly, or by using Object.freeze on the annotation objects. However, this is a significant amount of work and requires thorough testing, as the annotation canvas is a core component which is also used elsewhere in BIIGLE (e.g. MAIA, ananas).

@mzur mzur changed the title Improve performance Improve annotation performance Mar 6, 2020
@mzur mzur transferred this issue from biigle/annotations Jul 9, 2020
@mzur
Copy link
Member Author

mzur commented Mar 14, 2023

We also had a similar report for a video with more than 10k annotations. Maybe there is a similar bottleneck in the video annotation tool? See also #417

@mzur mzur mentioned this issue Oct 11, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Low Priority
Development

No branches or pull requests

1 participant