<commit_before>package main

import (
	"os"

	"v.io/x/lib/cmdline"
)

func main() {
	rootCmd := cmdline.Command{
		Name:  "deviced",
		Short: "Veyron device manager setup",
		Long: `
deviced can be used to launch, configure, or manage the device manager.
`,
		Children: []*cmdline.Command{cmdInstall, cmdUninstall, cmdStart, cmdStop, cmdProfile},
		Run:      runServer,
	}
	os.Exit(rootCmd.Main())
}
<commit_msg>services/mgmt/device/deviced: programmatically raise GOMAXPROCS on devicemanager<commit_after>package main

import (
	"os"
	"runtime"

	"v.io/x/lib/cmdline"
)

func main() {
	// TODO(caprita): Remove this once we have a way to set the GOMAXPROCS
	// environment variable persistently for device manager.
	if os.Getenv("GOMAXPROCS") == "" {
		runtime.GOMAXPROCS(runtime.NumCPU())
	}

	rootCmd := cmdline.Command{
		Name:  "deviced",
		Short: "Veyron device manager setup",
		Long: `
deviced can be used to launch, configure, or manage the device manager.
`,
		Children: []*cmdline.Command{cmdInstall, cmdUninstall, cmdStart, cmdStop, cmdProfile},
		Run:      runServer,
	}
	os.Exit(rootCmd.Main())
}

{'fraction_non_alphanumeric': 0.13051305130513052, 'fraction_numerical': 0.0, 'mean_word_length': 4.270142180094787, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7374388', 'n_tokens_mistral': 406, 'n_tokens_neox': 393, 'n_words': 103}