Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for measureText (0.24 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

        let width = avail;
        textContext.font = FONT_SIZE + 'pt Arial';
        for (let i = 0; i < textList.length; i++) {
          let text = textList[i];
          width = textContext.measureText(text).width;
          if (width <= avail) {
            t.innerText = text;
            return;
          }
        }
    
        // Try to fit by dropping font size.
        let text = textList[textList.length-1];
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		return float64(value), toUnit
    	}
    }
    
    // Label returns the label used to describe a certain measurement.
    func Label(value int64, unit string) string {
    	return ScaledLabel(value, unit, "auto")
    }
    
    // ScaledLabel scales the passed-in measurement (if necessary) and
    // returns the label used to describe a float measurement.
    func ScaledLabel(value int64, fromUnit, toUnit string) string {
    	v, u := Scale(value, fromUnit, toUnit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/MeasuredOperationList.groovy

        }
    
        String getSpeedStats() {
            format(totalTime)
        }
    
        private String format(DataSeries<?> measurement) {
            """  ${name} median: ${measurement.median.format()} min: ${measurement.min.format()}, max: ${measurement.max.format()}, se: ${measurement.standardError.format()}}
      > ${measurement.collect { it.format() }}
    """
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/jmh/java/org/gradle/internal/deprecation/DeprecationIdCreationBenchmark.java

     * limitations under the License.
     */
    
    package org.gradle.internal.deprecation;
    
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Threads;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.infra.Blackhole;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 06:13:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		}
    
    		f, u := measurement.Scale(total, o.SampleUnit, o.OutputUnit)
    		fmt.Fprintf(tabw, "%s:\t Total %.1f%s\n", key, f, u)
    		for _, t := range graph.SortTags(tags, true) {
    			f, u := measurement.Scale(t.FlatValue(), o.SampleUnit, o.OutputUnit)
    			if total > 0 {
    				fmt.Fprintf(tabw, " \t%.1f%s (%s):\t %s\n", f, u, measurement.Percentage(t.FlatValue(), total), t.Name)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    // limitations under the License.
    
    package driver
    
    import (
    	"encoding/json"
    	"html/template"
    	"net/http"
    
    	"github.com/google/pprof/internal/measurement"
    	"github.com/google/pprof/internal/report"
    )
    
    // stackView generates the flamegraph view.
    func (ui *webInterface) stackView(w http.ResponseWriter, req *http.Request) {
    	// Get all data in a report.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/BuildExperimentRunner.java

    public interface BuildExperimentRunner {
    
        void run(String testId, BuildExperimentSpec experiment, MeasuredOperationList results);
    
        enum Phase {
            WARMUP,
            MEASUREMENT
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 916 bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java

    import org.gradle.internal.nativeintegration.filesystem.services.NativePlatformBackedFileMetadataAccessor;
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Param;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.TearDown;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java

    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.Level;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.TearDown;
    import org.openjdk.jmh.annotations.Warmup;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    // limitations under the License.
    
    package report
    
    import (
    	"crypto/sha256"
    	"encoding/binary"
    	"fmt"
    
    	"github.com/google/pprof/internal/measurement"
    	"github.com/google/pprof/profile"
    )
    
    // StackSet holds a set of stacks corresponding to a profile.
    //
    // Slices in StackSet and the types it contains are always non-nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top