Skip to content

Enhance Find Mode Performance and Responsiveness #4546

@darpham

Description

@darpham

Problem Statement:

When using find mode (/) on large web pages, searching is slow to the point of unusable.
Reproducible via https://nix-community.github.io/home-manager/options.xhtml.

Planned Improvements:

  • Delay / debounce FindMode.findInPlace() to reduce the frequency of searches during typing.
  • Implement a caching mechanism for text nodes, potentially using SimpleCache from ./lib/utils.js.
  • Offload text searching to a Web Worker or run asynchronously, possibly utilizing AsyncDataFetcher from ./lib/utils.js.

Expected Benefits:

  • Improved responsiveness during rapid typing in find mode.
  • Faster search performance, especially on large web pages.
  • Reduced strain on system resources during find operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions