Skip to content

Commit 5700ed0

Browse files
committed
986212-ug: Added note content in HTML to PDF performance optimization.
1 parent bb3bccf commit 5700ed0

File tree

1 file changed

+2
-0
lines changed
  • Document-Processing/PDF/Conversions/HTML-To-PDF/NET

1 file changed

+2
-0
lines changed

Document-Processing/PDF/Conversions/HTML-To-PDF/NET/features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2219,6 +2219,8 @@ htmlConverter.Close()
22192219

22202220
{% endtabs %}
22212221

2222+
N> Our HTML to PDF converter is thread-safe and suitable for multi-threaded environments without synchronization conflicts or data corruption. However, when the [ReuseBrowserProcess](https://help.syncfusion.com/cr/document-processing/Syncfusion.HtmlConverter.HtmlToPdfConverter.html#Syncfusion_HtmlConverter_HtmlToPdfConverter_ReuseBrowserProcess) property is `enabled`, the same HtmlToPdfConverter instance must be reused across threads, which involves sharing a single browser process. This makes it not thread-safe unless proper synchronization mechanisms, such as locks, are used to serialize access. `Disabling ReuseBrowserProcess` allows true parallelism with isolated browser instances per thread.
2223+
22222224
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/HTML%20to%20PDF/Blink/Optimize-HTML-to-PDF-performance).
22232225

22242226
## Temporary path

0 commit comments

Comments
 (0)