Skip to content

Commit

Permalink
remove cli benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Nov 9, 2024
1 parent f8a2eaa commit 552fdac
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 64 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/cli.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Hatch is a modern, extensible Python project manager.
- Easy [publishing](https://hatch.pypa.io/latest/publish/) to PyPI or other indices
- [Version](https://hatch.pypa.io/latest/version/) management
- Best practice [project generation](https://hatch.pypa.io/latest/config/project-templates/)
- Responsive [CLI](https://hatch.pypa.io/latest/cli/about/), ~2-3x [faster](https://github.com/pypa/hatch/actions/workflows/cli.yml) than equivalent tools
- Responsive [CLI](https://hatch.pypa.io/latest/cli/about/)

See the [Why Hatch?](https://hatch.pypa.io/latest/why/) page for more information.

Expand Down
8 changes: 0 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,6 @@ Hatch is a modern, extensible Python project manager. See the [Why Hatch?](why.m

[:octicons-arrow-right-24: Project setup](intro.md#setup)

- :material-speedometer:{ .lg .middle } __Responsive CLI__

---

Hatch is up to 3x faster than equivalent tools

[:octicons-arrow-right-24: CLI reference](cli/about.md)

</div>

## License
Expand Down
2 changes: 0 additions & 2 deletions docs/meta/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,4 @@ The only caveat is that currently there is no support for re-creating an environ

## Fast CLI?

The claim about being faster than other tools is [based on timings](https://github.com/pypa/hatch/actions/workflows/cli.yml) that are always checked in CI.

Hatch achieves this by using lazy imports, lazily performing computation manually and with [functools.cached_property](https://docs.python.org/3/library/functools.html#functools.cached_property), using hacks like `not not ...` instead of `bool(...)`, etc.

0 comments on commit 552fdac

Please sign in to comment.