<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:36:20 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[COMPASS-4431] Compass for Mac extremely slow on Analyze schema</title>
                <link>https://jira.mongodb.org/browse/COMPASS-4431</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;When performing scrolling on analyze schema page in Compass for Mac, it hangs for several seconds on each scroll before it continues. The more you use it, the slower it gets up to a degree where no action with Compass is possible without quitting the app.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Colleague who uses Windows machine reports similar issue.&lt;/p&gt;</description>
                <environment>Mac</environment>
        <key id="1497389">COMPASS-4431</key>
            <summary>Compass for Mac extremely slow on Analyze schema</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="mareks.zirdzins@accenture.com">Mareks Zirdzins</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Oct 2020 09:38:21 +0000</created>
                <updated>Tue, 3 Oct 2023 19:27:25 +0000</updated>
                            <resolved>Wed, 14 Oct 2020 12:38:07 +0000</resolved>
                                    <version>1.22.1</version>
                                    <fixVersion>No version</fixVersion>
                                    <component>Performance</component>
                    <component>Schema</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3443870" author="massimiliano.marcon" created="Wed, 14 Oct 2020 12:37:34 +0000"  >&lt;p&gt;Thank you &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mareks.zirdzins%40accenture.com&quot; class=&quot;user-hover&quot; rel=&quot;mareks.zirdzins@accenture.com&quot;&gt;mareks.zirdzins@accenture.com&lt;/a&gt; for digging into the details of the problem and figuring out the issue that causes it! This looks the same as &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4125&quot; title=&quot;d3-tip breaking out of vdom&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4125&quot;&gt;&lt;del&gt;COMPASS-4125&lt;/del&gt;&lt;/a&gt; so I am closing this as Duplicate.&lt;/p&gt;

&lt;p&gt;We&apos;ll get &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4125&quot; title=&quot;d3-tip breaking out of vdom&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4125&quot;&gt;&lt;del&gt;COMPASS-4125&lt;/del&gt;&lt;/a&gt; fixed as soon as possible.&lt;/p&gt;</comment>
                            <comment id="3427781" author="JIRAUSER1257114" created="Tue, 6 Oct 2020 09:46:05 +0000"  >&lt;p&gt;I think I found the core issue. It seems to be in the mouse over value. It looks like for larger dataset Compass has difficulty calculating the tooltip value and that one runs on main thread, blocking everything else.&#160;&lt;/p&gt;

&lt;p&gt;If I scroll placing mouse cursor in the middle whitespace between property names and values, it does not lag. But if I happen to have it on the left side, it gets to a halt quickly, apparently queueing up calculations of each mouse over tooltip that I ran over until it freezes.&lt;/p&gt;</comment>
                            <comment id="3427769" author="JIRAUSER1257114" created="Tue, 6 Oct 2020 09:34:20 +0000"  >&lt;p&gt;Just to directly answer your question, my last, most annoying experience is with around 2000 documents, that has nested structure with around 80 properties that have a document with couple of sub-properties each. It is basically a contract document with things like address, postal code, name, surname, etc. Nothing fancy. But same is with smaller documents. I think if list of found properties goes around 3 screens tall, the scrolling lag (inability to scroll for 5 seconds or so) will be first to notice, then, for bigger document property count, full halt lag will become apparent.&lt;/p&gt;</comment>
                            <comment id="3427762" author="JIRAUSER1257114" created="Tue, 6 Oct 2020 09:30:42 +0000"  >&lt;p&gt;The same problem is with collection of any size, even several hundred documents. One thing I noticed is that &lt;b&gt;the bigger the list of properties&lt;/b&gt; that the analysis found, &lt;b&gt;the slower it gets&lt;/b&gt;. And the more you use (scroll, click) in the Analyze results screen, the slower it gets, and in couple of minutes you will go to full halt when only option is to force closing the app.&lt;/p&gt;

&lt;p&gt;I cross checked with my colleagues, and they have the same problem with windows version of Compass, so it is some kind of general thread management or memory management issue in the codebase.&lt;/p&gt;

&lt;p&gt;It does not need any extensive testing, its not some kind of corner case. Simply press Analyze on any meaningful dataset and try just scrolling with mouse scroll and clicking on properties to view them to get the freezing in first 5 seconds or so, which will just become worse and worse with every second from that point on up to a full halt, where even mouse over tooltip will lag up to minutes, no scrolling possible, you cant even close the tab to open a new one.&lt;/p&gt;</comment>
                            <comment id="3427753" author="massimiliano.marcon" created="Tue, 6 Oct 2020 09:20:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mareks.zirdzins%40accenture.com&quot; class=&quot;user-hover&quot; rel=&quot;mareks.zirdzins@accenture.com&quot;&gt;mareks.zirdzins@accenture.com&lt;/a&gt; how big is the collection? how big are the documents?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1122695">COMPASS-4125</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 6 Oct 2020 09:20:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 17 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 17 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>mareks.zirdzins@accenture.com</customfieldvalue>
            <customfieldvalue>massimiliano.marcon@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy9sc7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxwvpr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy9elj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>