[ https://issues.apache.org/jira/browse/SYNCOPE-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131998#comment-16131998 ]
Iurii Smyrnov edited comment on SYNCOPE-1199 at 8/18/17 10:02 AM: ------------------------------------------------------------------ Hi Francesco, during syncope start we create 9 anyObjetTOs, so DB is almost empty and we don't have any additional tables except default (created by syncope). Also, I've just updated jmeter test (CreateTestSyncope.jmx) and added MasterContent.xml to have test AnyObjetTO type (you should change your Syncope default xml file by it) and you could use the jmeter test or just add to your current MasterContent.xml next snippet in to <dataSet>: <AnyType id="TestAT" kind="ANY_OBJECT"/> <AnyTypeClass id="TestATClass"/> <AnyType_AnyTypeClass anyType_id="TestAT" anyTypeClass_id="TestATClass"/> was (Author: smyura): Hi Francesco, during syncope start we create 9 anyObjetTOs, so DB is almost empty and we don't have any additional tables except default (created by syncope). Also, I've just updated jmeter test (CreateTestSyncope.jmx) and added MasterContent.xml to have test AnyObjetTO type (you should change your Syncope default xml file by it) and you could use the jmeter test or just add to xml next snippet in to <dataSet>: <AnyType id="TestAT" kind="ANY_OBJECT"/> <AnyTypeClass id="TestATClass"/> <AnyType_AnyTypeClass anyType_id="TestAT" anyTypeClass_id="TestATClass"/> > Syncope performance: AnyObjetcTO's creation time grows with it's quantity > ------------------------------------------------------------------------- > > Key: SYNCOPE-1199 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1199 > Project: Syncope > Issue Type: Bug > Affects Versions: 2.0.2, 2.0.4 > Environment: Syncope 2.0.2 and 2.0.4 + PostgreSQL 9; Jmeter; > https://github.com/Talend/platform-services/tree/master/iam/idp > Reporter: Iurii Smyrnov > Attachments: CreateTestSyncope.jmx, Latency for 1000 create roles > (directly syncope 2.0.4) no SCIM.csv, Latency for 1000 create roles (directly > syncope 2.0.4).png, Latency for 1037 create roles (directly syncope 2.0.2) no > SCIM.csv, Latency for 1037 create roles (directly syncope 2.0.2).png, Latency > for 3000 create roles (directly syncope 2.0.2).csv, Latency for 3000 create > roles (directly syncope 2.0.2).png, Latency for 3000 create roles (directly > syncope 2.0.4).png, MasterContent.xml > > > *AnyObjetcTO's creation time (latency) grows with it's quantity.* > Testing results are attached (Latency in milliseconds). > Note: We've tested PostgreSQL DB directly (without Syncope) and we've got > stable AnyObjetcTO's creation time (not increasing). > User Syncope 2.0.4 or 2.0.4 and + PostgreSQL 9 > URI: http://localhost:9080/syncope/rest/anyObjects > http headers: > 1.Content-Type / application/json > 2 Accept / application/json > verb: POST > body: > { > "plainAttrs":[ > { > "values":[ > "test-value" > ], > "schema":"roleEntitlements" > } > ], > "type":"RoleAT", > "realm":"/", > "@class":"org.apache.syncope.common.lib.to.AnyObjectTO", > "auxClasses":["RoleATClass"], > "name":"Role_Account_1" > } > -- This message was sent by Atlassian JIRA (v6.4.14#64029)