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

Make requests faster by faster IO operations (eg file_exists is slower compared to is_file) #16552

Open
tsteur opened this issue Oct 9, 2020 · 0 comments
Labels
c: Performance For when we could improve the performance / speed of Matomo.

Comments

@tsteur
Copy link
Member

tsteur commented Oct 9, 2020

See https://bugs.php.net/bug.php?id=78285

From https://thephp.cc/news/2020/10/caching-makes-everything-faster-right
image

We’re probably having several hundred file_exists calls per request so replacing this calls with is_file could speed things up. Especially where the disk is slow or where there's heaps of traffic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo.
Projects
None yet
Development

No branches or pull requests

2 participants