psf / psf/pyperf

Generate perf stats

Open
#122 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
962
Forks
106
Avg merge
2d 18h
Merged PRs (30d)
4

Description

As well as simple timings, it would be useful to have access to the stats generated by perf.
Exactly what stats are available will depend very much on the hardware and setup, but perf can generate a lot useful information, e.g.:

  • Instructions retired
  • Cache misses (both I and D caches)
  • Stalls.

This sort of information would be very useful when trying to improve performance.
See also, https://github.com/psf/pyperf/issues/107

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Review pyperf's existing simple timing support and the related issue #107 first. Determine which perf statistics can be exposed across differing hardware and setups, and define how the results should be represented and validated. Done means the selected perf statistics are accessible alongside timings with documented behavior for unsupported counters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.