Open taylortom opened 3 years ago
Related to the work you've been doing @chris-steele. Please update this ticket with any relevant comments (and links to other tickets).
We can close this one once we're happy we've got the suitable issues out of the investigation.
Some CPU profiling reveals a lot of time spent in the ajv
package (schema compilation) during clone ops. #36 would be of benefit here as well as #39
This concerns ContentModule#clone
We need to look into speeding up the cloning process (the function needs profiling to identify any issues). Currently the process works as follows:
Need to look into:
In any case, the process will require individual insert calls for each cloned content item (to be able to map from the old _id to the new _id)