Ejemplo n.º 1
0
func BenchmarkAtomicUpdate(b *testing.B) {
	sm := New()
	test.BAtomicUpdate(b, sm)
}
Ejemplo n.º 2
0
func BenchmarkUnsafeAtomicUpdate(b *testing.B) {
	sm := newUnsafeTest()
	test.BAtomicUpdate(b, sm)
}