PHP7 퍼포먼스면에서 어떤가?

아래는 슬라이드쉐어 PHP7(PHP7 - The New Engine for old good train)벤치마킹 자료이다.

** PHP7 - The New Engine for old good train ** from Xinchen Hui

php7 이 공식 문서에 따르면 이전 버전(5)보다 2배 빠르다고합니다.

실제로 같은 환경에서 벤치마킹했을때, 2배더 빠른 성능을 보였습니다.

  • Improved performance: PHP 7 is up to twice as fast as PHP 5.6

  • Significantly reduced memory usage

  • Abstract Syntax Tree

  • Consistent 64-bit support

  • Improved Exception hierarchy

  • Many fatal errors converted to Exceptions

  • Secure random number generator

  • Removed old and unsupported SAPIs and extensions

  • The null coalescing operator (??)

  • Return and Scalar Type Declarations

  • Anonymous Classes

  • Zero cost asserts

About Me

Related Posts

What do you think?