bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <>
Subject [jira] [Commented] (BVAL-170) BVAL 2.x is very very slow
Date Sat, 16 Feb 2019 19:44:00 GMT


Matt Benson commented on BVAL-170:

[~tandraschko]: thanks and sorry for the slow response. I wonder if you also noticed that
I had made some other commits, mostly based on [~rmannibucau]'s suggestions... are these
accounted for in your new numbers? Your second patch applies fine and I will be committing
it with one change: the reason for the `new ArrayList()` where you modified `PathNavigation`
was to detach the ongoing use of that object from the array, which could be subsequently modified.
I added a call to `clone()` the array which will hopefully still be more performant than the
new List.

WRT the second patch, the first hunk is easy enough to see what's going on, but the rest of
it appears as whole-file modifications so I am not easily able to tell what changes you're
suggesting. Could you recreate that patch with more granularity?



> BVAL 2.x is very very slow
> --------------------------
>                 Key: BVAL-170
>                 URL:
>             Project: BVal
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 1.1.2, 2.0.0
>            Reporter: Thomas Andraschko
>            Priority: Critical
>         Attachments: bval1.patch, bval2.patch
> Simple case:
> []
> With BVal it takes on my machine around 20 seconds.
> Hibernate Validator 6 takes around 1 second.
> I also checked the hibernate validator benchmark for a case and here is a extract of
one case with operations per seconds:
> HV 6: 874
> BV 1.1: 347
> BV 2.0: 53

This message was sent by Atlassian JIRA

View raw message