Skip to content

Conversation

bamboo
Copy link
Member

@bamboo bamboo commented Jun 3, 2019

By caching some key data structures:

  • the bean constructor used for deserialization per bean type
  • the bean field schema per bean type
  • the bean field assignment strategy per bean field
  • the encoding strategy per type

After the optimisations, instant-execution for compileJava in a 500 project build builder build is ~5x faster than classic execution and storing the task graph adds very little overhead.

image

bamboo added 3 commits June 3, 2019 13:33
By keeping a single set in memory during the whole computation.
…tant-execution cache

This optimisation more than makes up for the time lost restoring the
dynamically registered properties.
For a boost in write performance.
@bamboo bamboo added from:member in:configuration-cache Configuration Caching labels Jun 3, 2019
@bamboo bamboo self-assigned this Jun 3, 2019
bamboo added 3 commits June 3, 2019 14:32
- Remove unused parameters
- Remove unused properties
- Rework method for clarity
- Remove redundant visibility modifiers
@bamboo bamboo merged commit 04cae2a into master Jun 3, 2019
@bamboo bamboo deleted the bamboo/ie/perf-regression branch July 2, 2019 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:configuration-cache Configuration Caching

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant