-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use shorter json tags so we serialize less data when checkpointing. Update grant expansion benchmark to create more groups and return correct data in ListEntitlements and ListGrants. * Only checkpoint if we haven't checkpointed within the last 10 seconds. This drastically reduces the amount of time we spend serializing and saving state. * Optimize case where we've fixed all cycles. Increase circleSize to 10. * Fix behavior of ListResources() to return resources of specified type. * Clean up benchmark. Use functions to add users, groups, and group members instead of directly messing with the data. * Make a loop of parent groups. Reduce circle size to 7 so we don't hit maxDepth in syncer and results are consistent. * Check if lastCheckPointTime is zero. Oops. * Enable SQLite write ahead log. This greatly improves performance when writing lots of grants in service mode.
- Loading branch information
Showing
5 changed files
with
155 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters