19 lines
279 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", "-cpu=1", "-benchmem", "./internal/lib/handshake/...")
2025-03-09 16:14:19 -04:00
output, err := cmd.Output()
if err != nil {
panic(err)
}
fmt.Fprint(os.Stdout, string(output))
}