[Benchmark php frameworks]. Part 1. Introduction. Table of contents

in #programming7 years ago (edited)

Nice to meet you

This post is for everybody who is interested in php programming. I have noticed that basically php frameworks tests by simple application like "Hello world". Unfortunatelly this app give little information about real interactions in app.

Benchmarking php framework
Source
In my opinion minimal functionаl can't show real behavior of the framework. I have decided to test php frameworks by middle complexity application. This app will be represented as "blogs platform". It consist of data about authors, theirs posts by categories and types. Such app can be realized in any framework "from a box".

Pages for testing:

  • /authors - lists of authors with posts counts.
  • /posts - all posts with information about types, authors and categories.
  • /categories - list of categories with counts of posts in every one.
  • /index - simple "hello world" for comparison

Quantity of notes about 1000. Authors and categories - 50-100pc.

It must be quite simple app, but at the same time (imho) it is capable to show dependencies between operations with data and page generation time and consumable memory

Will page generation time be equal or comparable? What surprises can we get? I am sure, throughput will be stuck in mysql bottleneck???. But the tendency will be obvious.

I decided to start from 2 php frameworks - #phalcon and #laravel.

The first one - is considered to be the fastest, the second one is the most famous and convenient.

In this "Hello world" benchmarks this two frameworks are on different sides of the graph.

Your support will allow to complicate testing functional, and also to add new versions of tested frameworks.

Question to community:

  • Is there need to explain app structure, scheme?
  • Would you like to see full process of creating app for every framework?
  • What framework benchmark would you like to see?

All code of apps will be on GitHub.

Subscribe to get test results.

Thanks, Simon aka SemasPing .

Coin Marketplace

STEEM 0.21
TRX 0.13
JST 0.030
BTC 68152.98
ETH 3536.22
USDT 1.00
SBD 2.86