Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,073 for measure (1.34 sec)

  1. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

                spoolDir().deleteDir()
            }
    
            @Override
            void afterBuild(BuildContext context, Throwable t) {
                def spoolDir = this.spoolDir()
                if (context.phase == Phase.MEASURE && (context.iteration == invocationSettings.buildCount) && spoolDir.exists()) {
                    def targetDirectory = new File("build/scan-dumps/$testId")
                    targetDirectory.deleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

      host->Await(results);
    
      for (auto& result : results) {
        EXPECT_FALSE(result->IsError());
      }
    }
    
    // Runs a BEF function that batches a function that does nothing just to measure
    // the runtime overhead. The BEF function signature is adapted from a real model
    // and is useful for benchmarking ops with large attributes and many
    // input/output.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.performance.measure;
    
    import javax.annotation.Nullable;
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    import java.text.DecimalFormat;
    import java.text.DecimalFormatSymbols;
    import java.util.List;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. test/maplinear.go

    // tries is the initial number of iterations.
    func checkLinear(typ string, tries int, f func(n int)) {
    	// Depending on the machine and OS, this test might be too fast
    	// to measure with accurate enough granularity. On failure,
    	// make it run longer, hoping that the timing granularity
    	// is eventually sufficient.
    
    	timeF := func(n int) time.Duration {
    		t1 := time.Now()
    		f(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.performance.measure;
    
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    public abstract class Units<Q> implements Comparable<Units<Q>> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. pkg/quota/v1/evaluator/core/persistent_volume_claims.go

    			if strings.HasSuffix(string(item), byStorageClass) {
    				result = append(result, item)
    				break
    			}
    		}
    	}
    	return result
    }
    
    // Usage knows how to measure usage associated with item.
    func (p *pvcEvaluator) Usage(item runtime.Object) (corev1.ResourceList, error) {
    	result := corev1.ResourceList{}
    	pvc, err := toExternalPersistentVolumeClaimOrError(item)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 9.2K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/metrics/metrics.go

    	attachDetachController        = "attach_detach_controller"
    )
    
    var (
    	inUseVolumeMetricDesc = metrics.NewDesc(
    		metrics.BuildFQName("", "storage_count", "attachable_volumes_in_use"),
    		"Measure number of volumes in use",
    		[]string{"node", "volume_plugin"}, nil,
    		metrics.ALPHA, "")
    
    	totalVolumesMetricDesc = metrics.NewDesc(
    		metrics.BuildFQName("", "attachdetach_controller", "total_volumes"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 10 06:30:05 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. src/net/netip/slow_test.go

    var zeros = []string{"0", "0", "0", "0", "0", "0", "0", "0"}
    
    // parseIPSlow is like ParseIP, but aims for readability above
    // speed. It's the reference implementation for correctness checking
    // and against which we measure optimized parsers.
    //
    // parseIPSlow understands the following forms of IP addresses:
    //   - Regular IPv4: 1.2.3.4
    //   - IPv4 with many leading zeros: 0000001.0000002.0000003.0000004
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/base/timings.go

    type timestamp struct {
    	time  time.Time
    	label string
    	start bool
    }
    
    type event struct {
    	size int64  // count or amount of data processed (allocations, data size, lines, funcs, ...)
    	unit string // unit of size measure (count, MB, lines, funcs, ...)
    }
    
    func (t *Timings) append(labels []string, start bool) {
    	t.list = append(t.list, timestamp{time.Now(), strings.Join(labels, ":"), start})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/internal/coverage/decodemeta/decodefile.go

    	if r.hdr.Version > coverage.MetaFileVersion {
    		return fmt.Errorf("meta-data file withn unknown version %d (expected %d)", r.hdr.Version, coverage.MetaFileVersion)
    	}
    
    	// Read package offsets for good measure
    	r.pkgOffsets = make([]uint64, r.hdr.Entries)
    	for i := uint64(0); i < r.hdr.Entries; i++ {
    		if r.pkgOffsets[i], err = r.rdUint64(); err != nil {
    			return err
    		}
    		if r.pkgOffsets[i] > r.hdr.TotalLength {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 14 22:30:23 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top