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

[TASK] Improve performance of record indexer #314

Merged
merged 1 commit into from
Apr 4, 2016
Merged

[TASK] Improve performance of record indexer #314

merged 1 commit into from
Apr 4, 2016

Commits on Apr 4, 2016

  1. [TASK] Improve performance of record indexer

    Cache for language information is not kept across instances of the indexer. Each new record
    requires a new instance of the indexer but language information does not change between creation of
    indexer instances. Language information is obtained by instantiating TSFE and parsing TS templates.
    This can take 0.5-2 seconds depending on the amount of TypoScript. It makes sense to cache this
    information statically. It helps to shorten indexing times dramatically and lower CPU usage on
    the server.
    Dmitry Dulepov committed Apr 4, 2016
    Configuration menu
    Copy the full SHA
    68c31a2 View commit details
    Browse the repository at this point in the history