[hibernate-commits] [hibernate/hibernate-validator] fb7bf3: HV-1694 Add a benchmarck for unconstrained beans a...

Guillaume Smet noreply at github.com
Wed Feb 27 18:06:33 EST 2019


  Branch: refs/heads/6.0
  Home:   https://github.com/hibernate/hibernate-validator
  Commit: fb7bf3d05e07803350d1aed5e20024178d9d66ba
      https://github.com/hibernate/hibernate-validator/commit/fb7bf3d05e07803350d1aed5e20024178d9d66ba
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M performance/README.md
    M performance/pom.xml
    A performance/src/main/java/org/hibernate/validator/performance/unconstrained/UnconstrainedBeanValidation.java

  Log Message:
  -----------
  HV-1694 Add a benchmarck for unconstrained beans and update benchmarks


  Commit: 424c1bcc5d2a9a1ac49a5cd9fb4a79bca9382d87
      https://github.com/hibernate/hibernate-validator/commit/424c1bcc5d2a9a1ac49a5cd9fb4a79bca9382d87
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M performance/src/main/java/org/hibernate/validator/performance/simple/SimpleValidation.java
    M performance/src/main/java/org/hibernate/validator/performance/unconstrained/UnconstrainedBeanValidation.java

  Log Message:
  -----------
  HV-1694 Reduce the memory allocations of the benchmarks

It generates too much noise, in particular when testing unconstrained
beans.


  Commit: 8f1cc93e730745370d8d1872950919f97892e810
      https://github.com/hibernate/hibernate-validator/commit/8f1cc93e730745370d8d1872950919f97892e810
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M performance/src/main/java/org/hibernate/validator/performance/simple/SimpleValidation.java
    M performance/src/main/java/org/hibernate/validator/performance/unconstrained/UnconstrainedBeanValidation.java

  Log Message:
  -----------
  HV-1694 Fix our benchmarks following a discussion with Luis Barreiro


  Commit: 9a1ce12d31161e1fc0f87e0311b1aab06ff6a8b1
      https://github.com/hibernate/hibernate-validator/commit/9a1ce12d31161e1fc0f87e0311b1aab06ff6a8b1
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/engine/ValidationContext.java
    M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java

  Log Message:
  -----------
  HV-1694 Reduce memory allocation for unconstrained beans


  Commit: ec458e8534ed5cce15124fb34d0f0cac42dc5ffb
      https://github.com/hibernate/hibernate-validator/commit/ec458e8534ed5cce15124fb34d0f0cac42dc5ffb
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java

  Log Message:
  -----------
  HV-1695 Avoid creating an empty map for group conversions


  Commit: 94a760fe5e5238034157bdc4f6db42b2a5b20427
      https://github.com/hibernate/hibernate-validator/commit/94a760fe5e5238034157bdc4f6db42b2a5b20427
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/metadata/BeanMetaDataManager.java

  Log Message:
  -----------
  HV-1696 Avoid using computeIfAbsent every time in BeanMetaDataManagerImpl

It significantly reduces memory allocation as it avoids the creation of
a lambda instance.


  Commit: 5124b2890c1c91f2e4eb59a963789f7aaccf79b7
      https://github.com/hibernate/hibernate-validator/commit/5124b2890c1c91f2e4eb59a963789f7aaccf79b7
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-02-27 (Wed, 27 Feb 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java

  Log Message:
  -----------
  fixup! HV-1694 Reduce memory allocation for unconstrained beans


Compare: https://github.com/hibernate/hibernate-validator/compare/49df5fe8b567...5124b2890c1c


More information about the hibernate-commits mailing list