Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Transform to Rest Performance #141
Gentics Mesh Version, operating system, or hardware.
After profiling a migration I noticed that one method was called much more often than expected and took about 15% of the total CPU time during the migration. The method is
This method was called for every field in every micronode or node (about 20k invocations for a migration of about 650 nodes). It is called because HTML fields could need the project name if there is a link which has to be resolved.
There are a few Problems with that method:
This very specific use case causes significant performance issues every time a node is transformed to JSON, which includes every read request for a node and also for schema migration.