-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace askama with rinja #127931
Replace askama with rinja #127931
Conversation
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
This comment has been minimized.
This comment has been minimized.
653318b
to
a0575e8
Compare
a0575e8
to
5d87279
Compare
Reworded the document. Lot of strange things in there. |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Replace askama with rinja Another askama maintainer and myself forked it and named the fork rinja. The whole difference is explained in this [blog post](https://blog.guillaume-gomez.fr/articles/2024-07-16+docs.rs+switching+jinja+template+framework+from+tera+to+rinja) (not publicly released yet, waiting for docs.rs to deploy the new version using it before). But in short, rinja got a lot of improvements and compiles faster, so I think it's definitely worth it to use it in rustdoc as well. r? `@notriddle`
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (b533189): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary -2.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 768.843s -> 769.065s (0.03%) |
@Kobzol Considering it should only impact compilation of rustdoc itself, not sure it's visible in the benches. Oh well, at least it confirmed that it didn't impact things negatively. :) |
Oh, I thought that this is also affecting the performance of |
Well, let's wait for @notriddle to give a look then. ;) |
@bors r+ |
☔ The latest upstream changes (presumably #127786) made this pull request unmergeable. Please resolve the merge conflicts. |
5d87279
to
48d1475
Compare
This comment has been minimized.
This comment has been minimized.
48d1475
to
8d40b9e
Compare
I'll update the priority so I don't have to rebase too often... @bors r+ p=1 |
@bors r=notriddle |
💡 This pull request was already approved, no need to approve it again.
|
☀️ Test successful - checks-actions |
Finished benchmarking commit (84c257e): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (secondary 2.7%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 770.312s -> 771.292s (0.13%) |
Another askama maintainer and myself forked it and named the fork rinja. The whole difference is explained in this blog post (not publicly released yet, waiting for docs.rs to deploy the new version using it before). But in short, rinja got a lot of improvements and compiles faster, so I think it's definitely worth it to use it in rustdoc as well.
r? @notriddle