Skip to content

Improve GetProviders Performance by around 2x #39

@kevina

Description

@kevina

By doing a series of small improvements I was able to improve the query time in TestLargeProvidersSet by around 2x.

Improvement Time (single CPU) Speedup (from Initial)
Initial time 7290 ms 1x
Avoid go channels #38 6249 ms 1.2 x
Avoid redundant key check #38 3791 ms 1.92 x
Fast Base32 conversion (already in master) 3719 ms 1.96 x
Avoid unnecessary copy of databases Value ipfs/go-datastore#59 3430 ms 2.13 x

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