PHP · Go · MySQL · Elasticsearch

PHP Performance Optimization

Is your PHP application getting slower under load? I profile production PHP, find the real bottleneck — whether it's a slow query, a misconfigured opcache, repeated work in a loop or a memory leak — and optimize it.

I work with plain PHP and Symfony/Laravel stacks, using Xdebug, Blackfire, tideways and php-spx profiling data, plus query logs and slow-log analysis to back every change.

Problems

What I Can Help With

Profile and optimize PHP applications that are slow, memory-heavy or consuming too much CPU.

Symptoms

Typical Problems

slow response times high memory usage CPU saturation missing or ineffective opcache repeated DB queries blocking I/O in request lifecycle slow autoloading inefficient ORM usage unbounded result sets
Track Record

Relevant Experience

Profiled and optimized the PHP backend for Cenoskop (cenoskop.sk) — a price comparison engine processing 30M+ products daily. Used Blackfire to find hot paths in Symfony, fixed unbounded queries and opcache misconfiguration that were causing response time spikes under load.

Scope

What Is Included

PHP profiling setup (Xdebug/Blackfire/tideways)
opcache configuration review
hotspot identification
query log + EXPLAIN analysis
autoloading optimization
memory usage analysis
prioritized optimization plan
Process

How It Works

You share what you see — timings, slow-log, profiling output. I reproduce the bottleneck with profiling, confirm the cause with data, implement the fix, and verify the improvement with before/after measurements. Most single hot paths take a few hours. Full profiling across an application takes a day.

Pricing

Starting from €499

Full profiling and a written set of prioritized recommendations. Implementation of changes is quoted separately.

FAQ

Frequently Asked Questions

What does a PHP performance engagement start with?

A profiling pass — I instrument the application with Xdebug or Blackfire, reproduce the slow path, and identify the exact lines/functions responsible.

Can you optimize without a staging copy?

Yes — profiling and slow-log analysis only need read access. I avoid changing code in production; fixes are proposed and applied together.

More

Related Services

Slow PHP Application? I'll Find the Bottleneck

Diagnose why a PHP application is slow, no rewrite required.

Why Is PHP Using So Much CPU?

Find what drives high CPU in PHP production.

PHP Memory Leak Investigation

Find what causes PHP memory usage to grow until the process dies.

MySQL Performance Optimization

Optimize MySQL queries, indexes and schema for a production workload.

Backend Performance Audit

Find and prioritize the real bottlenecks across your full backend stack.

Selected Work

Systems I've Built

Price Intelligence Engine

Cenoskop / Levnobot

Crawler monitoring millions of products. Processing 30M products daily and comparing them.

Built and maintain the full crawling pipeline — from scraping through Elasticsearch indexing to price comparison.

Data Aggregation Scraping ElasticSearch
US Price Intelligence

Niftycent

Price intelligence engine for the US market. Processing large-scale product data.

Built the data pipeline and crawling infrastructure for large-scale US product monitoring.

Data Aggregation Scraping Big Data
Traffic Analysis

AnalyticsForWebsite

Custom solution for collecting and evaluating traffic metrics with emphasis on processing speed and minimizing backend load.

Designed and built the backend for fast traffic metric collection and evaluation.

Performance Optimization Data Collection
Secure Communication

Paidshield

Chat application with end-to-end encryption.

Built the backend and encryption layer for a secure chat application.

End-to-End Encryption Real-time Communication Security
Job & Services Marketplace

facha.sk

Find a job or offer your services.

Built the Go backend — API, matching logic and deployment.

Job Marketplace Services Go
Contact

Not sure what's wrong?

Write what's happening and paste anything relevant — errors, logs, metrics. I'll have a look and tell you what I think.

Request a PHP performance audit