Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Improve tab switching performance #5174

Closed

Description

@benogle
No description provided.

Activity

  1. martpie commented on Jan 28, 2015

    @martpie

    The main difference between Sublime and Atom for tab switching is Atom use "onmouseup" event while Sublime use "onmouseup" when clicking a tab.

    With Atom, you only switch tab after releasing your finger from your mouse. This is noticeable with the eye.

  2. as-cii commented on Mar 3, 2015

    @as-cii
    Contributor

    @benogle: could you provide some more feedback on this, please? I tried opening a ton of files (namely, the 150 biggest files inside atom/atom repo) under the same window, and switched tab through pane:show-next-item: everything seems quite responsive, though. What am I missing?

    Thank you 🙇

  3. benogle commented on Mar 3, 2015

    @benogle
    ContributorAuthor

    This was a ticket to look into it -- profile it and see if there is low hanging fruit. Some people were having issues. The recent speedups in the editor may have made things better. And I suspect packages (e.g. https://github.com/atom-community/autocomplete-plus/issues/247) are contributing to some of the slowdown.

  4. as-cii commented on Mar 4, 2015

    @as-cii
    Contributor

    👍 I see. To be honest, I cannot notice any slowdown when switching lots of tabs and, therefore, I assume this issue is mostly related to autocomplete-plus, rather than to Atom itself.

    Shall we keep it anyways, or can we say this was fixed? Thanks 👯

  5. marcelgwerder commented on Mar 14, 2015

    @marcelgwerder

    How about switching to "mousedown" like @KeitIG mentioned?
    All tabs I use daily (Chrome, Nautilus, Firefox, Gimp, Sublime etc.) work that way.
    I think that would definitely help. Or is there already some preparation stuff done on mouse down I don't know about?

  6. as-cii commented on Mar 15, 2015

    @as-cii
    Contributor

    How about switching to "mousedown" like @KeitIG mentioned?
    All tabs I use daily (Chrome, Nautilus, Firefox, Gimp, Sublime etc.) work that way.
    I think that would definitely help. Or is there already some preparation stuff done on mouse down I don't know about?


    The main difference between Sublime and Atom for tab switching is Atom use "onmouseup" event while Sublime use "onmouseup" when clicking a tab.

    With Atom, you only switch tab after releasing your finger from your mouse. This is noticeable with the eye.

    @marcelgwerder: as explained by @benogle earlier on, this issue is more about slowdowns experienced while switching tabs. Could you explain how your proposal will impact speed, please? Moreover, I'd say that the behavior you're requesting belongs to https://github.com/atom/tabs, thus you may want to open an issue there.

    Thanks for your feedback! 😊

  7. marcelgwerder commented on Mar 15, 2015

    @marcelgwerder

    @as-cii It will not speed up the process itself. It will just feel faster for the user because the switch is already invoked on mousedown. Some quick tests show me a personal difference of ~60ms between mousedown and mouseup. That of course depends on the user but it's a "quick win" if you will.

  8. mark-hahn commented on Mar 15, 2015

    @mark-hahn
    Contributor

    . It will just feel faster

    It's more than feeling faster. Your eyes see the new tab sooner and can
    start doing their thing.

    On Sun, Mar 15, 2015 at 4:49 AM, Marcel Gwerder [email protected]
    wrote:

    @as-cii https://github.com/as-cii It will not speed up the process
    itself. It will just feel faster for the user because the switch is already
    invoked on mousedown. Some quick tests show me a personal difference of
    ~60ms between mousedown and mouseup. That of course depends on the user but
    it's a "quick win" if you will.

    —
    Reply to this email directly or view it on GitHub
    #5174 (comment).

  9. mnquintana commented on Apr 17, 2015

    @mnquintana
    Contributor

    Resolved in atom/tabs#124 - tabs are quite snappy now.

  10. martpie commented on Apr 20, 2015

    @martpie

    @mnquintana
    My PR didn't really improve "tab switching performance", but "tab switching performance feeling"

    @marcelgwerder: as explained by @benogle earlier on, this issue is more about slowdowns experienced while switching tabs

  11. lock commented on Jan 22, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  12. locked as resolved and limited conversation to collaborators on Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions