google/gematria

Machine learning for machine code.

53
/ 100
Established

This framework helps software engineers and compiler developers analyze and optimize the performance of machine code. It takes raw machine code or basic blocks as input and uses machine learning models to estimate their inverse throughput, helping identify performance bottlenecks. The primary users are those involved in compiler design, low-level optimization, or performance engineering for various CPU architectures.

Use this if you are a compiler developer or performance engineer looking to apply machine learning to predict the execution speed of machine code to guide optimization efforts.

Not ideal if you are looking for a general-purpose machine learning library or a tool to profile high-level application performance.

compiler-design performance-engineering machine-code-optimization low-level-programming cpu-architecture
No Package No Dependents
Maintenance 10 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

95

Forks

18

Language

Python

License

Apache-2.0

Last pushed

Feb 13, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/google/gematria"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.