Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/flant/shell-operator
/ Get
Method
Get
pkg/task/queue/task_queue_benchmark_test.go:87–87 ·
view source on GitHub ↗
(id string)
Source
from the content-addressed store, hash-verified
85
GetFirst() task.Task
86
RemoveFirst() task.Task
87
Get(id string) task.Task
88
}
89
90
func
benchmarkAddLast(b *testing.B, queue Queue, size int) {
Callers
15
CalculateChecksum
Function · 0.65
CalculateChecksumOfBytes
Function · 0.65
getCompactionGroup
Method · 0.65
getContextSlice
Method · 0.65
getMonitorIDSlice
Method · 0.65
getHookGroupsMap
Method · 0.65
GetStatus
Method · 0.65
AddLast
Method · 0.65
Get
Method · 0.65
TestTaskStorage_BasicOperations
Function · 0.65
TestTaskStorage_RaceConditionDetection
Function · 0.65
benchmarkGetByID
Function · 0.65
Implementers
2
TaskQueue
pkg/task/queue/task_queue.go
TaskStorage
pkg/task/queue/task_storage.go
Calls
no outgoing calls
Tested by
7
TestTaskStorage_BasicOperations
Function · 0.52
TestTaskStorage_RaceConditionDetection
Function · 0.52
benchmarkGetByID
Function · 0.52
Test_HookManager_conversion_chains
Function · 0.52
Test_HookManager_conversion_chains_full
Function · 0.52
fetchObject
Function · 0.52
existObject
Function · 0.52