튜닝 (2) 썸네일형 리스트형 [PHP] 튜닝의 기본 - 로딩 시간 측정조회 $start_time = microtime(); // 페이지 상단 function Print_Exe_Time($start_time) { $end_time = microtime() ; // 종료시간 $start_sec = explode(" ", $start_time); // 초와 마이크로초를 공백으로 구분 $end_sec = explode(" ", $end_time); $rap_micsec = $end_sec[0] - $start_sec[0] ; // 실행시간 microsecond $rap_sec = $end_sec[1] - $start_sec[1] ; // 실행시간 second $rap = $rap_sec + $rap_micsec ; echo("실행시간 $rap 초 \n"); } Print_Exe_Tim.. PHP Performance (튜닝의 지름길) 18. Performance Performance, particularly on busy sites, can be critical - after all, if you can speed up your code by 10%, that decreases your hardware load by 10%, saving you the need to upgrade. There are a number of ways you can improve the performance of your scripts, and we will be covering as many as have space for. We will also be dispelling various myths about optimisation, and hopefull.. 이전 1 다음