mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-20 03:49:54 +00:00
Use Python 3.12 in benchmarks (#1215)
I originally used Python 3.10, since 3.10 and 3.11 are by far the most common (at least for [Ruff](https://pypistats.org/packages/ruff)). But 3.12 should give Python tools the most favorable benchmarks.
This commit is contained in:
parent
ee69fb51ea
commit
51e8609ee8
3 changed files with 27 additions and 20 deletions
|
|
@ -23,13 +23,15 @@ pub(crate) fn render_benchmarks(args: &RenderBenchmarksArgs) -> Result<()> {
|
|||
// but we assume we're running over a single benchmark here.)
|
||||
for result in &mut results.results {
|
||||
if result.command.starts_with("puffin") {
|
||||
result.command = "puffin".into();
|
||||
result.command = "Puffin".into();
|
||||
} else if result.command.starts_with("pip-compile") {
|
||||
result.command = "pip-compile".into();
|
||||
} else if result.command.starts_with("pip-sync") {
|
||||
result.command = "pip-sync".into();
|
||||
} else if result.command.starts_with("poetry") {
|
||||
result.command = "poetry".into();
|
||||
result.command = "Poetry".into();
|
||||
} else if result.command.starts_with("pdm") {
|
||||
result.command = "PDM".into();
|
||||
} else {
|
||||
return Err(anyhow!("unknown command: {}", result.command));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue