Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1771

Remove heap allocation of startup snapshot in boxednode

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.11
    • Affects Version/s: None
    • Component/s: Performance
    • None
    • Developer Tools
    • 2
    • Not Needed
    • Iteration Big Dipper, Iteration Comet, Iteration Earth (Jun 17-Jul 1)

      The current v20.13.0 Node.js release proposal (https://github.com/nodejs/node/pull/52793) contains a commit to enable using std::string_view instead of std::vector for the startup snapshot data.

      We should make use of this change in boxednode if available, and then bump Node.js and boxednode in mongosh, for another small startup performance improvement.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: