Open TcaManager opened 5 years ago
For example, if I profile a script inserting 2 users, I get the following data with the Spyder Code Profiler,
Thanks for reaching out @TcaManager. Indeed there is some overhead on instantiation of dynamic classes. I'll have a look at this but it will need some time to profile the code myself to pin point the problem. If you are using SMP multiprocessing can increase performance by chunking your entries to several processes. Nevertheless this just mitigates the real issue.
Hi, It's not a real issue, we use your Framework to make validation of entries before exporting an ldif. With a code that looks like this
We found that each of the two operations in the loop cost 0.001 s. Are there some parameters we could use to speed up one of those operations? Is it possible to make it much faster with more CPU or RAM? Can multprocessing help here? Thanks.