<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:11 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>[CDRIVER-1331] Avoid realloc in bulk execution</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1331</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;&lt;tt&gt;_mongoc_write_command&lt;/tt&gt; splits a stream of documents (all inserts, all updates, or all deletes) to the server 16 mb at a time. Between each 16 mb batch it destroys the command document &lt;tt&gt;cmd&lt;/tt&gt; and reinitializes it. This wastes time in &lt;tt&gt;malloc&lt;/tt&gt;. Just &lt;tt&gt;bson_reinit&lt;/tt&gt; it after the first batch, and bson_destroy only at the end.&lt;/p&gt;</description>
                <environment></environment>
        <key id="294461">CDRIVER-1331</key>
            <summary>Avoid realloc in bulk execution</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="9">Done</resolution>
                                        <assignee username="ian.boros@mongodb.com">Ian Boros</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                            <label>intern2016</label>
                    </labels>
                <created>Thu, 16 Jun 2016 15:43:50 +0000</created>
                <updated>Wed, 10 Aug 2016 22:10:35 +0000</updated>
                            <resolved>Tue, 5 Jul 2016 19:32:30 +0000</resolved>
                                                    <fixVersion>1.4.0</fixVersion>
                                    <component>Bulk API</component>
                    <component>libmongoc</component>
                    <component>Performance</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1313725" author="xgen-internal-githook" created="Tue, 5 Jul 2016 13:54:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@emptysquare.net&apos;}
&lt;p&gt;Message: Merge pull request #343 from puppyofkosh/&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1331&quot; title=&quot;Avoid realloc in bulk execution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1331&quot;&gt;&lt;del&gt;CDRIVER-1331&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1331&quot; title=&quot;Avoid realloc in bulk execution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1331&quot;&gt;&lt;del&gt;CDRIVER-1331&lt;/del&gt;&lt;/a&gt; minor optimization to write_command&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/dfbd3c21bb4f6303cf5e9daa48d520602962012e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/dfbd3c21bb4f6303cf5e9daa48d520602962012e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1313724" author="xgen-internal-githook" created="Tue, 5 Jul 2016 13:54:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@emptysquare.net&apos;}
&lt;p&gt;Message: Merge pull request #343 from puppyofkosh/&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1331&quot; title=&quot;Avoid realloc in bulk execution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1331&quot;&gt;&lt;del&gt;CDRIVER-1331&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1331&quot; title=&quot;Avoid realloc in bulk execution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1331&quot;&gt;&lt;del&gt;CDRIVER-1331&lt;/del&gt;&lt;/a&gt; minor optimization to write_command&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/dfbd3c21bb4f6303cf5e9daa48d520602962012e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/dfbd3c21bb4f6303cf5e9daa48d520602962012e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1313723" author="xgen-internal-githook" created="Tue, 5 Jul 2016 13:54:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;ian boros&apos;, u&apos;email&apos;: u&apos;ian.boros@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1331&quot; title=&quot;Avoid realloc in bulk execution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1331&quot;&gt;&lt;del&gt;CDRIVER-1331&lt;/del&gt;&lt;/a&gt; minor optimization to write_command&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/341c26742bd31adb82ae4189160823f048a51d23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/341c26742bd31adb82ae4189160823f048a51d23&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1297203" author="jesse" created="Thu, 16 Jun 2016 21:23:33 +0000"  >&lt;p&gt;Changing my mind, reassigning this from Fiona to Ian.&lt;/p&gt;</comment>
                            <comment id="1297127" author="jesse" created="Thu, 16 Jun 2016 20:22:06 +0000"  >&lt;p&gt;Out of curiosity, try a simple benchmark to see if a very large number of inserts, updates, or deletes is measurably faster.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsmkpz:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="970">C Driver 2016 sprint 5</customfieldvalue>

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