Index: trunk/phase3/includes/filerepo/backend/FileBackend.php |
— | — | @@ -1146,7 +1146,9 @@ |
1147 | 1147 | return $this->cache[$path]['stat']; |
1148 | 1148 | } |
1149 | 1149 | } |
| 1150 | + wfProfileIn( __METHOD__ . '-miss' ); |
1150 | 1151 | $stat = $this->doGetFileStat( $params ); |
| 1152 | + wfProfileOut( __METHOD__ . '-miss' ); |
1151 | 1153 | if ( is_array( $stat ) ) { // don't cache negatives |
1152 | 1154 | $this->trimCache(); // limit memory |
1153 | 1155 | $this->cache[$path]['stat'] = $stat; |
— | — | @@ -1190,7 +1192,9 @@ |
1191 | 1193 | wfProfileOut( __METHOD__ ); |
1192 | 1194 | return $this->cache[$path]['sha1']; |
1193 | 1195 | } |
| 1196 | + wfProfileIn( __METHOD__ . '-miss' ); |
1194 | 1197 | $hash = $this->doGetFileSha1Base36( $params ); |
| 1198 | + wfProfileOut( __METHOD__ . '-miss' ); |
1195 | 1199 | if ( $hash ) { // don't cache negatives |
1196 | 1200 | $this->trimCache(); // limit memory |
1197 | 1201 | $this->cache[$path]['sha1'] = $hash; |