Aptana Studio
  1. Aptana Studio
  2. APSTUD-3698

The computation of which node in Outline to show for the corresponding editor caret position should be done in a Job instead of Thread

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: None None
    • Resolution: Fixed
    • Affects Version/s: Aptana Studio 3.0.5
    • Fix Version/s: Aptana Studio 3.0.7
    • Component/s: None
    • Labels:
      None

      Description

      When done in a thread, if user clicks around quickly, each caret position change will trigger a new thread to compute the corresponding node, even though only the last one is necessary. The operation should be changed to use a Job instead to improve performance.

        Activity

        Hide
        Michael Xia (Inactive) added a comment -

        Correct.

        Show
        Michael Xia (Inactive) added a comment - Correct.
        Hide
        Joel Witt (Inactive) added a comment -

        Aptana Studio 3, build: 3.0.7.201111182245
        Virtual Machine with Windows XP

        No confirmation sequence for this item : closing.

        Show
        Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.7.201111182245 Virtual Machine with Windows XP No confirmation sequence for this item : closing.
        Hide
        Ingo Muschenetz added a comment -

        Note, you could try replicating this by opening a large javascript file in a previous version, turn on "link with editor" and try clicking around to see how it performed. Try this again with the newer version.

        Show
        Ingo Muschenetz added a comment - Note, you could try replicating this by opening a large javascript file in a previous version, turn on "link with editor" and try clicking around to see how it performed. Try this again with the newer version.
        Hide
        Joel Witt (Inactive) added a comment -

        Aptana Studio 3, build: 3.0.7.201111281838
        Virtual Machine with Windows XP

        Opened large JavaScript file, clicked Link With Editor and entered 80 characters. Elapsed time : 23 seconds with 3.0.5 (please see capture at http://www.screencast.com/t/wpkr4QrglNtP) 15 second with current version (please see capture at http://www.screencast.com/t/EZH7CHLo00n).

        Show
        Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.7.201111281838 Virtual Machine with Windows XP Opened large JavaScript file, clicked Link With Editor and entered 80 characters. Elapsed time : 23 seconds with 3.0.5 (please see capture at http://www.screencast.com/t/wpkr4QrglNtP ) 15 second with current version (please see capture at http://www.screencast.com/t/EZH7CHLo00n ).

          People

          • Assignee:
            Michael Xia (Inactive)
            Reporter:
            Michael Xia (Inactive)
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development