Benchmark



ZN Framework provides high performance despite its strong infrastructure. The performance and memory usage values ​​of the ZN Framework are listed below. 

 

# Section Headings


# Technical Specifications
# Apache Bench Stress Test
# Page Opening Speed
# System Load Time
# Memory Usage
# Number of Files Uploaded
# Comparison with Other Frameworks

 

# Technical 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 with 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 Rate


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

 

# System Load Time


The first time the ZN Framework is booted, the system load time.

0.0027 sec

 

# Memory Usage


Below is the amount of memory usage on the first boot of the ZN Framework.

Memory Usage: 654.5 KB
Maximum Memory Usage: 715.3 KB

 

# Number of Files Uploaded


The number of files uploaded on the first boot.

88

 

# Comparisons with Other Frameworks


On the comparison;

1 - Comparisons were made with the same ambience  and values .

2 - The initial loading values ​​of theframeworksare compared.

Results

Below are the average results.

ab -c 10 -t 3 http://localhost/
Framework    - Version  - Time   - RPS       - Memory     - Files   - Internal Row Count - Internal Code Size
ZN OE        - 5.7.7    - 3 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

Time

Page opening speed ordering. 

 

RPS

Request queues per second. 

Memory

Memory usage order.

Files

The number of files loaded on the first boot.

Internal Row Count

Frameworks indicate the number of lines of their own internal code.

Internal Code Size

Framework refers to the size of its own internal code.