SFTtech / SFTtech/openage

Flamegraph support

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

Nobody has claimed this yet.

just do it lang: python nice new thing ☺
Dominant language
Python
Stars
14.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Our tests, demos and the game should have an easy way to generate flamegraphs.

Ideally, this would be integrated into the main python launcher, which is openage/__main__.py and the argparsing from there.

We should not add flamegraph as a dependency, but rather add a convenient (and documemented) way to run it.

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

Start with openage/main.py and its argument parsing to understand how the main Python launcher exposes commands. Trace how tests, demos, and the game are launched, then define a documented invocation that generates flamegraphs without adding the FlameGraph project as a dependency. Done means the documented workflow works for the relevant launcher paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.