Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkFormatRFC3339 (0.21 sec)

  1. src/time/time_test.go

    		u = Now().UnixMicro()
    	}
    }
    
    func BenchmarkFormat(b *testing.B) {
    	t := Unix(1265346057, 0)
    	for i := 0; i < b.N; i++ {
    		t.Format("Mon Jan  2 15:04:05 2006")
    	}
    }
    
    func BenchmarkFormatRFC3339(b *testing.B) {
    	t := Unix(1265346057, 0)
    	for i := 0; i < b.N; i++ {
    		t.Format("2006-01-02T15:04:05Z07:00")
    	}
    }
    
    func BenchmarkFormatRFC3339Nano(b *testing.B) {
    	t := Unix(1265346057, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top