Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7417

Keeping the side-bar open drastically increases the CPU usage.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.41.0
    • Affects Version/s: None
    • Component/s: Sidebar
    • Labels:
      None
    • Environment:
      OS: N/A
      node.js / npm versions: N/A
      Additional info:
    • Developer Tools
    • Not Needed
    • Iteration Oviraptor

      Problem Statement/Rationale

      Compass average CPU usage is pretty high and the performance is degraded, making working with Compass sometimes too slow.

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      • Open Activity Monitor
      • Open Compass
      • Connect to a cluster
      • Take a look at the activity monitor, in the renderer process, you'll see an increased CPU usage (in my computer more than 30%)
      • Now, collapse the side bar completely.
      • In the acitivity monitor, eventually, the CPU usage will decrease to near 0.

      Expected Results

      The side-bar shouldn't have significant impact in CPU usage.

      Actual Results

      The side-bar, when open, consumes around 30% of the total CPU.

      Additional Notes

      There is also an issue in GitHub: https://github.com/mongodb-js/compass/issues/3219

      There is also a video reproducing the issue attached in this ticket.

            Assignee:
            himanshu.singh@mongodb.com Himanshu Singh
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: