Skip to main content
Version: 2.7.x

https://github.com/gogf/gf/v2/blob/master/container/glist/glist_z_bench_test.go

goos: linux
goarch: amd64
pkg: github.com/gogf/gf/v2/container/glist
Benchmark_PushBack-4 5000000 268 ns/op 56 B/op 2 allocs/op
Benchmark_PushFront-4 10000000 435 ns/op 56 B/op 2 allocs/op
Benchmark_Len-4 30000000 44.5 ns/op 0 B/op 0 allocs/op
Benchmark_PopFront-4 20000000 71.1 ns/op 0 B/op 0 allocs/op
Benchmark_PopBack-4 30000000 70.1 ns/op 0 B/op 0 allocs/op
PASS