Benchmark



Despite its strong infrastructure, ZN Framework offers high performance. Below are the performance and memory usage values of ZN Framework.

 

 

# Section Headings


# Technicial Specifications
# Apache Bench Stress Test
# Page Opening Speed
# System Load Time
# Memory Usage
# Number of Files Required
# Comparisons with Other Frameworks

 

 

# Technicial Specifications


ZN 5.4.5+
PHP 7.0+
OS Ubuntu 16.04 LTS
Software Apache / Nginx
RAM 16 GB 1833 MHZ
Processor intel 7 4820K 3.7 GHZ

 

 

# Apache Bench Stress Test


The test was carried out on the following values.

ab -c 10 -t 3 http://localhost/
Concurrency Level:      10
Time taken for tests:   3.001 seconds
Complete requests:      2791
Failed requests:        0
Total transferred:      3123129 bytes
HTML transferred:       1797404 bytes
Requests per second:    1613.27 [#/sec] (mean)
Time per request:       10.753 [ms] (mean)
Time per request:       1.075 [ms] (mean, across all concurrent requests)
Transfer rate:          1016.21 [Kbytes/sec] received Connection Times (ms)
               min  mean[+/-sd] median   max
Connect:        0     0   0.0      0       1
Processing:     3    11   5.3     10      48
Waiting:        3    10   5.2      9      48
Total:          3    11   5.3     10      48 Percentage of the requests served within a certain time (ms)
50%     10
66%     12
75%     13
80%     14
90%     17
95%     21
98%     26
99%     28
100%     48 (longest request) 

 

 

# Page Opening Speed


The loading time of the landing page of the ZN Framework.

4 ms

 

 

# System Load Time


The system load time at the first startup of the ZN Framework.

0.0027 seconds

 

 

# Memory Usage


The memory usage amounts at the first startup of the ZN Framework are shown below.

Memory Usage    : 654.5 KB
Max Memory Usage: 715.3 KB

 

 

# Number of Files Required


The number of files required at first launch.

88

 

 

# Comparisons with Other Frameworks


About comparisons;

Comparisons are made with the same environment and values.
The initial loading values of the frameworks were compared.

Results

Average results are shown below.

ab -c 10 -t 3 http://localhost/
Framework    - Version  - Time   - RPS       - Memory     - Files   - internal Row Count - internal Code Size
ZN OE        - 5.7.7    - 4 ms   - 1613.27   - 1566.9 kb  - 102     - 127893             - 4965.0 kb     
Titan        - 2.0.7    - 2 ms   - 3594.96   - 139.5 kb   - 58      - 15508              - 535.9 kb
CodeIgniter  - 3.1.6    - 1 ms   - 5478.26   - 44.0 kb    - 27      - 68237              - 193.7 kb
Laravel      - 5.5.0    - 7 ms   - 283.29    - 1472.6 kb  - 235     - 116673             - 3686.1 kb
Zend         - 3.0.3    - 10 ms  - 453.87    - 1513.2 kb  - 297     - 201615             - 7168.3 kb
CakePHP      - 3.5.8    - 10 ms  - unknown   - 1328.6 kb  - 156     - 135951             - 4801.9 kb
Yii2         - 2.0.0    - 5 ms   - 698.20    - 1040.6 kb  - 97      - 102422             - 4553.3 kb
Slim         - 3.0.0    - 2 ms   - unknown   - 226.2 kb   - 55      - 8372               - 274.1 kb
Aura         - 2.0.0    - 3 ms   - 1560.47   - 548.6 kb   - 100     - not calculated     - not calculated
Kohana       - 3.3.6    - 2 ms   - 4572.43   - 164.2 kb   - 50      - not calculated     - not calculated
Fuel         - 1.8.0    - 3 ms   - 2019.16   - 344.4 kb   - 62      - not calculated     - not calculated
Cygnite      - 2.0.0    - 4 ms   - 1400.14   - 673.0 kb   - 82      - not calculated     - not calculated
Silex        - 2.0.0    - 3 ms   - 2731.06   - 330.3 kb   - 76      - not calculated     - not calculated
Tipsy        - 0.1.0    - 1 ms   - 7879.77   - 24.2 kb    - 14      - not calculated     - not calculated
OnlyPHP      - 0.0.0    - 1 ms   - 13248.14  - 0 kb       - 1       - 1                  - 0 kb