[ 
https://issues.apache.org/jira/browse/OAK-8227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16849475#comment-16849475
 ] 

angela edited comment on OAK-8227 at 5/28/19 9:30 AM:
------------------------------------------------------

initial commit revision 1860199 with an open TODO related to OAK-8155

the benchmarks include:
- {{PrinicipalBasedReadTest}}:
  > base test that is responsible for the setup (see below)
  > test-run as in ReadDeepTreeTest
- {{HasItemGetItemIsModifiedTest}}
  > test-run not only reads random items ({{Session.hasItem}}, 
{{Session.getItem}}) but additionally calls {{Item.isModified}}.
- {{PermissionEvaluationTest}}
  > test-run will call {{Session.hasPermission}} for randomly selected paths 
and randomly selected permissions

The following test options can be specified:
- number of items to read (or number of hasPermission calls, respectively)
- number of initial ACEs to be created
- number of principals in the test-subject (the test will create system users)
- weather or not the initial # of ACEs are created for each principal or 
whether ACEs will be created for rotating principals
- doReport: if selected will print an report on how many nodes/properties have 
been read

In order to compare principal-based with the default authorization the 
following additional options are present:
- testDefault: if {{true}} the authorization setup will only include the 
default model otherwise principal-basd and default
- compositionType: AND or OR composition for multiple authorization models
- useAggregationFilter: TODO once OAK-8155 is available


was (Author: anchela):
initial commit revision 1860199 with an open TODO related to OAK-8155


> Performance benchmarks
> ----------------------
>
>                 Key: OAK-8227
>                 URL: https://issues.apache.org/jira/browse/OAK-8227
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: benchmarks
>            Reporter: angela
>            Assignee: angela
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to