Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/livekit/livekit
/ BenchmarkExtPacketFactory
Function
BenchmarkExtPacketFactory
pkg/sfu/buffer/buffer_test.go:472–479 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
470
}
471
472
func
BenchmarkExtPacketFactory(b *testing.B) {
473
474
for
b.Loop() {
475
extPkt := ExtPacketFactory.Get().(*ExtPacket)
476
*extPkt = ExtPacket{}
477
ExtPacketFactory.Put(extPkt)
478
}
479
}
Callers
nothing calls this directly
Calls
2
Put
Method · 0.80
Get
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…