Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2665

Optimize usage of Result type in Mongorestore

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 789

      It was discovered in mongo-tools/274, which solves TOOLS-1856, that over 90% of dynamic allocation occurs due to this line.

      As tfogo mentioned in a subsequent comment, there's no need for this – we can possibly refactor mongorestore to so that it doesn't constantly have to allocate a new Result object.

            Assignee:
            Unassigned Unassigned
            Reporter:
            hari.amoor@mongodb.com Hari Amoor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: