constellation-app / constellation

A graph-focused data visualisation and interactive analysis application.
https://constellation-app.com
Apache License 2.0
385 stars 59 forks source link

Thread.sleep() called within loop #653

Open aldebaran30701 opened 4 years ago

aldebaran30701 commented 4 years ago

Prerequisites

Description

Calling sleep within a loop can cause performance issues, and maybe a redesign of the classes utilizing this may be necessary. if the implementation is waiting for another thread to fill a buffer, a blocking queue could be used to free up CPU.

The following modules include usages:

Additional Information

These implementations may not be able to be improved on, so an individual analysis may be required on each case.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.

aldebaran30701 commented 2 years ago

Looking into CompletableFutures might help with knowing when to proceed with an action instead of sleeping the current thread. The data access view and table view have been rewritten, so might not need this fixed on some sections.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.