improved mem & cpu consumption

This commit is contained in:
2024-08-22 11:54:57 +01:00
parent 938217dd64
commit 7fd9c030c0
10 changed files with 220 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ import (
)
func BenchmarkAsyncTopic_Publish(b *testing.B) {
for _, tc := range benchTestCase {
for _, tc := range publishCases {
b.Run(tc.Name, func(b *testing.B) {
ctx, cancel := context.WithCancel(context.Background())