AddOn rendertime broken?
Hi !Friendica Support
When I read the documentation on tuning Friendica performance, I read about the addon "rendertime", what should show a stack of times used renderng, db and so on.
When I add that using frio, nothing happens.
But when I enable "show callstack" in the addons configuration, my page goes all white w/o any chance to revert this on the UI.
Removing the hook it created from the "hook" table made my instance usable again.
Isn't that a little dangerous to propose addons in helpfiles, that react like this? Could it be, that this addon works only with older templates?
Am I right to assume the helpfiles are somewhat old and not very well maintained anymore? I think, "we" should go through the helpfiles some day and check, what is still up to date.
When I read the documentation on tuning Friendica performance, I read about the addon "rendertime", what should show a stack of times used renderng, db and so on.
When I add that using frio, nothing happens.
But when I enable "show callstack" in the addons configuration, my page goes all white w/o any chance to revert this on the UI.
Removing the hook it created from the "hook" table made my instance usable again.
Isn't that a little dangerous to propose addons in helpfiles, that react like this? Could it be, that this addon works only with older templates?
Am I right to assume the helpfiles are somewhat old and not very well maintained anymore? I think, "we" should go through the helpfiles some day and check, what is still up to date.
Grischa
•Michael Vogel
•Brian S.
•Uncaught Exception TypeError: "Friendica\Util\Profiler::getRendertimeString(): Argument #1 ($limit) must be of type float, string given, called in /var/www/friendica/friendica/addon/rendertime/rendertime.php on line 89" at /var/www/friendica/friendica/src/Util/Profiler.php line 248
I managed to disable the addon thanks to browser history, but now can't turn it back on until I can see what's going on with the code. Thankfully, my instance is running smoothly at the moment, so I don't really need it.
Hypolite Petovan
•I try to update the documentation of features I'm working on, but I don't always think about it. More to the point, the rendertime addon should work, I don't think the documentation is wrong about mentioning this add-on, it's more likely that we introduced a regression somewhere.
Friendica Support reshared this.
Grischa
•It was only a question. 😀
Hypolite Petovan likes this.
Hypolite Petovan
•Friendica Support reshared this.
Philipp Holzer
•Hypolite Petovan likes this.