This performance comparison was done by TechEmpower, Inc. CA. They made the benchmark of many web application frameworks executing fundamental tasks such as JSON serialization, database access, and server-side template composition. Each framework is operating in a realistic production configuration. Results are captured on physical hardware. The test implementations are largely community-contributed and all source is available at the GitHub repository.

In the following tests, TechEmpower have measured the performance of several web application platforms, full-stack frameworks, and micro-frameworks (collectively, „frameworks“). For more information, read the introduction, motivation, and latest environment details.

Hardware

Peak: Dell R720xd dual Xeon E5-2660 v2 (40 HT cores) with 32 GB memory; database servers equipped with SSDs in RAID; switched 10-gigabit Ethernet

Platform

Current versions of: Linux, PHP-FPM, nginx on Linux, MySQL on Linux

Single query test

In this test, each request is processed by fetching a single row from a simple database table. That row is then serialized as a JSON response.

Best (bar chart)
Single query Best (bar chart)

Data table
Single query Data table

Latency
Single query Latency

Framework overhead
Single query Framework overhead

Multiple queries test

In this test, each request is processed by fetching multiple rows from a simple database table and serializing these rows as a JSON response. The test is run multiple times: testing 1, 5, 10, 15, and 20 queries per request. All tests are run at 256 concurrency.

20-queries (bar)
Multiple queries 20-queries (bar)

Data table
Multiple queries Data table

Latency
Multiple queries Latency

Framework overhead
Multiple queries Framework overhead

1 thought on “PIMF vs. Silex

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.