示例#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)
}