[midPoint-git] [Evolveum/midpoint] e26b14: Cache ValueMetadata definition in ValueMetadataFac...

Tony Tkáčik noreply at github.com
Wed Nov 25 17:13:43 CET 2020


  Branch: refs/heads/feature/prism-performance
  Home:   https://github.com/Evolveum/midpoint
  Commit: e26b142233ae14cf22cf68c5dd60f16dd597e06f
      https://github.com/Evolveum/midpoint/commit/e26b142233ae14cf22cf68c5dd60f16dd597e06f
  Author: Tony Tkacik <tonydamage at gmail.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/metadata/MidpointValueMetadataFactory.java

  Log Message:
  -----------
  Cache ValueMetadata definition in ValueMetadataFactory

Not-caching definition resulted in 5% performance drop during serialization
without metadata, since definition was linearly looked up for each value.

Caching definition should speed up this.




More information about the midPoint-svn mailing list