-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
I noticed that openapi generation takes about half the total build time of the quarkus application - at least for this reproducer.
Can this be improved?
Reproducer:
The model of this reproducer is genarated based on the openapi definition of one of my (public) real world applications, where I noticed this initially.
https://github.com/Postremus/smallrye-openapi-slow-repr
- mvn clean install - just to have all dependencies ready
- mvn quarkus:build. Remember the time noted in the log line
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 13063 - remove quarkus-smallrye-openapi from the pom.xml
- mvn quarkus:build. Take note of the time noted in the log
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 6714 - Compare both times. Without openapi build will be much faster.
Flamegraphs:
wall-1-reverse.html
wall-1.html
cpu-1-reverse.html
cpu-1.html
alloc-1.html
No reverse graphs for the allocation profiling - process hit the memory limit..
I can provide jfr recordings over zulip / mail if desired (github does not like a 200mb file).
Metadata
Metadata
Assignees
Labels
No labels