Skip to content

Poor performance on debounce #41

Description

@bbarker

I looked into debounce a bit more as things still seemed laggy (debounce for text input fields set to 500ms, though trying 2000 did not seem to make a difference).

Over at https://labordynamicsinstitute.github.io/metajelo-ui/, things are fine when just a few input forms are open. But if you click on "Add item" for Supplementary products, then start typing in any text field (by holding down a single key), you'll probably see something that looks like this in Firefox:

image

Similar for Chrome. I haven't yet gotten react-devtools working with the build, but what I can say from looking at chrome's profiling is that there are many calls to React.DOM, and from Firefox's profiling, is that lots of non-incremental GCs are happening during text input, and I'm not sure why that would be.

Unsure if related to #40.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions