The DocumentStore API currently has a call for creating many nodes at once.
However, this will sometimes fail for large save operations in JCR, because in the DS persistence, JCR-deleted nodes are still present (with a deleted flag). This causes two subsequent sequences of
1) create test container
2) create many child nodes
3) remove test container
to behave very differently, depending on whether the test container is created for the first time or not.