tg
tg copied to clipboard
Jandex-based entity introspection
Description
TG relies on reflection for a lot of domain model analysis at runtime (i.e., the entity introspection such as that implemented in Reflector, EntityUtils, Finder and AnnotationReflector). Reflection remains quite slow in modern Java.
One way to improve the performance of such domain model analysis is to use Jandex.
This issue covers the initial research into the use of Jandex for TG and the potential migration of the domain model runtime analysis to use Jandex.
It is important to identify specific benchmarks to evaluate and measure the speedup achieved by using Jandex for entity introspection.
Expected outcome
2x-3x speedup of the entity introspection.