Perf4CDI is an add-on package for implementations of CDI (Contexts and Dependency Injection for the Java EE platform, also known as JSR-299) providing convenient integration with Perf4j, a performance monitoring library for Java applications. For basic usage, it's enough to annotate the profiling method in CDI-based applications. Many settings can be customized.