Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
chore: improve logResults()
  • Loading branch information
RodrigoVillar committed Dec 9, 2025
commit b26e8c4639a5e2ffeafe579f007572b8b8a43c75
8 changes: 3 additions & 5 deletions tests/reexecute/c/vm_reexecute.go
Original file line number Diff line number Diff line change
Expand Up @@ -632,11 +632,9 @@ func (b *benchmarkTool) saveToFile(path string) error {

// logResults logs all collected benchmark results using the provided logger.
func (b *benchmarkTool) logResults(log logging.Logger) {
for _, result := range b.results {
log.Info(b.name,
zap.String("value", result.Value),
zap.String("unit", result.Unit),
)
for _, r := range b.results {
result := fmt.Sprintf("%s %s", r.Value, r.Unit)
log.Info(b.name, zap.String("result", result))
}
}

Expand Down
Loading