The WS /api/ce/activity is executing the following SQL query for each entry :
This should be improved to only execute one SQL query.
Technical details :
ActivityAction is using TaskFormatter that contains a cache of components (ComponentCache). This cache is fed one component at a time, it should be possible to feed with a list of components.