Skip to content

Commit b533f6a

Browse files
committed
[GR-52172] Add cpython mcd stats and more text for context.
PullRequest: graalpython/3230
2 parents b9e9a66 + c49a771 commit b533f6a

File tree

5 files changed

+20
-10
lines changed

5 files changed

+20
-10
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,19 @@ GraalPy has first-class support for embedding in Java and can turn Python applic
2020
* Install [packages](docs/user/Python-Runtime.md#installing-packages) like *NumPy*, *PyTorch*, or *Tensorflow*; run [Hugging Face](https://huggingface.co/) models like *Stable Diffusion* or *GPT*
2121
* See if the packages you need work with our [Python Compatibility Checker](https://www.graalvm.org/python/compatibility/)
2222
* Use almost any standard Python feature, the CPython tests run on every commit and pass ~85%
23-
![](docs/user/assets/mcd.svg)<sup>
24-
We run the tests of the [top PyPI packages](https://hugovk.github.io/top-pypi-packages/) on GraalPy every day.
25-
For more than 96% of the top PyPI packages, there is at least one recent version that installs successfully and we are currently passing over 50% of all tests those top packages.
23+
![](docs/user/assets/mcd.svg#gh-light-mode-only)![](docs/user/assets/mcd-dark.svg#gh-dark-mode-only)<sup>
24+
We run the tests of the [most depended on PyPI packages](https://libraries.io/pypi) every day.
25+
For 96% of those packages a recent version can be installed on GraalPy and GraalPy passes about 50% of all tests of all packages combined.
26+
We assume that CPython not passing 100% of all tests is due to problems in our infrastructure that may also affect GraalPy.
27+
Packages where CPython fails all tests are marked as "not tested" for both CPython and GraalPy.
2628
</sup>
2729

2830
**Runs Python code faster**
2931

3032
* Pure Python code is often faster than on CPython after JIT compilation
3133
* C extension performance is near CPython, but varies depending on the specific interactions of native and Python code
3234
* GraalPy is ~4x faster than CPython on the official [Python Performance Benchmark Suite](https://pyperformance.readthedocs.io/)
33-
![](docs/user/assets/performance.svg)<sup>
35+
![](docs/user/assets/performance.svg#gh-light-mode-only)![](docs/user/assets/performance-dark.svg#gh-dark-mode-only)<sup>
3436
Benchmarks run via `pip install pyperformance && pyperformance run` on each of CPython and GraalPy.
3537
Harness and benchmarks were adapted by hand for Jython due to missing Python 3 support.
3638
Each interpreter was installed via <tt>[pyenv](https://github.com/pyenv/pyenv)</tt>.

0 commit comments

Comments
 (0)