Skip to content

Conversation

@raj-prince
Copy link
Owner

No description provided.


startByte := int64(i * (*fBlockSize * OneKB))

_, err = rand.Read(b)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move the byte generation code on the top? - As generation of random bytes is a cpu intensive operation.

err = fmt.Errorf("while closing the fileHandle: %w", err)
return
}
time.Sleep(1 * time.Minute)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: We can remove this. I have added it to separate the metrics of two consecutive execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants