Skip to content
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

performance: pre-render html fully instead of at runtime #415

Conversation

maartenbreddels
Copy link
Contributor

We still parsed the raw html at runtime and fed that back into the
jinja template. We now do that as the ssg build phase, which gives
much better performance.

Copy link
Contributor Author

maartenbreddels commented Dec 11, 2023

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from d27f4b5 to 93cca6e Compare December 11, 2023 11:41
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from 7bf4573 to dfb5e66 Compare December 11, 2023 11:42
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from 93cca6e to 688c664 Compare December 11, 2023 12:03
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from dfb5e66 to 9397fd1 Compare December 11, 2023 12:04
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from 688c664 to 1a2518e Compare December 11, 2023 12:41
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from 9397fd1 to 8fad9f6 Compare December 11, 2023 12:41
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch 2 times, most recently from d779d85 to 0cb39df Compare December 15, 2023 12:05
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from 8fad9f6 to 766c6d4 Compare December 15, 2023 12:06
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from 0cb39df to 0d4b349 Compare December 15, 2023 12:07
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from 766c6d4 to 8ea1af5 Compare December 15, 2023 12:07
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from 0d4b349 to ff1c89d Compare December 18, 2023 15:25
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from ff1c89d to 4a7e206 Compare January 2, 2024 13:39
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from 8ea1af5 to 6f4b44e Compare January 2, 2024 13:39
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from 4a7e206 to 34a3873 Compare January 3, 2024 17:07
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from 6f4b44e to 9ab8042 Compare January 3, 2024 17:07
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from 34a3873 to 956fac4 Compare January 12, 2024 13:02
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from 9ab8042 to 656ba36 Compare January 12, 2024 13:02
@maartenbreddels maartenbreddels force-pushed the 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel branch from 956fac4 to 23e8262 Compare February 9, 2024 17:33
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch 2 times, most recently from e2ed8e9 to 5c1cf89 Compare February 15, 2024 14:10
@maartenbreddels maartenbreddels changed the base branch from 11-13-fix_test_and_avoid_memory_leaks_by_checking_references_to_virtual_kernel to master February 15, 2024 14:10
We still parsed the raw html at runtime and fed that back into the
jinja template. We now do that as the ssg build phase, which gives
much better performance.
@maartenbreddels maartenbreddels force-pushed the 12-08-performance_pre-render_html_fully_instead_of_at_runtime branch from 5c1cf89 to bb346b2 Compare February 16, 2024 19:53
@maartenbreddels maartenbreddels merged commit 6713192 into master Feb 16, 2024
14 checks passed
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.

1 participant