Skip to content

Performance: Tab group function is called too often #25

@chris-martin

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.

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