Skip to content

Performance: Tab group function is called too often #25

Description

@chris-martin

My config groups tabs by git repo, by searching up the filesystem hierarchy looking for a .git directory (this is one of the suggestions on the emacs wiki. Today I opened a file from an SSH mount, and noticed a huge performance degradation.

The source of the slowdown was the tab group function, which is apparently invoked for every buffer every time the cursor moves. This seems excessive.

I've memoized my tabbar-buffer-groups-function as a workaround.

Activity

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

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