Remove heap allocation of startup snapshot in boxednode

XMLWordPrintableJSON

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

      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
              Reporter:
              Anna Henningsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: