Open DavidLeoni opened 10 years ago
I have checked the time needed for getting all etypes with all attrdefs (currently 25 etypes). It takes only 2176 miliseconds (~2 seconds only). Unfortunatelly, get them with one call is not supported yet from the server side.
It takes only 2176 miliseconds
It takes that much when server is behaving properly. Yesterday Enrico made some adjustment to Tomcat - let's hope performance keeps that good.
So... we need to make sure that server is behaving properly :)
In order to have attribute defs inside the etypes, EntityTypeService.getAllEntityTypescalls AttributeDefinitionClient.readAttributeDefinitions() for each etype, thus making one webapi call per each etype which is very slow