Open
Description
I face performances issues when accessing datas on a container. It makes all our apps not useable for now with LDFlex. For example, with the following code:
await solid.data.context.extend(base_context)
const container = solid.data["https://apiprod.happy-dev.fr/clients/"];
console.time(container.toString())
for await (const r of container.ldp_contains) {
console.time(r.toString())
console.log((await r.img).toString());
console.timeEnd(r.toString())
}
console.timeEnd(container.toString())
It takes ~3000ms to display 70 times the img
property of a resource.
For each resource, it takes between 10ms to 90ms to display its img
.
Is there something we can do to improve this?