feat(bench): add load test flags, bench matrix and plot scripts

This commit is contained in:
kk10
2026-10-20 13:18:07 +03:00
parent 3f639bd7e6
commit 9cfe15ef1a
5 changed files with 234 additions and 2 deletions
+4
View File
@@ -45,6 +45,10 @@ func TestLoadWithAction(t *testing.T) {
t.Skip("-action is not set")
}
if *actionAt+10*time.Second > *duration {
t.Fatalf("-duration (%s) must exceed -action-at (%s) by at least 10s", *duration, *actionAt)
}
user1 := createUser(t)
user2 := createUser(t)
chat := createChat(t, user1, user1.ID, user2.ID)