Skip to content

Create a tool to create a fake driver index for testing who dbc scales #34

Closed

Description

@amoeba

We currently test dbc against the production driver index and can manually override it to test against the staging driver index. We also can override individual components of dbc using baseModel. This works but it would be good to be able to test more flexibly.

For example, how do we know dbc is fast and will scale well as we add more packages? dbc should be able to support a driver index with 100 packages, each with 100 versions. Probably more.

I think we could create a really basic script that creates a test driver index with fake packages. If we wanted to write tests that tests against this, we could make it deterministic but we could also use the script to do some basic fuzz testing.

Activity

  1. self-assigned this
    on Sep 15, 2025
  2. amoeba commented on Sep 15, 2025

    @amoeba
    MemberAuthor

    Some initial testing shows that dbc takes almost 5 minutes on my system to execute dbc search against a local driver index with 100 packages and 100 versions. As a start, we could use such a tool to find out where dbc starts getting sluggish and think about how we might redesign the index if a single YAML file won't scale well. When I test with 100 drivers and 10 versions for each dbc search takes 2 sec on my machine.

  3. added a commit that references this issue on Apr 17, 2026
    c287007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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