Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10166

Investigate speeding up the s_all script

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 13
    • Storage Engines - 2023-01-10

      Summary
      The dist/s_all script currently takes about 43 seconds to run each time it is called which can be inconvenient as it's intended for developers to quickly and repeatedly lint their code while developing. We should investigate if there are opportunities to improve this runtime.

      There are 3 sections of the script that take up 95% of execution time:

      14 seconds in run "sh ./s_style",
      12 seconds in run "./s_clang-format"
      14 seconds when running a bunch of scripts in parallel (see the # Parallelize if possible comment)

      The sections should be investigated to determine if and how we can reduce their runtime.

      {}Acceptance Criteria (Definition of Done){}

      Determine if there are any methods to cut down on execution time in the script, and if so implement them.

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: