Improving a Laravel-based app

By Christophe Dujarric, on Jan 21, 2016

During his participation to the #FireUpMyMac contest, Marko Lekić had a chance to find a massive improvement in his usage of Laravel for one of the apps he built. Working at, “Interactive design studio specialized in web and mobile”, the app he developed enables you to use your mobile phone when at a restaurant, and find the most appropriate wine in the menu for the dish you’ll order.

Pairing a dish to a wine requiring to run complex formulae, they rely on a cron job executed each night. They managed to improve this cron job very simply and efficiently when they found the root cause of slowness with

Before the fix:

Wall Time 57.6s
CPU Time 49.4s
I/O Time 8.23s
Memory 100MB

After the fix:

Wall Time 3.42s (-93%)
CPU Time 3.02s (-94%)
I/O Time 407ms (-95%)
Memory 23.1MB (-77%)

Read the full article here.

Christophe Dujarric

Christophe is the Chief Product Officer at Blackfire. He has been working in several start-up companies, helping them to make and sell products out of technologies. He’s involved in every step of the product’s lifecycle, from strategy to design and sales, and loves to coach on product management methods.