Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BenchmarkIndexTorture (0.55 sec)

  1. src/cmd/internal/test2json/testdata/framebig.json

    {"Action":"run","Test":"BenchmarkIndexTorture"}
    {"Action":"output","Test":"BenchmarkIndexTorture","Output":"=== RUN   BenchmarkIndexTorture\n"}
    {"Action":"output","Test":"BenchmarkIndexTorture","Output":"BenchmarkIndexTorture\n"}
    {"Action":"output","Test":"BenchmarkIndexTorture","Output":"BenchmarkIndexTorture-16           \t   98090\t     10201 ns/op\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    var benchInputTorture = Repeat("ABC", 1<<10) + "123" + Repeat("ABC", 1<<10)
    var benchNeedleTorture = Repeat("ABC", 1<<10+1)
    
    func BenchmarkIndexTorture(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		Index(benchInputTorture, benchNeedleTorture)
    	}
    }
    
    func BenchmarkCountTorture(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top