Improve performance by limiting or reusing result tabs

Paweł shared this idea 20 hours ago
In Progress

When working for a longer time in one script tab and repeatedly executing the current statement (F6), the number of result tabs grows without limit. As result tabs accumulate, the UI becomes noticeably slower and less responsive. Closing result tabs improves performance, so the slowdown appears to be related to the number of open result tabs.

There are already similar reports, for example:

Problem

  • Each F6 execution opens a new result tab in the result pane.
  • There is no built-in limit on the number of result tabs.
  • Over time (for example, during a long debugging or analysis session), dozens of result tabs accumulate and the UI slows down significantly.
  • Manually cleaning result tabs restores performance, but it is inconvenient and easy to forget.

Existing functionality and limitation

In the result pane there is a “Close other tabs” option, which helps a lot, but:

  • It is not possible to assign a keyboard shortcut to this action.
  • Shortcuts appear to be available only for script tabs, not for result tabs/actions.

Feature suggestions

I would like to suggest one or more of the following:

  1. Limit result tabs count
    Add an option to limit the maximum number of result tabs per script tab or globally. When the limit is reached, the oldest result tab is automatically closed when a new result is created.
  2. Reuse result tab for “Run current statement” (F6)
    Add an option like “Reuse current result tab when running current statement” so that repeated F6 executions update the same result tab instead of opening a new one. This is similar in spirit to the request here:
    https://mongobooster.useresponse.com/topic/782-please-stop-opening-new-result-tab-for-every-query
  3. Keyboard shortcut for “Close other tabs” in result pane
    Allow assigning a keyboard shortcut to “Close other tabs” for result tabs, the same way shortcuts can be configured for script tabs.

Any of these options would help keep the number of result tabs under control and significantly improve performance in long-running sessions.

Environment

  • macOS Sequoia 15.6.1 (M1 Max)
  • NoSQLBooster 10.0.7

Replies (2)

photo
2

Previously, both F6 and Mod+F6 were set to run the current script. We have separated these commands: Mod+F6 will first clear the existing result tabs and executing the "Run Current Script" command. We have packaged a beta version for testing – feel free to give it a try (Mod+F6).

7bba02799cd79947eda0f26459540b7942f58f223f5326795486c0264219840c



MacOS: https://s3.nosqlbooster.com/download/releasesv10/nosqlbooster4mongo-10.0.9-beta.1.dmg

This comment is in trash! Restore
photo
1

Thanks a lot! I tested Mod+F6 and it works great. Really appreciate how fast you implemented this.

This comment is in trash! Restore
Leave a Comment
 
Attach a file