[PR #12964] tests: basic benchmarking test framework #12751

Open
opened 2025-11-12 17:06:02 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12964
Author: @pdevine
Created: 11/5/2025
Status: 🔄 Open

Base: mainHead: pdevine/bench


📝 Commits (3)

📊 Changes

3 files changed (+846 additions, -0 deletions)

View changed files

bench/README.md (+102 -0)
bench/bench.go (+281 -0)
bench/bench_test.go (+463 -0)

📄 Description

This change adds a basic benchmarking test framework for Ollama which can be used to determine the prefill, eval, load duration, and total duration for running a given model or models.


🔄 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/12964 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 11/5/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `pdevine/bench` --- ### 📝 Commits (3) - [`25769e3`](https://github.com/ollama/ollama/commit/25769e35a019f88055fb466f67cc9200d299c758) tests: basic benchmarking test framework - [`6669ecd`](https://github.com/ollama/ollama/commit/6669ecd99a501f3738d9a121b4d2c87f2af5be36) fix tests - [`ddc4a39`](https://github.com/ollama/ollama/commit/ddc4a393867ee742f7cf434ba8a3e4ef28fb37c0) feed the linter ### 📊 Changes **3 files changed** (+846 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/README.md` (+102 -0) ➕ `bench/bench.go` (+281 -0) ➕ `bench/bench_test.go` (+463 -0) </details> ### 📄 Description This change adds a basic benchmarking test framework for Ollama which can be used to determine the prefill, eval, load duration, and total duration for running a given model or models. --- <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 2025-11-12 17:06:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#12751
No description provided.