-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
AMM Sprint 233, AMM Sprint 234
-
No
Testing latest CLI with dozens of real world applications, this is the execution time reported in the log for the "hibernate6" ruleset:
2023-03-01 17:37 [354/1477] MigrationRulesPhase - hibernate6 - hibernate-00010 2023-03-01 17:37 [355/1477] MigrationRulesPhase - hibernate6 - hibernate6-00020 2023-03-01 17:37 [356/1477] MigrationRulesPhase - hibernate6 - hibernate6-00030 2023-03-01 17:37 [357/1477] MigrationRulesPhase - hibernate6 - hibernate6-00040 2023-03-01 17:37 [358/1477] MigrationRulesPhase - hibernate6 - hibernate6-00050 2023-03-01 17:37 [359/1477] MigrationRulesPhase - hibernate6 - hibernate6-00060 2023-03-01 17:37 [360/1477] MigrationRulesPhase - hibernate6 - hibernate6-00070 2023-03-01 17:37 [361/1477] MigrationRulesPhase - hibernate6 - hibernate6-00080 2023-03-01 17:40 [362/1477] MigrationRulesPhase - hibernate6 - hibernate6-00090 2023-03-01 17:40 [363/1477] MigrationRulesPhase - hibernate6 - hibernate6-00100 2023-03-01 17:40 [364/1477] MigrationRulesPhase - hibernate6 - hibernate6-00110 2023-03-01 17:40 [365/1477] MigrationRulesPhase - hibernate6 - hibernate6-00120 2023-03-01 17:40 [366/1477] MigrationRulesPhase - hibernate6 - hibernate6-00130 2023-03-01 17:40 [367/1477] MigrationRulesPhase - hibernate6 - hibernate6-00140 2023-03-01 17:40 [368/1477] MigrationRulesPhase - hibernate6 - hibernate6-00150 2023-03-01 17:40 [369/1477] MigrationRulesPhase - hibernate6 - hibernate6-00160 2023-03-01 17:40 [370/1477] MigrationRulesPhase - hibernate6 - hibernate6-00170 2023-03-01 17:40 [371/1477] MigrationRulesPhase - hibernate6 - hibernate6-00180 2023-03-01 17:40 [372/1477] MigrationRulesPhase - hibernate6 - hibernate6-00190 2023-03-01 17:40 [373/1477] MigrationRulesPhase - hibernate6 - hibernate6-00200 2023-03-01 17:40 [374/1477] MigrationRulesPhase - hibernate6 - hibernate6-00210 2023-03-01 17:40 [375/1477] MigrationRulesPhase - hibernate6 - hibernate6-00220 2023-03-01 17:40 [376/1477] MigrationRulesPhase - hibernate6 - hibernate6-00230 2023-03-01 17:41 [377/1477] MigrationRulesPhase - hibernate6 - hibernate6-00240 2023-03-01 17:43 [378/1477] MigrationRulesPhase - hibernate6 - hibernate6-00250 2023-03-01 17:45 [379/1477] MigrationRulesPhase - hibernate6 - hibernate6-00251 2023-03-01 17:47 [380/1477] MigrationRulesPhase - hibernate6 - hibernate6-00252 2023-03-01 17:49 [381/1477] MigrationRulesPhase - hibernate6 - hibernate6-00253 2023-03-01 17:51 [382/1477] MigrationRulesPhase - hibernate6 - hibernate6-00254 2023-03-01 17:53 [383/1477] MigrationRulesPhase - hibernate6 - hibernate6-00255 2023-03-01 17:55 [384/1477] MigrationRulesPhase - hibernate6 - hibernate6-00257 2023-03-01 17:57 [385/1477] MigrationRulesPhase - hibernate6 - hibernate6-00270
Some rules took minutes to run.
It would be great to analyze each "slow" rule in order to understand potential improvements.
Consider applying at least the same refactoring applied for https://issues.redhat.com/browse/WINDUPRULE-952
- collapse rules with common patterns
- avoid useless `<or>` conditions