Support the ongoing development of Laravel.io →
posted 11 years ago
Configuration

What are key elements to performance tweaking for example on a Raspberry Pi my average request with data takes 350-500 ms where a basic html file takes 25-35 ms*.

The distance between me and my server is 19 ms, home <-> data center.

I've disabled debugging (best left off anyway in a 'production' environment) yet this doesn't seem to speed it up the least. I've also ran php artisan optimize after I deployed my latest code.

Did I miss something or are these just the limits of my Raspberry Pi?

Edit: fetching the same data with my own code and processing it with Smarty works in 60-70 ms, is Laravel that heavy?

Last updated 3 years ago.
0

Did you try a opcode cache ?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

PaddoSwam paddoswam Joined 29 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.