All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.consoleplugin.modelstatistics.templates.plots.html Maven / Gradle / Ivy

Writing expressions

An expression filters the list of resource models. It allows finding models with specific performance characteristics. For instance, mappings > instantiations finds models causing more than one subsequent resource to model mapping when instantiated. The query averageMappingDuration > average(averageMappingDuration) finds resource models who's individual average mapping duration is higher than the average mapping duration of all resource models. All properties, except when enclosed in entire(...) or average(...), apply to the individual model. For instance, mappingDurationMedian < averageMappingDuration translates to "find models who's mapping duration median is less than it's average mapping duration". One can also employ sub clauses and arithmetic expressions. For instance, totalMappingDuration > entire(totalMappingDuration) * 0.05 finds models that are responsible for more than 5% of the entire mapping time.

The model visualization

The models are ordered by their total mapping time (totalMappingDuration). Each graph exhibits the following dimensions;
InstantiationsThe number of times the model was instantiated
Cache hitsThe number of times the model was loaded from a resource model cache, for instance the default NEBA request-scoped resource model cache.
Subsequent mappingsThe total number of resource to model mappings initiated by a resource model, i.e. the subsequently used resource models.
Ø durationThe average duration of one resource to model mapping for this type
medianThe median duration of one resource to model mapping for this type
Lazy fieldsThe number of lazy fields (Optional fields or lazy-loading collections) of this resource model
Greedy fieldsThe number of non-lazy fields (neither Optional nor lazy-loading collections) of this resource model
Total timeThe total time spent mapping this model




© 2015 - 2024 Weber Informatics LLC | Privacy Policy