occ is slow and doesn't support an internal batched mode #11275
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
enhancement
feature: occ
Nice to have
As of Nextcloud 14.0.0,
occ
is still slow and it also does not support an internal batched mode or similar:From my point of view the bad performance of
occ
is caused due to PHP interpreter being loaded including all Nextcloud classes etc. Thus I would like to suggest an internal batched mode which could look like this:Note that
config:batch
is not intended as dumb shell script-like functionality that callsocc
per line, but one singleocc
call where all commands are handled internally one after each other without having the need to re-load the PHP interpreter and the Nextcloud classes. I expect a nice speedup ofocc
using such a functionality.The text was updated successfully, but these errors were encountered: