<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:50:44 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>[SERVER-19372] Text query perf regression in commit d764e3e</title>
                <link>https://jira.mongodb.org/browse/SERVER-19372</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Mongo-perf shows a regression on all of the text based query tests as of commit d764e3e. &lt;/p&gt;

&lt;p&gt;Regression is visible here: &lt;a href=&quot;https://evergreen.mongodb.com/task/performance_linux_wt_standalone_query_d764e3e6cf1d8a7d510df2f724282f7a053cecda_15_07_09_15_35_39&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task/performance_linux_wt_standalone_query_d764e3e6cf1d8a7d510df2f724282f7a053cecda_15_07_09_15_35_39&lt;/a&gt;&lt;br/&gt;
Click on the trend graph. &lt;/p&gt;</description>
                <environment></environment>
        <key id="216420">SERVER-19372</key>
            <summary>Text query perf regression in commit d764e3e</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-query">Backlog - Query Team</assignee>
                                    <reporter username="david.daly@mongodb.com">David Daly</reporter>
                        <labels>
                            <label>32qa</label>
                            <label>mpreg</label>
                            <label>query-44-grooming</label>
                    </labels>
                <created>Mon, 13 Jul 2015 15:32:15 +0000</created>
                <updated>Tue, 6 Dec 2022 04:48:16 +0000</updated>
                            <resolved>Mon, 5 Aug 2019 15:42:26 +0000</resolved>
                                    <version>3.1.6</version>
                                                    <component>Performance</component>
                    <component>Querying</component>
                    <component>Text Search</component>
                                        <votes>1</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="2357877" author="craig.homa" created="Mon, 5 Aug 2019 15:42:26 +0000"  >&lt;p&gt;Closing as future perf work should be based on a broad view of system perf instead of targeting old reports of perf regressions. &lt;/p&gt;</comment>
                            <comment id="1049164" author="david.daly" created="Thu, 1 Oct 2015 20:24:51 +0000"  >&lt;p&gt;To close the discussion here, after further review &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20613&quot; title=&quot;Performance Regression on Mongo-perf text tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20613&quot;&gt;&lt;del&gt;SERVER-20613&lt;/del&gt;&lt;/a&gt; appears to be caused by the two commits listed above and not anything more. I just closed it as a dupe. However, the performance target overrides were committed against &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20613&quot; title=&quot;Performance Regression on Mongo-perf text tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20613&quot;&gt;&lt;del&gt;SERVER-20613&lt;/del&gt;&lt;/a&gt;. When this ticket is fixed, the targets will need to be updated appropriately. &lt;/p&gt;</comment>
                            <comment id="1040196" author="rassi@10gen.com" created="Tue, 22 Sep 2015 20:21:23 +0000"  >&lt;p&gt;Ah, thanks for clarifying that there are multiple commits involved, I missed that.  The two commits are unrelated, so I retract my suggestion that we close this ticket as a dup.  37% is indeed a concerning magnitude for a regression of any sort over a major release, but I stand by my earlier statement about &lt;a href=&quot;https://github.com/mongodb/mongo/commit/92eac3b57d8beaf063fced8839cd870f97826bb7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;92eac3b5&lt;/a&gt;, and so I&apos;m back to the opinion that we should treat these separately.&lt;/p&gt;

&lt;p&gt;As far as this ticket goes, it agree that it merits further investigation and a fix, as no noticeable regression was expected by its introduction.  David Daly, can you confirm that this regression should be reproducible by running mongo-perf text tests against d764e3e and its parent and comparing the results between the two?  If so, I&apos;ll move this ticket into &quot;Needs Triage&quot; and triage it with Dave at our next triage meeting (within the next few weeks).&lt;/p&gt;

&lt;p&gt;Our team is unfortunately pretty booked for most of the remainder of the 3.1.x cycle, so I wouldn&apos;t be surprised if a fix doesn&apos;t make it into the 3.2 release, which is unfortunate but reflects the reality of our current release schedule.&lt;/p&gt;</comment>
                            <comment id="1040174" author="david.daly" created="Tue, 22 Sep 2015 19:50:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jason.rassi&quot; class=&quot;user-hover&quot; rel=&quot;jason.rassi&quot;&gt;jason.rassi&lt;/a&gt; there appear to be at least three distinct regressions. &lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d764e3e6cf1d8a7d510df2f724282f7a053cecda&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;d764e3e6cf&lt;/a&gt; &amp;#8211;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/commit/92eac3b57d8beaf063fced8839cd870f97826bb7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;92eac3b5&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;And something earlier (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20613&quot; title=&quot;Performance Regression on Mongo-perf text tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20613&quot;&gt;&lt;del&gt;BF-1172&lt;/del&gt;&lt;/a&gt;) which I haven&apos;t isolated yet from before the mongo-perf tests were fully up in evergreen.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The aggregate is net performance loss of up to 37%. Is a 37% considered to be of a reasonable magnitude for these changes? I can update the targets and mark the BF as a duplicate if it is. Similarly, if those two commits are close enough in intent, I don&apos;t object to closing this ticket as a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19936&quot; title=&quot;Performance pass on unicode-aware text processing logic (text index v3)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19936&quot;&gt;&lt;del&gt;SERVER-19936&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;</comment>
                            <comment id="1040158" author="rassi@10gen.com" created="Tue, 22 Sep 2015 19:29:12 +0000"  >&lt;p&gt;Assuming that the regression described by this ticket and the build failure ticket can reasonably be determined to be introduced by &lt;a href=&quot;https://github.com/mongodb/mongo/commit/92eac3b57d8beaf063fced8839cd870f97826bb7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;92eac3b5&lt;/a&gt;, I suggest we close them both as a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19936&quot; title=&quot;Performance pass on unicode-aware text processing logic (text index v3)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19936&quot;&gt;&lt;del&gt;SERVER-19936&lt;/del&gt;&lt;/a&gt;, and leave that ticket in Planning Bucket A.  This seems consistent with the discussion I had with Dan about this last month, which I summarized in a &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19936?focusedCommentId=1004580&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1004580&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;comment&lt;/a&gt; at &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19936&quot; title=&quot;Performance pass on unicode-aware text processing logic (text index v3)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19936&quot;&gt;&lt;del&gt;SERVER-19936&lt;/del&gt;&lt;/a&gt;.  Quoting here:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I briefly discussed with Dan.&lt;/p&gt;

&lt;p&gt;Yes, this slowdown is expected and of a reasonable magnitude. We should do a performance pass on the new code to make up for some of the regression, but we do not think this should be scheduled for 3.1.x and are happy to ship with this feature performing as-is.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;If there&apos;s new information available now that you think would change this decision then we can reconsider, but just based on a cursory scan of the tickets filed I am currently not much more concerned than I was a month ago.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.benvenuto&quot; class=&quot;user-hover&quot; rel=&quot;mark.benvenuto&quot;&gt;mark.benvenuto&lt;/a&gt;, would you mind weighing in for a second opinion?&lt;/p&gt;</comment>
                            <comment id="1040016" author="david.daly" created="Tue, 22 Sep 2015 17:49:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jason.rassi&quot; class=&quot;user-hover&quot; rel=&quot;jason.rassi&quot;&gt;jason.rassi&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch&quot; class=&quot;user-hover&quot; rel=&quot;david.storch&quot;&gt;david.storch&lt;/a&gt; I don&apos;t think Adam is going to get to this one. What do we want to do with it? There appear to be 3 different text performance regressions (this, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19936&quot; title=&quot;Performance pass on unicode-aware text processing logic (text index v3)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19936&quot;&gt;&lt;del&gt;SERVER-19936&lt;/del&gt;&lt;/a&gt;, and some more caught in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20613&quot; title=&quot;Performance Regression on Mongo-perf text tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20613&quot;&gt;&lt;del&gt;BF-1172&lt;/del&gt;&lt;/a&gt;). The sum total is pretty big. &lt;/p&gt;</comment>
                            <comment id="964515" author="david.daly" created="Mon, 13 Jul 2015 15:34:37 +0000"  >&lt;p&gt;Talked to &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch&quot; class=&quot;user-hover&quot; rel=&quot;david.storch&quot;&gt;david.storch&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rassi%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;rassi@10gen.com&quot;&gt;rassi@10gen.com&lt;/a&gt; about this. The commit is refactor. From discussion, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=adam.chelminski&quot; class=&quot;user-hover&quot; rel=&quot;adam.chelminski&quot;&gt;adam.chelminski&lt;/a&gt; should investigate the cause of the performance regression. Based on that investigation, they will decide whether to fix or to leave as is. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=adam.chelminski&quot; class=&quot;user-hover&quot; rel=&quot;adam.chelminski&quot;&gt;adam.chelminski&lt;/a&gt; please take a look.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="230292">SERVER-20613</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25143"><![CDATA[Query]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 22 Sep 2015 19:29:12 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 27 weeks, 2 days 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_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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 27 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-query</customfieldvalue>
            <customfieldvalue>craig.homa@mongodb.com</customfieldvalue>
            <customfieldvalue>david.daly@mongodb.com</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl0uf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6skn:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Need mongo-perf &amp;#8211; available here: &lt;a href=&quot;https://github.com/mongodb/mongo-perf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-perf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Can run all the text tests with &lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;python benchrun.py -f testcases/*.js --includeFilter text --out out -s &amp;lt;PATH TO SHELL&amp;gt; -t 8 &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;To run a single test, just put its name in place of text&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;python benchrun.py -f testcases/*.js --includeFilter Queries.Text.FindSingle --out out -s &amp;lt;PATH TO SHELL&amp;gt; -t 8 &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</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_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsa0iv:</customfieldvalue>

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