Source: https://seerepo.com/compare/benfred/py-spy/vs/diem/diem
Markdown source: https://seerepo.com/compare/benfred/py-spy/vs/diem/diem.md
Description: py-spy and diem share 4 technologies: console, indicatif, log, and env_logger. Both are written in Rust.

# py-spy vs diem

py-spy and diem share 4 technologies: console, indicatif, log, and env_logger. Both are written in Rust.

- [benfred/py-spy](https://seerepo.com/r/benfred/py-spy): Sampling profiler for Python programs
- [diem/diem](https://seerepo.com/r/diem/diem): Diem’s mission is to build a trusted and innovative financial network that empowers people and businesses around the world.

## What they share and what sets them apart

- In common: console, indicatif, log, env_logger
- Only in py-spy: lru
- Only in diem: rocksdb, Tokio, warp, termion, plotters, hkdf, hmac, pbkdf2, csv, handlebars, tera, tracing-core, prometheus, tracing, tracing-subscriber, k8s-openapi, kube, simplelog

## Side by side

| | py-spy | diem |
|---|---|---|
| Size | 92,808 lines written, 39 code files | 404,502 lines written, 1,250 code files |
| Who writes it | 0.2% of its commits signed by AI. With Claude Code | 0% of its commits signed by AI |
| Activity | Last push November 6, 2026, 495 commits, 15,631 stars | Last push November 3, 2026, 9,840 commits, 16,656 stars |
| Tests | 16 test files | 455 test files. 36.2% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, py-spy or diem?

diem, with 404,502 lines written; py-spy has 92,808.

The proof: [diem/diem's code at commit fc4714a](https://github.com/diem/diem/tree/fc4714a8ea273b6efe8b13dbce72ea60aad9a16c)

### Which has more GitHub stars, py-spy or diem?

diem, with 16,656 stars; py-spy has 15,631.

The proof: [diem/diem on GitHub](https://github.com/diem/diem)

### Which has more tests, py-spy or diem?

diem, with 455 test files; py-spy has 16.

The proof: [diem/diem's code at commit fc4714a](https://github.com/diem/diem/tree/fc4714a8ea273b6efe8b13dbce72ea60aad9a16c)

### Which was updated more recently, py-spy or diem?

py-spy: its last push was on November 6, 2026, and diem's on November 3, 2026.

The proof: [benfred/py-spy's commits on GitHub](https://github.com/benfred/py-spy/commits)

### Which has more commits signed by AI, py-spy or diem?

py-spy: an AI signed 0.2% of its commits, with Claude Code.

## Sources

- benfred/py-spy: Read on November 8, 2026, at commit 7a7ac96 (https://github.com/benfred/py-spy/tree/7a7ac96e96e0f9b4ba3eee80de3f4d255698170b)
- diem/diem: Read on November 7, 2026, at commit fc4714a (https://github.com/diem/diem/tree/fc4714a8ea273b6efe8b13dbce72ea60aad9a16c)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
