Skip to content

Performance improvements #1294

@bvbfan

Description

@bvbfan

Currently Omni node uses strings to store records in databases, it uses twice more bytes compared to raw/binary data. The biggest problem is string parsing/splitting which result in slower performance.

Screenshot_20230412_192305

callgrind.out.txt

Records in db should be updated to use prefixes and serialized/binary data instead of strings. Currently Omni node stores records in Bitcoin internal dbs which should be moved to specific Omni dbs. It will helpful to #1293

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions