Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 903 for prof (0.37 sec)

  1. okhttp-android/src/main/baseline-prof.txt

    Yuri Schimke <******@****.***> 1647861720 +0000
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_pgo.txt

    go build -x -pgo=prof -o triv.exe triv.go
    ! stderr 'compile.*triv.go'
    
    # check that the build ID is the same
    go list -export -json=BuildID -pgo=prof triv.go
    cmp stdout list.out
    
    # overwrite the prof
    go run overwrite.go
    
    # build again, profile content changed, should trigger rebuild, including std
    go build -n -pgo=prof triv.go
    stderr 'preprofile.*-i.*prof'
    stderr 'compile.*-pgoprofile=.*triv.go'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_test_localpkg_filepath.txt

    [short] skip
    
    # collect coverage profile in text format
    go test -coverprofile=blah.prof prog.go prog_test.go
    
    # should not contain cmd-line pseudo-import-path
    grep prog.go blah.prof
    grep $PWD blah.prof
    ! grep command-line-arguments blah.prof
    
    -- prog.go --
    package main
    
    func Mumble(x int) int {
    	if x < 0 {
    		return -x
    	}
    	return 42
    }
    
    func Grumble(y int) int {
    	return -y
    }
    
    func main() {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 14:11:54 UTC 2022
    - 571 bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    func ProfileLabels(rpt *Report) []string {
    	label := []string{}
    	prof := rpt.prof
    	o := rpt.options
    	if len(prof.Mapping) > 0 {
    		if prof.Mapping[0].File != "" {
    			label = append(label, "File: "+filepath.Base(prof.Mapping[0].File))
    		}
    		if prof.Mapping[0].BuildID != "" {
    			label = append(label, "Build ID: "+prof.Mapping[0].BuildID)
    		}
    	}
    	// Only include comments that do not start with '#'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_profile_flags.txt

    [!fuzz] skip
    
    ! go test -fuzz=FuzzTrivial -coverprofile=prof
    ! stdout .
    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 .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 18:01:20 UTC 2021
    - 855 bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/gprof.go

    	"fmt"
    	"io"
    	"runtime"
    	"runtime/pprof"
    	"time"
    	"unsafe"
    )
    
    func init() {
    	register("GoroutineProfile", GoroutineProfile)
    }
    
    func GoroutineProfile() {
    	runtime.SetCgoTraceback(0, unsafe.Pointer(C.gprofCgoTraceback), unsafe.Pointer(C.gprofCgoContext), nil)
    
    	go C.CallGoSleep()
    	go C.CallGoSleep()
    	go C.CallGoSleep()
    	time.Sleep(1 * time.Second)
    
    	prof := pprof.Lookup("goroutine")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 11 15:34:02 UTC 2021
    - 868 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_profile.txt

    [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
    exists -exec errors.test$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 637 bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/pprof.go

    // Serving of pprof-like profiles.
    
    package traceviewer
    
    import (
    	"bufio"
    	"fmt"
    	"internal/profile"
    	"internal/trace"
    	"net/http"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"time"
    )
    
    type ProfileFunc func(r *http.Request) ([]ProfileRecord, error)
    
    // SVGProfileHandlerFunc serves pprof-like profile generated by prof as svg.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. test/finprofiled.go

    		time.Sleep(10 * time.Millisecond)
    	}
    	// Read memory profile.
    	var prof []runtime.MemProfileRecord
    	for {
    		if n, ok := runtime.MemProfile(prof, false); ok {
    			prof = prof[:n]
    			break
    		} else {
    			prof = make([]runtime.MemProfileRecord, n+10)
    		}
    	}
    	// See how much memory in tiny objects is profiled.
    	var totalBytes int64
    	for _, p := range prof {
    		bytes := p.AllocBytes - p.FreeBytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 05:48:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/runtime/pprof/proto_test.go

    				t.Fatalf("failed to run the test program %q: %v\n%v", prog, err, cmd.Stderr)
    			}
    
    			prof, err := profile.Parse(bytes.NewReader(out))
    			if err != nil {
    				t.Fatalf("failed to parse the generated profile data: %v", err)
    			}
    			t.Logf("Profile: %s", prof)
    
    			hit := make(map[*profile.Mapping]bool)
    			miss := make(map[*profile.Mapping]bool)
    			for _, loc := range prof.Location {
    				if symbolized(loc) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top