View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021871 | mantisbt | performance | public | 2016-11-06 17:24 | 2017-06-04 14:58 |
Reporter | cproensa | Assigned To | cproensa | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.3 | ||||
Target Version | 2.5.0 | Fixed in Version | 2.5.0 | ||
Summary | 0021871: Improve db_fetch_array performance | ||||
Description | By looking at some profiles, it can be seen that the functions: | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
MantisBT: master 06e76774 2017-05-15 00:33 Details Diff |
Improve db_fetch_array performance Improve db_fetch_array performance by caching the result from: - db_is_pgsql() - db_is_oracle() Based on profiling, the repeated calls were using up to 20% of total time for the db_fetch_array execution. Fixes 0021871, PR https://github.com/mantisbt/mantisbt/pull/1105 |
Affected Issues 0021871 |
|
mod - core/constant_inc.php | Diff File | ||
mod - core/database_api.php | Diff File |