8000 feat: include read/write byte stats in scaletests JSON report by cstyan · Pull Request #17777 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: include read/write byte stats in scaletests JSON report #17777

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

Merged
merged 4 commits into from
Jun 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: lint error
  • Loading branch information
joobisb authored and cstyan committed Jun 2, 2025
commit 2ebd4ae1b9e735340ca3f0f462544da784537177
6 changes: 4 additions & 2 deletions scaletest/workspacetraffic/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,10 @@ func (r *Runner) Run(ctx context.Context, _ string, logs io.Writer) (err error)
}
}

func (r *Runner) GetBytesTransferred() (int64, int64) {
return r.cfg.ReadMetrics.GetTotal(), r.cfg.WriteMetrics.GetTotal()
func (r *Runner) GetBytesTransferred() (bytesRead, bytesWritten int64) {
bytesRead = r.cfg.ReadMetrics.GetTotal()
bytesWritten = r.cfg.WriteMetrics.GetTotal()
return bytesRead, bytesWritten
}

// Cleanup does nothing, successfully.
Expand Down
0