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

(build) Dont Crunch the data/ Folder #2016

Merged
merged 3 commits into from
Feb 5, 2024
Merged

(build) Dont Crunch the data/ Folder #2016

merged 3 commits into from
Feb 5, 2024

Conversation

sabine
Copy link
Collaborator

@sabine sabine commented Jan 31, 2024

In response to #1987, I realized that we shouldn't be crunching the data/ folder with ocaml-crunch.

Here is a patch that changes ood-gen to use bos to read the markdown and YAML files directly from the file system.

On my machine:

before:

real    0m21.262s
user    0m57.290s
sys     0m13.810s

after:

real    0m12.898s
user    0m42.419s
sys     0m10.785s

This patch changes nothing about how the media files or static assets are crunched and served.

@sabine sabine merged commit 266a460 into ocaml:main Feb 5, 2024
3 checks passed
@sabine sabine deleted the dont_crunch branch February 5, 2024 12:51
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