Commit graph

15 commits

Author SHA1 Message Date
Kijin Sung
23190bd2f5 Remove all use of global variables as debug timers 2025-08-20 00:34:57 +09:00
Kijin Sung
f91bd86fb1 Consolidate a few timers into an array in the Debug class 2025-08-20 00:25:20 +09:00
Kijin Sung
187157cfcd Fix warning that E_STRICT is deprecated in PHP 8.4 2025-03-01 15:56:17 +09:00
Kijin Sung
01afd5c041 Properly record statistics about async and multiple HTTP requests 2024-05-24 23:07:38 +09:00
Kijin Sung
610a23f2fb Fix all async HTTP requests being treated as slow 2023-10-10 11:15:30 +09:00
Kijin Sung
f15cdecbe1 Fix potential type error in Debug::translateFilename() 2023-10-03 23:11:38 +09:00
Kijin Sung
5d78d114a7 Remove deprecated argument $errcontext from default error handler 2023-09-26 12:06:20 +09:00
Kijin Sung
1de83747de Fix missing type declarations in Debug class 2023-09-26 11:27:30 +09:00
Kijin Sung
a36177d772 Dislay actual error location when a fatal error is caught by Debug class 2023-08-08 00:49:53 +09:00
Kijin Sung
e31704ffc2 Move friendly error message feature to Message module 2023-08-08 00:49:14 +09:00
Kijin Sung
df6ccfc7d4 Show friendly error message for very common error conditions, such as Object class 2023-08-07 15:14:47 +09:00
Kijin Sung
58ce0defca Add option to control error and query log consolidation 2023-05-01 02:59:22 +09:00
Kijin Sung
a1bd9cc2bc Only record the same error or query once
PHP 8.2로 올라오면서 동일한 오류가 수백~수천 번 반복되어
디버그 데이터가 너무 많은 메모리를 차지하는 문제가 종종 발생하고 있음.

동일한 위치에서 발생한 동일한 오류나 쿼리는 한 번만 기록하고
count를 증가시키도록 하여, 불필요한 메모리 사용을 줄이고
반복되는 오류나 쿼리를 쉽게 찾을 수 있도록 개선함.
2023-04-30 23:56:54 +09:00
Kijin Sung
a9f72a5cd2 Remove trailing whitespace 2023-01-17 20:57:44 +09:00
Kijin Sung
0029d1a1ec Rename all common/framework source files to be case-sensitive 2022-12-26 16:13:09 +09:00
Renamed from common/framework/debug.php (Browse further)