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

Update Prompt Frame Start/Finish - Responsiveness #109

Open
sashaagafonoff opened this issue May 31, 2023 · 1 comment
Open

Update Prompt Frame Start/Finish - Responsiveness #109

sashaagafonoff opened this issue May 31, 2023 · 1 comment

Comments

@sashaagafonoff
Copy link

I haven't tried to debug it, but it feels like there's a callout to some other function whenever I change a frame number of a prompt (which sadly is more frequent than I'd care to admit).

So, let's say I'm changing start from 5440 to 5380 (in a 10K frame document): after I've selected the "5440", i will type 53 and then parseq will actually pause between the 8 and 0 to do some updating (i'm going to bet on the timeline visualisation), so there's a lag.

It probably doesn't matter so much for single changes, and a "workaround" is to paste the value in, but I just got my prompt positions wrong for 12 of 18 prompts, so that's 24 changes (was almost worth editing the parseq directly).

NOTE: I've noticed a similar lag on changes/selecting prompt text as well... which may be related.

here's an example document (new project):
sample 10K frame parseq doc with 18 prompts

I monitored hardware during changes, and it's only bumping CPU (10-11%) and RAM (44-46%) up slightly in Chrome.

@rewbs
Copy link
Owner

rewbs commented May 31, 2023

Thanks for the report, this is definitely worth improving. The debouncing when typing in prompt fields (text and position) isn't working as well as I'd hoped. As a result we're doing too many round-trips, resulting in many doc saves and re-renders.

Related: #25 .

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

No branches or pull requests

2 participants