Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Performance: Cache RoleMaps produced by `RoleMap#newMatchingRoleMap()` #81
From our discussion yesterday on the Gitter chat and since the newMatchingRoleMap is called for every ACL request and a lot of permissions are checked for a project when the home page loads, having a cache avoids checking regular expressions again for every time permission checks are called for a given Item.
Would be great to think about cache invalidation.
Also, would be great to have some performance metrics before and after the change from our benchmarks