Skip to content

Conversation

fhahn
Copy link
Contributor

@fhahn fhahn commented Jun 25, 2025

Add initial benchmarks for basic operations on matrix types.

@fhahn fhahn requested review from anemet and jroelofs June 25, 2025 11:23
@fhahn fhahn force-pushed the matrix-microbench branch from 658a9e2 to 9bb1ebf Compare June 25, 2025 11:23
@fhahn fhahn force-pushed the matrix-microbench branch from 9bb1ebf to 1bf39ae Compare June 25, 2025 14:59
};

BENCHMARK_F(MatrixMult4x4Benchmark, MatrixTypeAB)(benchmark::State &state) {
while (state.KeepRunning()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
while (state.KeepRunning()) {
for (auto _ : state) {

https://google.github.io/benchmark/user_guide.html#a-faster-keep-running-loop

#endif

#include "benchmark/benchmark.h"
#include <iostream>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#include <iostream>

is this used?

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.

2 participants