<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:46:25 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-59123] Add benchmarks for frequently used aggregation expressions</title>
                <link>https://jira.mongodb.org/browse/SERVER-59123</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We currently only have C++ &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/pipeline/expression_bm.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;micro benchmark tests&lt;/a&gt; for very few aggregation expressions (mostly the ones that were added recently). We should extend coverage for frequently accessed aggregation expressions. We can collect the opcounters data from Atlas and figure out which expressions are often used by the users. &lt;/p&gt;</description>
                <environment></environment>
        <key id="1832219">SERVER-59123</key>
            <summary>Add benchmarks for frequently used aggregation expressions</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="13201">Fixed</resolution>
                                        <assignee username="kevin.cherkauer@mongodb.com">Kevin Cherkauer</assignee>
                                    <reporter username="arun.banala@mongodb.com">Arun Banala</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Jul 2021 14:53:19 +0000</created>
                <updated>Sun, 29 Oct 2023 21:49:53 +0000</updated>
                            <resolved>Fri, 7 Oct 2022 16:59:56 +0000</resolved>
                                                    <fixVersion>6.2.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>14</watches>
                                                                                                                <comments>
                            <comment id="4886493" author="xgen-internal-githook" created="Fri, 7 Oct 2022 16:56:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Cherkauer&apos;, &apos;email&apos;: &apos;kevin.cherkauer@mongodb.com&apos;, &apos;username&apos;: &apos;kevin-cherkauer&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59123&quot; title=&quot;Add benchmarks for frequently used aggregation expressions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59123&quot;&gt;&lt;del&gt;SERVER-59123&lt;/del&gt;&lt;/a&gt; Add benchmarks for frequently used aggregation expressions&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5c505a067efd74e2c3050607895ab8e43b308aa7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5c505a067efd74e2c3050607895ab8e43b308aa7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4863372" author="JIRAUSER1270811" created="Wed, 28 Sep 2022 21:24:04 +0000"  >&lt;p&gt;I have verified that under &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69798&quot; title=&quot;Add benchmarks for SBE expressions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69798&quot;&gt;&lt;del&gt;SERVER-69798&lt;/del&gt;&lt;/a&gt; these benchmarks are now polymorphic and run under both Classic (expression_bm executable) and SBE (sbe_expression_bm executable) and have succeeded in creating the first new one for agg_eq in my dev branch.&lt;/p&gt;

&lt;p&gt;Restricting to just agg expressions to avoid scope creep, the new top 15 are&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;agg_eq&lt;/li&gt;
	&lt;li&gt;agg_if_null&lt;/li&gt;
	&lt;li&gt;agg_const&lt;/li&gt;
	&lt;li&gt;agg_cond&lt;/li&gt;
	&lt;li&gt;agg_ne&lt;/li&gt;
	&lt;li&gt;agg_meta&lt;/li&gt;
	&lt;li&gt;agg_lte&lt;/li&gt;
	&lt;li&gt;agg_gte&lt;/li&gt;
	&lt;li&gt;agg_literal&lt;/li&gt;
	&lt;li&gt;agg_switch&lt;/li&gt;
	&lt;li&gt;agg_or&lt;/li&gt;
	&lt;li&gt;agg_array_elem_at&lt;/li&gt;
	&lt;li&gt;agg_add&lt;/li&gt;
	&lt;li&gt;agg_filter&lt;/li&gt;
	&lt;li&gt;agg_in&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="4862211" author="mihai.andrei" created="Wed, 28 Sep 2022 15:56:09 +0000"  >&lt;p&gt;IMO, I would be fine with the ticket covering only agg expressions, since we should already have a lot of coverage for the common match expressions through the mongo-perf microbenchmarks/genny. Is there value in adding c++ microbenchmarks for the most common match expressions as well?&lt;/p&gt;</comment>
                            <comment id="4861859" author="david.storch" created="Wed, 28 Sep 2022 14:39:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.cherkauer%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kevin.cherkauer@mongodb.com&quot;&gt;kevin.cherkauer@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=arun.banala%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;arun.banala@mongodb.com&quot;&gt;arun.banala@mongodb.com&lt;/a&gt; it sounds fine to me to have this ticket track adding benchmarks for the most common expressions. We can make sure we have the necessary coverage for SBE perf as a followup task. I agree with Arun that it would be good to add benchmarks to the fixture that Ivan implemented so that we automatically get coverage in both classic and SBE.&lt;/p&gt;

&lt;p&gt;cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mihai.andrei%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mihai.andrei@mongodb.com&quot;&gt;mihai.andrei@mongodb.com&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4859716" author="arun.banala" created="Tue, 27 Sep 2022 19:18:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.cherkauer%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kevin.cherkauer@mongodb.com&quot;&gt;kevin.cherkauer@mongodb.com&lt;/a&gt; Looks like there was a recent change by &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ivan.fefer%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;ivan.fefer@mongodb.com&quot;&gt;ivan.fefer@mongodb.com&lt;/a&gt; (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69798&quot; title=&quot;Add benchmarks for SBE expressions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69798&quot;&gt;&lt;del&gt;SERVER-69798&lt;/del&gt;&lt;/a&gt;) unifies the expression benchmarking code for SBE and classic engine. So I believe if you add the benchmarks &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/pipeline/expression_bm_fixture.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;, it should apply for both classic and SBE.&lt;/p&gt;</comment>
                            <comment id="4856045" author="JIRAUSER1270811" created="Mon, 26 Sep 2022 17:07:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;david.storch@mongodb.com&quot;&gt;david.storch@mongodb.com&lt;/a&gt; My understanding of this ticket is that it is intended for adding the most common ones, which is what &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=arun.banala%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;arun.banala@mongodb.com&quot;&gt;arun.banala@mongodb.com&lt;/a&gt; who opened it asked me to do (suggesting &quot;top ten&quot; if there is some sense of what those are). If you and he agree to change it to cover wider ground, it&apos;s fine with me.&lt;/p&gt;</comment>
                            <comment id="4852158" author="david.storch" created="Fri, 23 Sep 2022 20:00:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.cherkauer%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kevin.cherkauer@mongodb.com&quot;&gt;kevin.cherkauer@mongodb.com&lt;/a&gt; I don&apos;t think we need to meet unless there is anything specific you want to go over. Is your plan to use this ticket to add coverage for all the expressions that we support in SBE? Or does this ticket remain about coverage for the most common expressions, in which case we need a separate work item for getting the SBE-related coverage?&lt;/p&gt;</comment>
                            <comment id="4851407" author="JIRAUSER1270811" created="Fri, 23 Sep 2022 16:00:34 +0000"  >&lt;p&gt;Thank you &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mihai.andrei%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mihai.andrei@mongodb.com&quot;&gt;mihai.andrei@mongodb.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;david.storch@mongodb.com&quot;&gt;david.storch@mongodb.com&lt;/a&gt; do you want a meeting to discuss further or does Mihai&apos;s list cover what you were looking for?&lt;/p&gt;</comment>
                            <comment id="4849363" author="david.storch" created="Thu, 22 Sep 2022 18:51:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.cherkauer%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kevin.cherkauer@mongodb.com&quot;&gt;kevin.cherkauer@mongodb.com&lt;/a&gt; could you catch up with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mihai.andrei%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mihai.andrei@mongodb.com&quot;&gt;mihai.andrei@mongodb.com&lt;/a&gt;, myself, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ivan.fefer%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;ivan.fefer@mongodb.com&quot;&gt;ivan.fefer@mongodb.com&lt;/a&gt;, and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.liu%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rui.liu@mongodb.com&quot;&gt;rui.liu@mongodb.com&lt;/a&gt; about this? Ivan did some work recently to add new C++ microbenchmarks for expressions, so it seems like this task should extend the work that he already did. In addition, the SBE perf team is interested in making sure we have coverage for all the expressions that are supported in SBE. This may be a slightly different subset than the most commonly used expressions, so we should add coverage for the union of (most commonly used) + (supported in SBE).&lt;/p&gt;

&lt;p&gt;One last note: we just added a system to ingest this C++ microbenchmark data into our SBE perf Atlas cluster and Charts dashboard. You shouldn&apos;t have to do anything special to make this work, hopefully, but we should make sure that the relevant benchmark data shows up there.&lt;/p&gt;</comment>
                            <comment id="3978223" author="JIRAUSER1257467" created="Tue, 3 Aug 2021 15:16:13 +0000"  >&lt;p&gt;Please consider to add this to Quick Wins bucket and create a SERVER Tickets&lt;/p&gt;</comment>
                            <comment id="3967464" author="arun.banala" created="Wed, 28 Jul 2021 09:53:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kateryna.kamenieva&quot; class=&quot;user-hover&quot; rel=&quot;kateryna.kamenieva&quot;&gt;kateryna.kamenieva&lt;/a&gt; Based on the discussing during QE triage meeting, would you be able to help with getting this data from Atlas? &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1694201">SERVER-56422</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2152910">SERVER-70260</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 3 Aug 2021 15:16:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 17 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-56422'>SERVER-56422</a></s>, <a href='https://jira.mongodb.org/browse/ANALYTICS-3642'>ANALYTICS-3642</a>]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2577</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 17 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ana.meza@mongodb.com</customfieldvalue>
            <customfieldvalue>arun.banala@mongodb.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kevin.cherkauer@mongodb.com</customfieldvalue>
            <customfieldvalue>mihai.andrei@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzuizj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2l13:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5912">QE 2022-10-03</customfieldvalue>
    <customfieldvalue id="5914">QE 2022-10-17</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|hzu58n:</customfieldvalue>

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