HumanSignal / HumanSignal/label-studio

Time Series horizontal scolling becomes unresponsive when time viewing window narrows (zooming in)

Open
#3,838 2 comments 0 reactions 2 assignees Claimed by @bmartel View on GitHub
labeling problem time series
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**

I am labelling a time series with 3 channels with about 3.6M samples per channel. Scrolling and marking is nice and fast when the page first loads. But, if I zoom in the time viewing window too small, scrolling performance becomes slow and unresponsive.

**To Reproduce**

1. Create a TimeSeries Labelling Interface

```













```

2. Load a CSV file from local disk with 3,600,000 rows, 3 columns

3. GOOD: Scroll the time window left and right. It should be quick and interactive

4. Drag the right edge of the time window to make it very narrow.

5. BUG: now scrolling the time window is very slow and unresponsive

6. Drag the right edge of the time window to make it very wide.

7. GOOD: the time window is fast and responsive again

**Expected behavior**

Scrolling the time window should be fast and responsive even when it is narrowed.

**Screenshots**

3. GOOD: Right after initial load. I can scroll quickly by dragging the time slider (at the bottom)

![image](https://user-images.githubusercontent.com/4550655/225040668-d30d124d-ca5a-45cd-9171-8397210168e7.png)

4. BAD: Narrow the time window by dragging the side of the gray bar on the time slider. Then scrolling becomes very slow and unresponsive
![image](https://user-images.githubusercontent.com/4550655/225039221-a0c7c5b2-41a4-40de-868f-dc0aa547fdf8.png)

6. GOOD. dragging the time slider wider (increasing the displayed time axis), scrolling becomes fast again
![image](https://user-images.githubusercontent.com/4550655/225040114-49bd8f00-c032-42c2-a88a-aaec96a9a89b.png)

**Environment (please complete the following information):**
- OS:
- Linux
- Chrome Version 110.0.5481.177 (Official Build) (64-bit)
- Label Studio Version
- guithub: bf7597d4
- nearest tag: origin/lse-release/2.4.0

**Additional context**

Maybe related to https://github.com/heartexlabs/label-studio/issues/1705 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.