2023-08-23 15:18:10 +09:00

26 lines
442 B
Go

package main
import (
"fmt"
"os"
"github.com/c4ei/YunSeokYeol/stability-tests/common"
"github.com/c4ei/YunSeokYeol/util/profiling"
)
func main() {
err := parseConfig()
if err != nil {
fmt.Fprintf(os.Stderr, "Error parsing config: %+v", err)
os.Exit(1)
}
defer backendLog.Close()
common.UseLogger(backendLog, log.Level())
cfg := activeConfig()
if cfg.Profile != "" {
profiling.Start(cfg.Profile, log)
}
testReorg(cfg)
}