Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Cache runtime code #799

@arkpar

Description

@arkpar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I9-optimisationAn enhancement to provide better overall performance in terms of time-to-completion for a task.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions