Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions docs/reference/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ make docs
To debug the Rust parts of this project, follow the [PyO3 debugging guide](https://pyo3.rs/main/debugging.html#debugger-specific-setup).
Debug symbols are turned on by default.

### Performance

[`py-spy`](https://github.com/benfred/py-spy) is installed as a development dependency and can be used to profile Python code.
If there is a performance sensitive piece of code, you could isolate it in a file and profile it locally with:

```bash
uv run py-spy record --format speedscope -- python tmp.py
Copy link

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

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

There are two spaces between 'record' and '--format' which appears to be a typo. Should be a single space.

Copilot uses AI. Check for mistakes.
```

### Making changes

All changes that impact users should be documented in the `docs/changelog.md` file. Please also add tests for any new features
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,8 @@ exclude_also = [

[tool.uv.workspace]
members = ["egglog"]

[dependency-groups]
dev = [
"py-spy>=0.4.1",
]
25 changes: 24 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading