Skip to content

dsyer/spring-boot-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experimental library with custom hand-picked autoconfigurations in Spring Boot. Example:

@SpringBootFeaturesApplication(WebFluxConfigurations.class)
public class InterceptorApplication {

	public static void main(String[] args) {
		SpringApplication.run(InterceptorApplication.class, args);
	}

	@Bean
	public RouterFunction<?> userEndpoints() {
		return route(GET("/"), request -> ok().body(Mono.just("Hello"), String.class));
	}

}

Petclinic startup benchmarks:

class               method  sample  beans  classes     heap  memory  median  mean  range
PetClinicBenchmarkIT  auto  demo  145.000  5726.000  14.859  86.225  1.213  1.228  0.022
PetClinicBenchmarkIT  auto  actr  187.000  6330.000  16.484  91.591  1.324  1.350  0.023
  • demo is without actuators. Starts in 1.2sec.

  • actr adds back actuators (just /health and /info)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages