smarty-prototypes / go-disruptor

A port of the LMAX Disruptor to the Go language.
Apache License 2.0
1.37k stars 212 forks source link

It seem the test is hangup #2

Closed xiaojiaqi closed 9 years ago

xiaojiaqi commented 9 years ago

[root@default benchmark-disruptor]# go test -v -bench=".*" testing: warning: no tests to run PASS BenchmarkSharedWriterReserveOneContendedWrite 100000000 29.1 ns/op 0 B/op 0 allocs/op BenchmarkSharedWriterReserveManyContendedWrite

[root@default benchmark-disruptor]# go version
go version go1.3.3 linux/amd64

joliver commented 9 years ago

I've been able to consistently reproduce the problem locally. I'm running go version go1.4.2 darwin/amd64. I'm currently walking through the code to identify exactly what's happening.