|
.setVisitors(new VisitorBattery()) |
If you do LoadingModelEvaluatoBuilderr#setVisitors(new VisitorBattery()), then you're overriding the default visitor battery (org.jpmml.evaluator.visitors.DefaultModelEvaluatorBattery).
Depending on the model type, this may degrade the performance by 10x (eg. caused by disabling smart pre-parsings).
But maybe that what you do is intentional.
PMMLBenchmarks/jpmml-benchmark/src/main/java/org/kie/pmml/benchmark/jpmml/Builder.java
Line 48 in 7392308
If you do
LoadingModelEvaluatoBuilderr#setVisitors(new VisitorBattery()), then you're overriding the default visitor battery (org.jpmml.evaluator.visitors.DefaultModelEvaluatorBattery).Depending on the model type, this may degrade the performance by 10x (eg. caused by disabling smart pre-parsings).
But maybe that what you do is intentional.