MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestFastTime_Hour

Function TestFastTime_Hour

internal/utils/fasttime/time_fast_test.go:41–44  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

39}
40
41func TestFastTime_Hour(t *testing.T) {
42 var now = fasttime.Now()
43 t.Log(now.Hour())
44}
45
46func BenchmarkNewFastTime(b *testing.B) {
47 b.RunParallel(func(pb *testing.PB) {

Callers

nothing calls this directly

Calls 3

NowFunction · 0.92
LogMethod · 0.80
HourMethod · 0.80

Tested by

no test coverage detected