Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 451 for profiler (1 sec)

  1. cmd/utils.go

    		}
    	default:
    		return nil, errors.New("profiler type unknown")
    	}
    
    	return prof, nil
    }
    
    // minioProfiler - minio profiler interface.
    type minioProfiler interface {
    	// Return recorded profiles, each profile associated with a distinct generic name.
    	Records() map[string][]byte
    	// Stop the profiler
    	Stop() ([]byte, error)
    	// Return extension of profile
    	Extension() string
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  2. docs/works_with_okhttp.md

     * [okhttp-client-mock](https://github.com/gmazzo/okhttp-client-mock): A simple OKHttp client mock, using a programmable request interceptor.
     * [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls.
     * [OkReplay](https://github.com/airbnb/okreplay): Record and replay OkHttp network interaction in your tests.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	}
    
    	// Stop profiler of all types if already running
    	for k, v := range globalProfiler {
    		v.Stop()
    		delete(globalProfiler, k)
    	}
    
    	// Start profiling on remote servers.
    	for _, profiler := range profiles {
    		// Limit start time to max 10s.
    		ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    		globalNotificationSys.StartProfiling(ctx, profiler)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  4. cmd/signals.go

    	case <-finished:
    	}
    }
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/bin/mvnyjp

    # specific language governing permissions and limitations
    # under the License.
    
    # -----------------------------------------------------------------------------
    # Apache Maven YourKit Profiler Startup Script
    #
    # Environment Variable Prerequisites
    #
    #   JAVA_HOME       Must point at your Java Development Kit installation.
    #   MAVEN_OPTS      (Optional) Java runtime options used when Maven is executed.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. cmd/peer-rest-common.go

    	peerRESTUserOrGroup     = "user-or-group"
    	peerRESTUserType        = "user-type"
    	peerRESTIsGroup         = "is-group"
    	peerRESTSignal          = "signal"
    	peerRESTSubSys          = "sub-sys"
    	peerRESTProfiler        = "profiler"
    	peerRESTSize            = "size"
    	peerRESTConcurrent      = "concurrent"
    	peerRESTDuration        = "duration"
    	peerRESTStorageClass    = "storage-class"
    	peerRESTEnableSha256    = "enableSha256"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/component.xml

            <include>mvnsh</include>
            <include>mvnup</include>
            <include>mvnDebug</include>
            <include>mvnencDebug</include>
            <!-- This is so that CI systems can periodically run the profiler -->
            <include>mvnyjp</include>
          </includes>
          <lineEnding>unix</lineEnding>
          <fileMode>0755</fileMode>
        </fileSet>
        <fileSet>
          <directory>src/assembly/maven/conf</directory>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. cmd/utils_test.go

    			}
    		})
    	}
    }
    
    // Add tests for starting and stopping different profilers.
    func TestStartProfiler(t *testing.T) {
    	_, err := startProfiler("")
    	if err == nil {
    		t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.")
    	}
    }
    
    // checkURL - checks if passed address correspond
    func checkURL(urlStr string) (*url.URL, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    		for _, p := range profiles {
    			if p == k {
    				v.Stop()
    				delete(globalProfiler, k)
    			}
    		}
    	}
    
    	for _, profiler := range profiles {
    		prof, err := startProfiler(profiler)
    		if err != nil {
    			s.writeErrorResponse(w, err)
    			return
    		}
    		globalProfiler[profiler] = prof
    	}
    }
    
    // DownloadProfilingDataHandler - returns profiled data.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    func (client *peerRESTClient) StartProfiling(ctx context.Context, profiler string) error {
    	values := make(url.Values)
    	values.Set(peerRESTProfiler, profiler)
    	respBody, err := client.callWithContext(ctx, peerRESTMethodStartProfiling, values, nil, -1)
    	if err != nil {
    		return err
    	}
    	defer xhttp.DrainBody(respBody)
    	return nil
    }
    
    // DownloadProfileData - download profiled data from a remote node.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top