Task #64361
Improve class loading performance
Status: | Resolved | Start date: | 2015-01-19 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.2 | Complexity: | ||
PHP Version: | Sprint Focus: |
Description
Use composer class loader for better performance
Require composer class loader early in the bootstrap gives us many benefits:
1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written
Related issues
Associated revisions
[FEATURE] Use composer class loader for better performance
Require composer class loader early in the bootstrap gives us many benefits:
1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written
Further details can be found on the wiki http://wiki.typo3.org/ComposerClassLoader
Resolves: #64361
Releases: master, 6.2
Change-Id: Ida22edf8383a9706726a8fdd11297b2983d17b1a
[FEATURE] Use composer class loader for better performance
Require composer class loader early in the bootstrap gives us many benefits:
1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written
Further details can be found on the wiki http://wiki.typo3.org/ComposerClassLoader
Resolves: #64361
Releases: master, 6.2
Change-Id: Ida22edf8383a9706726a8fdd11297b2983d17b1a
[FEATURE] Use composer class loader for better performance
Require composer class loader early in the bootstrap gives us many benefits:
1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written
Further details can be found on the wiki http://wiki.typo3.org/ComposerClassLoader
Resolves: #64361
Releases: master, 6.2
Change-Id: Ida22edf8383a9706726a8fdd11297b2983d17b1a
[FEATURE] Use composer class loader for better performance
Require composer class loader early in the bootstrap gives us many benefits:
1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written
Further details can be found on the wiki http://wiki.typo3.org/ComposerClassLoader
Resolves: #64361
Releases: master, 6.2
Change-Id: Ida22edf8383a9706726a8fdd11297b2983d17b1a
[FEATURE] Use composer class loader for better performance
Require composer class loader early in the bootstrap gives us many benefits:
1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written
Further details can be found on the wiki http://wiki.typo3.org/ComposerClassLoader
Resolves: #64361
Releases: master, 6.2
Change-Id: Ida22edf8383a9706726a8fdd11297b2983d17b1a
Reviewed-on: http://review.typo3.org/36091
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
[FEATURE] Use composer class loader for better performance
Require composer class loader early in the bootstrap gives us many benefits:
1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written
Further details can be found on the wiki http://wiki.typo3.org/ComposerClassLoader
Resolves: #64361
Releases: master, 6.2
Change-Id: Ida22edf8383a9706726a8fdd11297b2983d17b1a
[FEATURE] Use composer class loader for better performance
Require composer class loader early in the bootstrap gives us many benefits:
1. Very early classes can be found and loaded very early in the bootstrap
2. Get rid of complexity for default cases
3. Test classes will only loadable in testing context
4. Cache warmup will be much faster as much less files need to be written
Further details can be found on the wiki http://wiki.typo3.org/ComposerClassLoader
Resolves: #64361
Releases: master, 6.2
Change-Id: Ida22edf8383a9706726a8fdd11297b2983d17b1a
Reviewed-on: http://review.typo3.org/36124
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Resolve class name from aliases managed by composer
The old class loader has API to return the original class name
when given an alias. This API was not respected when implementing
composer class loading with #64361 with the result that it was
broken for all classes and aliases managed by the composer class loader.
To address this issue, the composer class loader is now injected into
the old class alias map, so that it can resolve class names from aliases
managed by it.
Related: #64361
Resolves: #65667
Releases: 6.2, master
Change-Id: If0b5098d72147fe7d76e97ee61c81d87cad72b4b
Reviewed-on: http://review.typo3.org/37825
Reviewed-by: Sascha Nowak <sascha.nowak@netlogix.de>
Tested-by: Sascha Nowak <sascha.nowak@netlogix.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Resolve class name from aliases managed by composer
The old class loader has API to return the original class name
when given an alias. This API was not respected when implementing
composer class loading with #64361 with the result that it was
broken for all classes and aliases managed by the composer class loader.
To address this issue, the composer class loader is now injected into
the old class alias map, so that it can resolve class names from aliases
managed by it.
Related: #64361
Resolves: #65667
Releases: 6.2, master
Change-Id: If0b5098d72147fe7d76e97ee61c81d87cad72b4b
Reviewed-on: http://review.typo3.org/37915
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
History
#1 Updated by Gerrit Code Review 7 months ago
- Status changed from New to Under Review
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36091
#2 Updated by Gerrit Code Review 7 months ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36091
#3 Updated by Gerrit Code Review 7 months ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36091
#4 Updated by Gerrit Code Review 7 months ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36091
#5 Updated by Gerrit Code Review 7 months ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36091
#6 Updated by Gerrit Code Review 7 months ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36124
#7 Updated by Helmut Hummel 7 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9b55643895f2dea260ad15656e730af55c42356c.
#8 Updated by Gerrit Code Review 7 months ago
- Status changed from Resolved to Under Review
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36124
#9 Updated by Gerrit Code Review 7 months ago
Patch set 3 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36124
#10 Updated by Helmut Hummel 7 months ago
- Status changed from Under Review to Resolved
Applied in changeset ef5068c6877c17f00df6cea573ca980963561380.
#11 Updated by Gerrit Code Review 7 months ago
- Status changed from Resolved to Under Review
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36091
#12 Updated by Helmut Hummel 7 months ago
- Status changed from Under Review to Resolved
Applied in changeset f7434c49e554ee20eab47df3688d49c3bd80d296.
#13 Updated by Gerrit Code Review 7 months ago
- Status changed from Resolved to Under Review
Patch set 4 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36124
#14 Updated by Helmut Hummel 7 months ago
- Status changed from Under Review to Resolved
Applied in changeset 2a4f702e50cce712b4f571463b4b44446cb3d2d8.