-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Dev Platform 2022-07-25
-
35
Evergreen task steps and procedure
- Assuming normal required evergreen build steps like checking out the source code, etc are in place, first a script will launch to monitor system memory usage while the build is running. Primarily we are interested in peak memory usage.
- The next step will be a clean build with metrics gathering turned on, but with the cache disabled. The build will use the targets install-all-meta and generate-libdeps-graph. We will turn off random build order, to create consistent builds to compare against. Since this will be building everything in one build it is expected to take several hours.
- Next the build will be rerun in its completed state, with push to cache turned on, so that the cache will be populated. The build will pus to a local cache to see relative performance of our caching mechanism such as the ratio between a clean build, pushing everything to cache, and pulling everything from cache.
- Next the build will be cleaned, and a build will be completed with a hot cache to see the ratio of pulling from the cache. Note that some things which do not go into the cache will be rebuilt, so the performance impacts of those files will be accounted for here.
- The libdeps graph analyzer will run and extract basic metrics about the dependency graph.
- Finally, the artifacts of the build will be analyzed. This will include detailed data for binary artifacts (executable and compiled objects), and basic data for all other artifacts generated to the build directory.
- All steps will generate some json data which will be uploaded to evergreen performance analysis infrastructure.
- Finally a build visualization graph will be generated from the json data.
- has to be done after
-
SERVER-67053 Create per action memory metric for windows
- Closed
-
SERVER-67054 Create per action memory metric for macos
- Closed
-
SERVER-67055 Create scons builtin metrics
- Closed
-
SERVER-67056 Create artifact metrics
- Closed
-
SERVER-67058 create libdeps metrics
- Closed
-
SERVER-67059 build metric visualization graph
- Closed
- has to be done before
-
SERVER-67062 tweak build metrics frequency
- Closed
(1 has to be done after, 1 has to be done before)