Home / Function/ createPerformanceTestEnvironment() — spring-boot Function Reference

createPerformanceTestEnvironment() — spring-boot Function Reference

Architecture documentation for the createPerformanceTestEnvironment() function in ConfigurationPropertySourcesTests.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  6669a4c6_e573_88ab_d3de_44f7b6ac5e32["createPerformanceTestEnvironment()"]
  bf49e731_84ec_a9a8_ec89_f49b1623fc07["environmentPropertyAccessWhenMutableWithCacheShouldBePerformant()"]
  bf49e731_84ec_a9a8_ec89_f49b1623fc07 -->|calls| 6669a4c6_e573_88ab_d3de_44f7b6ac5e32
  41df39fb_e3b2_f0e9_1846_abf0ae1a515f["descendantOfPropertyAccessWhenMutableWithCacheShouldBePerformant()"]
  41df39fb_e3b2_f0e9_1846_abf0ae1a515f -->|calls| 6669a4c6_e573_88ab_d3de_44f7b6ac5e32
  10a4d60f_b0e9_c2fb_ed3a_fbcca81a0607["testPropertySourcePerformance()"]
  10a4d60f_b0e9_c2fb_ed3a_fbcca81a0607 -->|calls| 6669a4c6_e573_88ab_d3de_44f7b6ac5e32
  f8c90c6b_f473_70c8_c655_8d5369c64558["TestPropertySource()"]
  6669a4c6_e573_88ab_d3de_44f7b6ac5e32 -->|calls| f8c90c6b_f473_70c8_c655_8d5369c64558
  style 6669a4c6_e573_88ab_d3de_44f7b6ac5e32 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/source/ConfigurationPropertySourcesTests.java lines 190–198

	private StandardEnvironment createPerformanceTestEnvironment(boolean immutable) {
		StandardEnvironment environment = new StandardEnvironment();
		MutablePropertySources propertySources = environment.getPropertySources();
		for (int i = 0; i < 100; i++) {
			propertySources.addLast(new TestPropertySource(i, immutable));
		}
		ConfigurationPropertySources.attach(environment);
		return environment;
	}

Domain

Subdomains

Calls

  • TestPropertySource()

Called By

  • descendantOfPropertyAccessWhenMutableWithCacheShouldBePerformant()
  • environmentPropertyAccessWhenMutableWithCacheShouldBePerformant()
  • testPropertySourcePerformance()

Frequently Asked Questions

What does createPerformanceTestEnvironment() do?
createPerformanceTestEnvironment() is a function in the spring-boot codebase.
What does createPerformanceTestEnvironment() call?
createPerformanceTestEnvironment() calls 1 function(s): TestPropertySource.
What calls createPerformanceTestEnvironment()?
createPerformanceTestEnvironment() is called by 3 function(s): descendantOfPropertyAccessWhenMutableWithCacheShouldBePerformant, environmentPropertyAccessWhenMutableWithCacheShouldBePerformant, testPropertySourcePerformance.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free