Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
41
func
TestFastTime_Hour(t *testing.T) {
42
var
now = fasttime.Now()
43
t.Log(now.Hour())
44
}
45
46
func
BenchmarkNewFastTime(b *testing.B) {
47
b.RunParallel(
func
(pb *testing.PB) {
Callers
nothing calls this directly
Calls
3
Now
Function · 0.92
Log
Method · 0.80
Hour
Method · 0.80
Tested by
no test coverage detected