You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create a tool to create a fake driver index for testing who dbc scales #34
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.
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.
Activity
amoeba commentedon Sep 15, 2025
Some initial testing shows that dbc takes almost 5 minutes on my system to execute
dbc searchagainst 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 eachdbc searchtakes 2 sec on my machine.feat(testing): add cdn test setup with pixi (#35)