-
Component Upgrade
-
Resolution: Duplicate
-
Major
-
None
-
None
As per https://github.com/smallrye/jandex/pull/302#issuecomment-1476986826 upgrade to a new Jandex release that contains the https://github.com/smallrye/jandex/pull/302 changes which are expected to improve https://github.com/wildfly/wildfly-core/blob/main/server/src/main/java/org/jboss/as/server/deployment/annotation/ResourceRootIndexer.java#L84 performance while deploying https://github.com/scottmarlow/tribe-krd-quarkus/tree/wildfly_7pu
The https://github.com/smallrye/jandex/pull/302 change is expected to be discussed further over the next week.
Regarding the performance measurement while deploying https://github.com/scottmarlow/tribe-krd-quarkus/tree/wildfly_7pu, the idea is to measure time between the first "Starting Persistence Unit (phase 1 of 2) Service 'quarkus-tribe-krd-1.0.0-SNAPSHOT.jar#" message to the "Deployed "quarkus-tribe-krd-1.0.0-SNAPSHOT.jar"" message.
The script to follow is something like:
1. Copy the built
cp ~/tribe-krd-quarkus/target/quarkus-tribe-krd-1.0.0-SNAPSHOT.jar wildfly/standalone/deployments/
2. Clear cache as per https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux
sync; echo 3 > /proc/sys/vm/drop_caches
3. Start WildFly and stop WildFly after seeing "Deployed "quarkus-tribe-krd-1.0.0-SNAPSHOT.jar"
4. As mentioned above note how long it took to deploy the application from the first persistence unit (phase 1 of 2 service) starting to the app deployed message.
It takes about 12 seconds to deploy on my laptop currently.
- is duplicated by
-
WFCORE-6305 Upgrade to Jandex 3.1.1
- Closed