Opening a project with many spiders in Portia became inefficient because Dulwich was opening all spider json files. Using a custom serializer SpiderListSerializer, we avoid this issue by not having including the related samples in the links property in Meta.
In order to do use a custom serializer:
The serializer class must be provided in the links property to use the custom serializer
Additional debug logging was introduced in the Gitstorage backend to properly debug this issue.
Opening a project with many spiders in Portia became inefficient because Dulwich was opening all spider json files. Using a custom serializer
SpiderListSerializer
, we avoid this issue by not having including the related samples in thelinks
property inMeta
. In order to do use a custom serializer:links
property to use the custom serializerAdditional debug logging was introduced in the
Gitstorage
backend to properly debug this issue.