mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 18:16:21 +00:00
29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/* test_database_stress.h — stress tests for database I/O, MUC, large messages,
|
|
* export/import roundtrip under load, and index/cache correctness. */
|
|
|
|
/* High-throughput write + parse */
|
|
void test_stress_rapid_write_parse_1000(void** state);
|
|
void test_stress_rapid_write_parse_10000(void** state);
|
|
|
|
/* MUC (chat room) messages */
|
|
void test_stress_muc_many_participants(void** state);
|
|
void test_stress_muc_rapid_messages(void** state);
|
|
|
|
/* Large messages */
|
|
void test_stress_large_message_1mb(void** state);
|
|
void test_stress_large_message_body_with_special_chars(void** state);
|
|
void test_stress_many_large_messages_100(void** state);
|
|
|
|
/* Index and ID cache correctness under load */
|
|
void test_stress_index_build_10000_lines(void** state);
|
|
void test_stress_index_extend_append(void** state);
|
|
void test_stress_id_cache_dedup_correctness(void** state);
|
|
|
|
/* Export / import roundtrip under load */
|
|
void test_stress_export_merge_dedup_1000(void** state);
|
|
void test_stress_mixed_types_and_encodings(void** state);
|
|
|
|
/* LMC correction chains under load */
|
|
void test_stress_lmc_chain_deep(void** state);
|
|
void test_stress_lmc_many_corrections(void** state);
|