You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
We are dealing with rules in the 70k - 100k 1k - 2k range. It currently takes setRule around 2.5 seconds to process all of these rules.
I have been able to increase the performance of this method by roughly 40% by simply eliminating the use of array_merge.
Suggested Change Acl line:580 to:
foreach($children as $child) {
$resources[] = $child;
}
Suggestions on how this method can be improved further would be great appreciated. The tree that is being generated takes approximately 100-130ms to serialize/unserialize.
Note: Acl configuration will be cached in Production.
EDIT:
Sorry rules are in the 1500 - 2000 range. Roughly 300 roles and 300 resources.