[PR #13263] [MERGED] cmd/bench: support writing benchmark output to file #45385

Closed
opened 2026-04-25 01:06:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13263
Author: @Eloitor
Created: 11/28/2025
Status: Merged
Merged: 12/4/2025
Merged by: @pdevine

Base: mainHead: bench_to_file


📝 Commits (3)

  • b8f647c cmd/bench: support writing benchmark output to file
  • b1c5e17 tidy up bench
  • 1851abf gofumpt the file

📊 Changes

1 file changed (+15 additions, -3 deletions)

View changed files

📝 cmd/bench/bench.go (+15 -3)

📄 Description

This changes Ollama to allow the bench command to write benchmark results to a user-specified output file instead of stdout when the --output flag is provided.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13263 **Author:** [@Eloitor](https://github.com/Eloitor) **Created:** 11/28/2025 **Status:** ✅ Merged **Merged:** 12/4/2025 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `bench_to_file` --- ### 📝 Commits (3) - [`b8f647c`](https://github.com/ollama/ollama/commit/b8f647c2f5779ce51362afe9827340a9e9cbbd5b) cmd/bench: support writing benchmark output to file - [`b1c5e17`](https://github.com/ollama/ollama/commit/b1c5e17a56e2524a8096bef4bc2a1f15e06e6bae) tidy up bench - [`1851abf`](https://github.com/ollama/ollama/commit/1851abf23decc876ba53f9b5b1c480fa68baddef) gofumpt the file ### 📊 Changes **1 file changed** (+15 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `cmd/bench/bench.go` (+15 -3) </details> ### 📄 Description This changes Ollama to allow the bench command to write benchmark results to a user-specified output file instead of stdout when the --output flag is provided. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 01:06:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#45385