필자는 필자의 석사 학위 논문에서 성능 테스트를하고 있으며, Symfony2 간단한 응용 프로그램의 성능이 매우 떨어지고 있습니다. 그것은 간단한 응용 프로그램, 하나의 쿼리 및 일부 수학. 명령에 대한성능이 좋지 않음
테스트 결과 :
AB-C10 -t60 http://sf2.cities.localhost/app.php
시험 전에
Server Software: Apache/2.2.20
Server Hostname: sf2.cities.localhost
Server Port: 80
Document Path: /app.php
Document Length: 2035 bytes
Concurrency Level: 10
Time taken for tests: 60.162 seconds
Complete requests: 217
Failed requests: 68
(Connect: 0, Receive: 0, Length: 68, Exceptions: 0)
Write errors: 0
Non-2xx responses: 68
Total transferred: 393876 bytes
HTML transferred: 321102 bytes
Requests per second: 3.61 [#/sec] (mean)
Time per request: 2772.458 [ms] (mean)
Time per request: 277.246 [ms] (mean, across all concurrent requests)
Transfer rate: 6.39 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.1 0 11
Processing: 230 2641 2493.1 1778 17146
Waiting: 230 2641 2493.1 1778 17146
Total: 230 2642 2492.9 1778 17146
나는 두 명령 출시 :
의 PHP 응용 프로그램/콘솔을 --env = 캐시 캐시 : 지우기 php app/console --env = prod 캐시 : 예열
symfony 체크 페이지에는 intl 확장자가 없기 때문에 apc가 괜찮을 것이라고 알려줍니다.
내 PHP 버전은 다음과 같습니다 수호신 - 패치와
PHP의 5.3.6-13ubuntu3.6는
은 누군가가 나에게 내 ENV에 확인해야 다른 일에 대해 조언을 줄 수
?
당신은/게시 "연결 시간"보라 (당신이 당신의 데이터베이스로 MySQL을 사용 가정). 거기에 가장 많은 시간이 걸리는 부분을 확인할 수 있습니다. – Darcara
그 기능이 있습니까? – keram
예, 전체 출력은 [this]와 같아야합니다 (http://imgur.com/Fwek5) – Darcara