- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DependencyGenerator (0.23 sec)
-
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/DependencyGenerator.groovy
* * The dependencies are picked randomly with a random number generator that is seeded with the project number. * This way the function returns the same results each time it is evaluated. */ class DependencyGenerator { Integer numberOfProjects Integer maxProjectDependencies = 5 def calculateLayerSizes() { Deque<Integer> layerSizes = new ArrayDeque<>() recursiveLayers(numberOfProjects, layerSizes)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.2K bytes - Viewed (0) -
build-logic/performance-testing/src/test/groovy/gradlebuild/performance/generator/DependencyGeneratorTest.groovy
given: def dependencyGenerator = new DependencyGenerator() def numberOfProjects = 0 dependencyGenerator.numberOfProjects = numberOfProjects when: def layerSizes = dependencyGenerator.calculateLayerSizes() then: layerSizes.isEmpty() when: def projectsInLayer = dependencyGenerator.splitProjectsInLayers(layerSizes) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 2.8K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/CppMultiProjectGeneratorTask.groovy
@DisableCachingByDefault(because = "Not made cacheable, yet") class CppMultiProjectGeneratorTask extends AbstractProjectGeneratorTask { @Internal gradlebuild.performance.generator.DependencyGenerator.DependencyInfo depInfo CppMultiProjectGeneratorTask() { maxWorkers = 6 } @Override void generateProjectSource(File projectDir, TestProject testProject, Map args) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 07 13:12:26 UTC 2021 - 4.8K bytes - Viewed (0)