For our performance testing on multithreading, we have to test the method "Document.saveToFile(...)". We are having issues with your product (spire.doc - 5.4.2 then 10.11.6) when it uses Treemap. CPU is very very High (near 100%). See upload attachment to understand our problem please.
With JVisualVM, we have Treemap$Entry (13% - 25%)
Do you know this problem? Why our team don't use ConcurrentHashMap or if not, what is your solution(s) please?
Version : Java 11.0.16 - Spire.doc 5.4.2 and 10.11.6 - DocX to PDF
Thanks for your help
Arnaud
