-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
performance is so low #8
Comments
The best throughput for doing single IO operations ( |
I think your comparison is unfair:
data:=make([]byte,*size)
for {
_,err=r.Write(data)
if err!=nil {
log.Fatalf("write error %v",err)
}
atomic.AddUint64(&cnt,1)
}
for {
if err!=nil {
log.Fatalf("write error %v",err)
}
atomic.AddUint64(&cnt,1)
} Am I missing something? |
|
The text was updated successfully, but these errors were encountered: