- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for cpuprofile (0.16 sec)
-
src/cmd/compile/internal/ssa/_gen/main.go
} return buf.String() } var archs []arch var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`") var memprofile = flag.String("memprofile", "", "write memory profile to `file`") var tracefile = flag.String("trace", "", "write trace to `file`") func main() { flag.Parse() if *cpuprofile != "" { f, err := os.Create(*cpuprofile) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 22:42:34 UTC 2023 - 16.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/inline/inline_hot.go
// WARNING: Please avoid updating this file. If this file needs to be updated, // then a new inline_hot.pprof file should be generated: // // $ cd $GOROOT/src/cmd/compile/internal/test/testdata/pgo/inline/ // $ go test -bench=. -cpuprofile ./inline_hot.pprof package main import ( "time" ) type BS struct { length uint s []uint64 } const wSize = uint(64) const lWSize = uint(6) func D(i uint) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 21:20:22 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt_test.go
// then a new devirt.pprof file should be generated: // // $ cd $GOROOT/src/cmd/compile/internal/test/testdata/pgo/devirtualize/ // $ go mod init example.com/pgo/devirtualize // $ go test -bench=. -cpuprofile ./devirt.pprof package devirt import ( "testing" "example.com/pgo/devirtualize/mult.pkg" ) func BenchmarkDevirtIface(b *testing.B) { var ( a1 Add a2 Sub m1 mult.Mult
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 13 18:17:47 UTC 2023 - 1.9K bytes - Viewed (0) -
src/go/doc/testdata/testing.1.golden
memProfile = flag.String("test.memprofile", "", "write a memory profile to the named file after execution") memProfileRate = flag.Int("test.memprofilerate", 0, "if >=0, sets runtime.MemProfileRate") cpuProfile = flag.String("test.cpuprofile", "", "write a cpu profile to the named file during execution") timeout = flag.Duration("test.timeout", 0, "if positive, sets an aggregate time limit for all tests")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8.4K bytes - Viewed (0) -
src/cmd/gofmt/doc.go
If a file's formatting is different from gofmt's, overwrite it with gofmt's version. If an error occurred during overwriting, the original file is restored from an automatic backup. Debugging support: -cpuprofile filename Write cpu profile to the specified file. The rewrite rule specified with the -r flag must be a string of the form: pattern -> replacement Both pattern and replacement must be valid Go expressions.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3.2K bytes - Viewed (0) -
src/cmd/covdata/covdata.go
var indirsflag = flag.String("i", "", "Input dirs to examine (comma separated)") var pkgpatflag = flag.String("pkg", "", "Restrict output to package(s) matching specified package pattern.") var cpuprofileflag = flag.String("cpuprofile", "", "Write CPU profile to specified file") var memprofileflag = flag.String("memprofile", "", "Write memory profile to specified file") var memprofilerateflag = flag.Int("memprofilerate", 0, "Set memprofile sampling rate to value")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/link/doc.go
-buildid id Record id as Go toolchain build id. -buildmode mode Set build mode (default exe). -c Dump call graphs. -compressdwarf Compress DWARF if possible (default true). -cpuprofile file Write CPU profile to file. -d Disable generation of dynamic executables. The emitted code is the same in either case; the option controls only whether a dynamic header is included.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:11:52 UTC 2024 - 4K bytes - Viewed (0) -
src/runtime/pprof/pprof.go
// memory profiles to cpu.prof and mem.prof: // // go test -cpuprofile cpu.prof -memprofile mem.prof -bench . // // To add equivalent profiling support to a standalone program, add // code like the following to your main function: // // var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`") // var memprofile = flag.String("memprofile", "", "write memory profile to `file`")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go
// then a new devirt.pprof file should be generated: // // $ cd $GOROOT/src/cmd/compile/internal/test/testdata/pgo/devirtualize/ // $ go mod init example.com/pgo/devirtualize // $ go test -bench=. -cpuprofile ./devirt.pprof package devirt // Devirtualization of callees from transitive dependencies should work even if // they aren't directly referenced in the package. See #61577. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 13 18:17:57 UTC 2023 - 6.2K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
cf.String("benchtime", "", "") cf.StringVar(&testBlockProfile, "blockprofile", "", "") cf.String("blockprofilerate", "", "") cf.Int("count", 0, "") cf.String("cpu", "", "") cf.StringVar(&testCPUProfile, "cpuprofile", "", "") cf.BoolVar(&testFailFast, "failfast", false, "") cf.StringVar(&testFuzz, "fuzz", "", "") cf.Bool("fullpath", false, "") cf.StringVar(&testList, "list", "", "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0)