This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Cache runtime code #799
Labels
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
Milestone
Currently code is hashed with blake2 on every call to runtime, which happens multiple times for each block import/production. Profiling shows it takes a bulk of execution time. Code and version should be cached and cache should be persistent across block states and only updated when code change event is detected.
The text was updated successfully, but these errors were encountered: