Sharkbench

Benchmarking programming languages and web frameworks

Symfony (PHP)
Symfony is a set of reusable PHP components and a web application framework that aims to speed up the creation and maintenance of web applications. It is known for its structured, modular foundation and is widely used for large-scale enterprise projects.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.
MedianP99
Framework
Requests per second
Latency
Stability
Memory
PHP v8.3 / Symfony v6.4
1226
9.6 ms
12.16 %
39.8 MB

About PHP

Paradigm

Imperative, Object-Oriented, Reflective

Execution

Interpreted

Typing

Dynamic

Null Safety

NO

Memory Management

Garbage Collection

PHP is a popular general-purpose scripting language that is especially suited to web development. It is widely-used for server-side scripting where server processes web page requests. PHP integrates well with HTML and databases, making it a staple in the LAMP (Linux, Apache, MySQL, PHP) stack used for hosting websites. Despite its simplicity and ease of use for beginners, PHP is powerful enough to drive some of the most complex websites such as Facebook and WordPress.

PHP web frameworks

MedianP99
Framework
Requests per second
Latency
Stability
Memory
PHP / Symfony
1226
9.6 ms
12.16 %
39.8 MB
PHP / Laravel
359
96.4 ms
51.93 %
43.1 MB

© 2024 Tien Do Nam