dsfx/tool/bench/main.go

19 lines
247 B
Go
Raw Normal View History

2025-03-09 16:14:19 -04:00
package main
import (
"fmt"
"os"
"os/exec"
)
func main() {
cmd := exec.Command("go", "test", "-bench=Handshake", "./pkg/handshake/...")
output, err := cmd.Output()
if err != nil {
panic(err)
}
fmt.Fprint(os.Stdout, string(output))
}