perf: Make -t following_perf respect the usual db path rules.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 33m33s

This commit is contained in:
2025-05-12 12:41:13 -04:00
parent 35941a7ddc
commit ef58749ce3
3 changed files with 14 additions and 2 deletions

View File

@ -1613,7 +1613,9 @@ void tf_ssb_test_following_perf(const tf_test_options_t* options)
uv_loop_t loop = { 0 };
uv_loop_init(&loop);
tf_ssb_t* ssb = tf_ssb_create(&loop, NULL, "db.sqlite", NULL);
tf_printf("Testing following_perf.\n");
tf_printf("Using %s.\n", options->db_path);
tf_ssb_t* ssb = tf_ssb_create(&loop, NULL, options->db_path, NULL);
uint64_t start = uv_hrtime();
const char** ids = tf_ssb_db_get_all_visible_identities(ssb, 2);