Skip to content

Add throughput to derive benchmark#413

Merged
GuillaumeGomez merged 1 commit intoaskama-rs:masterfrom
Kijewski:pr-throughput
Apr 21, 2025
Merged

Add throughput to derive benchmark#413
GuillaumeGomez merged 1 commit intoaskama-rs:masterfrom
Kijewski:pr-throughput

Conversation

@Kijewski
Copy link
Copy Markdown
Member

No description provided.

@GuillaumeGomez
Copy link
Copy Markdown
Collaborator

What is this PR doing btw?

@Kijewski
Copy link
Copy Markdown
Member Author

Kijewski commented Apr 20, 2025

When you run cargo bench in askama_derive_standalone, then the change is not only expressed in time / iterations, but also in len(input) / time. It's more or less simply the reciprocal value, but I find it sometimes easier to grasp (bigger number = better).

@GuillaumeGomez
Copy link
Copy Markdown
Collaborator

Ah I see. Good idea, thanks!

@GuillaumeGomez GuillaumeGomez merged commit 12db32b into askama-rs:master Apr 21, 2025
41 checks passed
@Kijewski Kijewski deleted the pr-throughput branch April 21, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants