mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:50:11 +00:00
Several improvements for performance measuring
This commit is contained in:
parent
2c93067682
commit
fdee002f73
9 changed files with 87 additions and 36 deletions
|
@ -1159,7 +1159,9 @@ function item_store($arr,$force_parent = false) {
|
|||
|
||||
if (($cachefile != '') AND !file_exists($cachefile)) {
|
||||
$s = prepare_text($arr['body']);
|
||||
$stamp1 = microtime(true);
|
||||
file_put_contents($cachefile, $s);
|
||||
$a->save_timestamp($stamp1, "file");
|
||||
logger('item_store: put item '.$current_post.' into cachefile '.$cachefile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue