Chore: add benchmark r/w

This commit is contained in:
Dreamacro
2022-05-23 12:27:34 +08:00
parent 9a31ad6151
commit afb3e00067
4 changed files with 29 additions and 11 deletions

View File

@ -151,7 +151,7 @@ func Benchmark_Snell(b *testing.B) {
Binds: []string{fmt.Sprintf("%s:/config.conf", C.Path.Resolve("snell-http.conf"))},
}
id, err := startContainer(cfg, hostCfg, "snell-http")
id, err := startContainer(cfg, hostCfg, "snell-bench")
require.NoError(b, err)
b.Cleanup(func() {