Skip to content

Add support for google-benchmark #1237

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lunochod
Copy link

This PR aims to add initial support for Google Benchmark to GGML, which could lead to building a suite of benchmarks complementing the unit tests. This will allow contributors to work on GGML's performance and the various backends and maintainers to test for changes in performance over time.

I would also like to use the PR to discuss keeping external GGML dependencies small while including standard tools for benchmarking, testing, and logging.

- use git to checkout google-benchmark
- add benchmark-mul-mat.cpp to benchmark matrix-matrix multiplication for three backends
@lunochod lunochod marked this pull request as ready for review May 29, 2025 03:59
@lunochod
Copy link
Author

lunochod commented Jun 7, 2025

@ggerganov Any feedback?

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.

1 participant