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

Optimize Composer autoloader #3081

Merged

Conversation

elidrissidev
Copy link
Member

@elidrissidev elidrissidev commented Mar 13, 2023

Description (*)

Optimizing Composer autoloader is a recommended step when deploying to a production environment, it can speed up lookup of known classes by using a static class map without the need to check the filesystem.

I added the optimization step to the Release workflow, as well as the installation instructions in README.

Ref: https://getcomposer.org/doc/articles/autoloader-optimization.md#optimization-level-1-class-map-generation

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)
  • Add yourself to contributors list

@fballiano fballiano merged commit 1e8fcd0 into OpenMage:1.9.4.x Mar 13, 2023
@fballiano
Copy link
Contributor

merged and 20ed

@elidrissidev elidrissidev deleted the perf/optimize-composer-autoloader branch March 13, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants