- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for cpuprofile (0.14 sec)
-
src/cmd/go/testdata/script/test_fuzz_profile_flags.txt
stderr '^cannot use -coverprofile flag with -fuzz flag$' ! go test -fuzz=FuzzTrivial -blockprofile=prof ! stdout . stderr '^cannot use -blockprofile flag with -fuzz flag$' ! go test -fuzz=FuzzTrivial -cpuprofile=prof ! stdout . stderr '^cannot use -cpuprofile flag with -fuzz flag$' ! go test -fuzz=FuzzTrivial -memprofile=prof ! stdout . stderr '^cannot use -memprofile flag with -fuzz flag$' ! go test -fuzz=FuzzTrivial -mutexprofile=prof
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 02 18:01:20 UTC 2021 - 855 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_profile.txt
[compiler:gccgo] skip 'gccgo has no standard packages' [short] skip # Check go test -cpuprofile creates errors.test go test -cpuprofile errors.prof errors exists -exec errors.test$GOEXE # Check go test -cpuprofile -o myerrors.test creates errors.test go test -cpuprofile errors.prof -o myerrors.test$GOEXE errors exists -exec myerrors.test$GOEXE # Check go test -mutexprofile creates errors.test go test -mutexprofile errors.prof errors
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 637 bytes - Viewed (0) -
src/runtime/cpuprof.go
// or the handlers in the [net/http/pprof] package, // or the [testing] package's -test.cpuprofile flag instead. func CPUProfile() []byte { panic("CPUProfile no longer available") } // runtime/pprof.runtime_cyclesPerSecond should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0) -
src/go/doc/testdata/testing.go
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: Sun Oct 02 02:28:27 UTC 2022 - 11.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/inline/inline_hot_test.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 "testing" func BenchmarkA(b *testing.B) { benchmarkB(b) } func benchmarkB(b *testing.B) { for i := 0; true; { A() i = i + 1 if i >= b.N {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 21:20:22 UTC 2022 - 843 bytes - Viewed (0) -
src/cmd/go/internal/test/flagdefs.go
"benchtime": true, "blockprofile": true, "blockprofilerate": true, "count": true, "coverprofile": true, "cpu": true, "cpuprofile": true, "failfast": true, "fullpath": true, "fuzz": true, "fuzzminimizetime": true, "fuzztime": true, "list": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 2.2K bytes - Viewed (0) -
src/cmd/compile/profile.sh
# the profile at cmd/compile/default.pgo. dir=$(mktemp -d) cd $dir seed=$(date) for p in $(go list std cmd); do h=$(echo $seed $p | md5sum | cut -d ' ' -f 1) echo $p $h go build -o /dev/null -gcflags=-cpuprofile=$PWD/prof.$h $p done go tool pprof -proto prof.* > $(go env GOROOT)/src/cmd/compile/default.pgo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 17:31:10 UTC 2023 - 588 bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
flagPruneWeakMap = flag.Bool("pruneweakmap", true, "prune weak mapinit refs") flagRandLayout = flag.Int64("randlayout", 0, "randomize function layout") cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`") memprofile = flag.String("memprofile", "", "write memory profile to `file`") memprofilerate = flag.Int64("memprofilerate", 0, "set runtime.MemProfileRate to `rate`")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
doDiff = flag.Bool("d", false, "display diffs instead of rewriting files") allErrors = flag.Bool("e", false, "report all errors (not just the first 10 on different lines)") // debugging cpuprofile = flag.String("cpuprofile", "", "write cpu profile to this file") ) // Keep these in sync with go/format/format.go. const ( tabWidth = 8 printerMode = printer.UseSpaces | printer.TabIndent | printerNormalizeNumbers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
pkg/test/profile/fgprof.go
package profile import ( "flag" "os" "github.com/felixge/fgprof" "istio.io/istio/pkg/test" ) var fprof string // init initializes additional profiling flags // Go comes with some, like -cpuprofile and -memprofile by default, so those are elided. func init() { flag.StringVar(&fprof, "fullprofile", "", "enable full profile. Path will be relative to test directory") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 21 21:50:09 UTC 2022 - 1.5K bytes - Viewed (0)