1. Use of stress test AB learning
Use the software and commands that are used by Linux, this is the command
Request per second to be possible large implementations of large concurrency
Time per second is likely to be small, small means faster feedback
Language-level optimization for 2.php
The PHP language must first be converted into C, and then c into the assembly, so as much as possible to use PHP's own language to improve performance greatly.
1) More code redundancy, poor readability, low performance
Why performance is low: PHP needs to be interpreted as the underlying language, the underlying language compiled into assembly languages, each time is processed again, overhead.
It is recommended to use PHP built-in solid, built-in variables, built-in functions.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.