Update the benchmark image (#1943)

This commit is contained in:
Zanie Blue 2025-12-16 11:00:40 -06:00 committed by GitHub
parent 74fd3dca49
commit d40204535a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 6 deletions

View file

@ -10,14 +10,14 @@ An extremely fast Python type checker and language server, written in Rust.
<p align="center">
<picture align="center">
<source media="(prefers-color-scheme: dark)" srcset="./docs//assets/ty-benchmark-cli.svg">
<source media="(prefers-color-scheme: dark)" srcset="./docs//assets/ty-benchmark-cli-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="./docs/assets/ty-benchmark-cli.svg">
<img alt="Shows a bar chart with benchmark results." width="500px" src="./docs/assets/ty-benchmark-cli.svg">
</picture>
</p>
<p align="center">
<i>Type checking <a href="https://github.com/pandas-dev/pandas-stubs">pandas-stubs</a> without caching.</i>
<i>Type checking the <a href="https://github.com/home-assistant/core">home-assistant</a> project without caching.</i>
</p>
<br />

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.5 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Before After
Before After

View file

@ -7,11 +7,11 @@ An extremely fast Python type checker and language server, written in Rust.
</p>
<p align="center">
<img alt="Shows a bar chart with benchmark results." width="500px" src="./assets/ty-benchmark-cli.svg#only-dark">
<img alt="Shows a bar chart with benchmark results." width="500px" src="./assets/ty-benchmark-cli-dark.svg#only-dark">
</p>
<p align="center">
<i>Type checking <a href="https://github.com/pandas-dev/pandas-stubs">pandas-stubs</a> without caching.</i>
<i>Type checking the <a href="https://github.com/home-assistant/core">home-assistant</a> project without caching.</i>
</p>
ty is backed by [Astral](https://astral.sh), the creators of