예제 #1
0
func BenchmarkAtomicUpdate(b *testing.B) {
	sm := New()
	test.BAtomicUpdate(b, sm)
}
예제 #2
0
func BenchmarkUnsafeAtomicUpdate(b *testing.B) {
	sm := newUnsafeTest()
	test.BAtomicUpdate(b, sm)
}