You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2019/02/06 22:11:00 UTC

[jira] [Commented] (BVAL-170) BVAL is very slow

    [ https://issues.apache.org/jira/browse/BVAL-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762187#comment-16762187 ] 

Thomas Andraschko commented on BVAL-170:
----------------------------------------

i'm not a pro in the bval codebase. I think that we may miss some big major caches or something.
The difference is really really big.

If those are fixed, i can easily help to do minor optimization. There are many places where we could safe some list instances and this stuff.

> BVAL is very slow
> -----------------
>
>                 Key: BVAL-170
>                 URL: https://issues.apache.org/jira/browse/BVAL-170
>             Project: BVal
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 1.1.2, 2.0.0
>            Reporter: Thomas Andraschko
>            Priority: Critical
>
> Simple case:
> [https://gist.github.com/tandraschko/160195cfd35c22d8519a4304856fab65]
> 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
(v7.6.3#76005)