Skip to content

Commit c49a771

Browse files
committed
add readme graphs for dark themes
1 parent 2da4012 commit c49a771

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ 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>
23+
![](docs/user/assets/mcd.svg#gh-light-mode-only)![](docs/user/assets/mcd-dark.svg#gh-dark-mode-only)<sup>
2424
We run the tests of the [most depended on PyPI packages](https://libraries.io/pypi) every day.
2525
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.
2626
We assume that CPython not passing 100% of all tests is due to problems in our infrastructure that may also affect GraalPy.
@@ -32,7 +32,7 @@ Packages where CPython fails all tests are marked as "not tested" for both CPyth
3232
* Pure Python code is often faster than on CPython after JIT compilation
3333
* C extension performance is near CPython, but varies depending on the specific interactions of native and Python code
3434
* GraalPy is ~4x faster than CPython on the official [Python Performance Benchmark Suite](https://pyperformance.readthedocs.io/)
35-
![](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>
3636
Benchmarks run via `pip install pyperformance && pyperformance run` on each of CPython and GraalPy.
3737
Harness and benchmarks were adapted by hand for Jython due to missing Python 3 support.
3838
Each interpreter was installed via <tt>[pyenv](https://github.com/pyenv/pyenv)</tt>.

0 commit comments

Comments
 (0)