Programmatically define output file for bench_func

Open
#165 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@Shreyas310805 is already working on this.

Since Jan 27, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Start by reading the documentation and examples for Runner.bench_func(). Determine whether the output filename can be set programmatically, then document the supported usage or clarify the limitation and expected alternative.

Written by the indexing model from the issue text.

Description

I'm having trouble determining how to programmatically set the output file name when using Runner.bench_func().

Is this possible, and if so, are there instructions or examples available?

Dominant language
Python
Stars
967
Forks
112
Avg merge
5d 8h
Merged PRs (30d)
9

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from psf/pyperf

All issues in psf/pyperf

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.