Index: branches/wmf/1.19wmf1/includes/filerepo/backend/FileBackend.php |
— | — | @@ -1131,7 +1131,9 @@ |
1132 | 1132 | return $this->cache[$path]['stat']; |
1133 | 1133 | } |
1134 | 1134 | } |
| 1135 | + wfProfileIn( __METHOD__ . '-miss' ); |
1135 | 1136 | $stat = $this->doGetFileStat( $params ); |
| 1137 | + wfProfileOut( __METHOD__ . '-miss' ); |
1136 | 1138 | if ( is_array( $stat ) ) { // don't cache negatives |
1137 | 1139 | $this->trimCache(); // limit memory |
1138 | 1140 | $this->cache[$path]['stat'] = $stat; |
— | — | @@ -1173,7 +1175,9 @@ |
1174 | 1176 | wfProfileOut( __METHOD__ ); |
1175 | 1177 | return $this->cache[$path]['sha1']; |
1176 | 1178 | } |
| 1179 | + wfProfileIn( __METHOD__ . '-miss' ); |
1177 | 1180 | $hash = $this->doGetFileSha1Base36( $params ); |
| 1181 | + wfProfileOut( __METHOD__ . '-miss' ); |
1178 | 1182 | if ( $hash ) { // don't cache negatives |
1179 | 1183 | $this->trimCache(); // limit memory |
1180 | 1184 | $this->cache[$path]['sha1'] = $hash; |