Skip to content

Commit b72c8e0

Browse files
authored
Merge pull request #3652 from syncfusion-content/1040330-MDPerformance
1040330-Update .NET Markdown library performance benchmarks in the UG
2 parents 80a98a1 + 9f10c24 commit b72c8e0

3 files changed

Lines changed: 188 additions & 0 deletions

File tree

Document-Processing-toc.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8334,6 +8334,9 @@
83348334
<li>
83358335
<a href="/document-processing/markdown/markdown-library/net/Working-with-tables">Working with Table</a>
83368336
</li>
8337+
<li>
8338+
<a href="/document-processing/markdown/markdown-library/net/Performance-metrics">Performance Metrics</a>
8339+
</li>
83378340
</ul>
83388341
</li>
83398342
</ul>
@@ -8368,6 +8371,9 @@
83688371
<li>
83698372
<a href="/document-processing/excel/conversions/markdown-to-excel/overview">Markdown to Excel</a>
83708373
</li>
8374+
<li>
8375+
<a href="/document-processing/markdown/conversions/Performance-metrics">Performance Metrics</a>
8376+
</li>
83718377
</ul>
83728378
</li>
83738379
</ul>
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
---
2+
title: Markdown conversions Performance benchmark results | Syncfusion
3+
description: Explore the performance benchmark results of Markdown conversion across documents of varying sizes and complexities
4+
platform: document-processing
5+
control: Markdown
6+
documentation: UG
7+
---
8+
9+
# Conversion performance benchmarks using .NET Markdown Library
10+
11+
The Syncfusion<sup>&reg;</sup> [.NET Markdown Library](https://www.syncfusion.com/document-sdk/net-markdown-library) enables high-performance Markdown document processing and conversions. This performance benchmark report highlights the speed and efficiency of Markdown document operations, demonstrating how the library performs across various processing and conversion scenarios using representative workloads.
12+
13+
## Environment
14+
15+
The following system configurations were used for benchmarking:
16+
17+
* **Operating System:** Windows 11
18+
* **Processor:** AMD Ryzen 5 7520U with Radeon Graphics
19+
* **RAM:** 16GB
20+
* **.NET Version:** .NET 8.0
21+
* **Syncfusion<sup>&reg;</sup> Version:** [Syncfusion.Markdown v34.1.29](https://www.nuget.org/packages/Syncfusion.Markdown/34.1.29)
22+
23+
## Benchmark Results
24+
25+
The table below presents the performance results of various Markdown document operations, evaluated using predefined input conditions in the previously described environment. Each row includes the operation performed, the input details, the average execution time, and a link to the corresponding GitHub example.
26+
27+
<table>
28+
<tr>
29+
<th>Operation</th>
30+
<th>Input Details</th>
31+
<th>Syncfusion<sup>&reg;</sup> Time (sec)</th>
32+
<th>GitHub Example</th>
33+
</tr>
34+
<tr>
35+
<td>{{'[Word to MD](https://help.syncfusion.com/document-processing/word/conversions/word-to-markdown-conversion)'| markdownify }}</td>
36+
<td>100 pages</td>
37+
<td>1.6</td>
38+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/DOCX-to-MD/)'| markdownify }}</td>
39+
</tr>
40+
<tr>
41+
<td>{{'[HTML to MD](https://help.syncfusion.com/document-processing/markdown/conversions/html-conversions)'| markdownify }}</td>
42+
<td>100 pages</td>
43+
<td>5.3</td>
44+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/HTML-to-MD/)'| markdownify }}</td>
45+
</tr>
46+
<tr>
47+
<td>{{'[PPTX to MD](https://help.syncfusion.com/document-processing/powerpoint/conversions/powerpoint-to-markdown)'| markdownify }}</td>
48+
<td>100 Slides</td>
49+
<td>7.01</td>
50+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/PPTX-to-MD/)'| markdownify }}</td>
51+
</tr>
52+
<tr>
53+
<td>{{'[Excel to MD](https://help.syncfusion.com/document-processing/excel/conversions/excel-to-markdown/overview)'| markdownify }}</td>
54+
<td>Data type - Text (1000 cells)</td>
55+
<td>0.04</td>
56+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/Excel-to-MD/)'| markdownify }}</td>
57+
</tr>
58+
<tr>
59+
<td>{{'[MD to DOCX](https://help.syncfusion.com/document-processing/word/conversions/markdown-to-word-conversion)'| markdownify }}</td>
60+
<td>100 pages</td>
61+
<td>1.5</td>
62+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/MD-to-Word/)'| markdownify }}</td>
63+
</tr>
64+
<tr>
65+
<td>{{'[MD to HTML](https://help.syncfusion.com/document-processing/markdown/conversions/html-conversions)'| markdownify }}</td>
66+
<td>100 pages</td>
67+
<td>1.4</td>
68+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/MD-to-HTML/)'| markdownify }}</td>
69+
</tr>
70+
<tr>
71+
<td>{{'[MD to PDF](https://help.syncfusion.com/document-processing/markdown/conversions/markdown-to-pdf)'| markdownify }}</td>
72+
<td>50 pages</td>
73+
<td>2.2</td>
74+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/MD-to-PDF/)'| markdownify }}</td>
75+
</tr>
76+
<tr>
77+
<td>{{'[MD to PPTX](https://help.syncfusion.com/document-processing/powerpoint/conversions/markdown-to-powerpoint)'| markdownify }}</td>
78+
<td>100 Slides</td>
79+
<td>0.98</td>
80+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/MD-to-PPTX/)'| markdownify }}</td>
81+
</tr>
82+
<tr>
83+
<td>{{'[MD to Excel](https://help.syncfusion.com/document-processing/excel/conversions/markdown-to-excel/overview)'| markdownify }}</td>
84+
<td>Table (1000 cells)</td>
85+
<td>0.04</td>
86+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/MD-to-Excel/)'| markdownify }}</td>
87+
</tr>
88+
</table>
89+
90+
N> Execution times are based on the sample documents and may vary with different content or environments.
91+
92+
N> **Note:** The conversion operations listed in this benchmark use different Syncfusion® document processing libraries based on the source and target formats.
93+
N>
94+
N> - **Word to Markdown**, **Markdown to Word**, and **Markdown to PDF** conversions use the **Syncfusion® .NET Word Library (DocIO)**: [Syncfusion.DocIO.Net.Core v34.1.29](https://www.nuget.org/packages/Syncfusion.DocIO.Net.Core/34.1.29)
95+
N>
96+
N> - **Markdown to PDF** conversion uses the **Syncfusion® DocIORenderer** package to render Markdown documents as PDF: [Syncfusion.DocIORenderer.Net.Core v34.1.29](https://www.nuget.org/packages/Syncfusion.DocIORenderer.Net.Core/34.1.29)
97+
N>
98+
N> - **Excel to Markdown** and **Markdown to Excel** conversions use the **Syncfusion® .NET Excel Library (XlsIO)**: [Syncfusion.XlsIO.Net.Core v34.1.29](https://www.nuget.org/packages/Syncfusion.XlsIO.Net.Core/34.1.29)
99+
N>
100+
N> - **PowerPoint to Markdown** and **Markdown to PowerPoint** conversions use the **Syncfusion® .NET PowerPoint Library**: [Syncfusion.Presentation.Net.Core v34.1.29](https://www.nuget.org/packages/Syncfusion.Presentation.Net.Core/34.1.29)
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: Markdown library Performance benchmark results | Syncfusion
3+
description: Explore Markdown library performance benchmarks across various document sizes and conversion scenarios.
4+
platform: document-processing
5+
control: Markdown
6+
documentation: UG
7+
---
8+
9+
# .NET Markdown library performance benchmarks
10+
11+
The [.NET Markdown Library](https://www.syncfusion.com/document-sdk/net-markdown-library) provides high-performance APIs to create, read, edit, and convert Markdown documents programmatically. This performance benchmark report highlights the speed and efficiency of key operations, demonstrating how Markdown library handles large-scale document processing in real-world scenarios.
12+
13+
## Environment
14+
15+
The following system configurations were used for benchmarking:
16+
17+
* **Operating System:** Windows 11
18+
* **Processor:** AMD Ryzen 5 7520U with Radeon Graphics
19+
* **RAM:** 16GB
20+
* **.NET Version:** .NET 8.0
21+
* **Syncfusion<sup>&reg;</sup> Version:** [Syncfusion.Markdown v34.1.29](https://www.nuget.org/packages/Syncfusion.Markdown/34.1.29)
22+
23+
## Benchmark Results
24+
25+
The table below shows the performance results of various Markdown document operations. Each operation was executed using the input document described in the **Input Details** column, and the reported time is the elapsed time for a single run in the environment described above.
26+
27+
### Open and save Markdown
28+
29+
<table>
30+
<tr>
31+
<td><strong>Pages</strong></td>
32+
<td><strong>Input Markdown File</strong></td>
33+
<td><strong>Syncfusion<sup>&reg;</sup> Time (sec)</strong></td>
34+
</tr>
35+
<tr>
36+
<td>2</td>
37+
<td>{{'[Document-2.md](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/Open-and-Save-MD-document/.NET/Open-and-Save-MD-document/Data/Document-2.md)'| markdownify }}</td>
38+
<td>0.002</td>
39+
</tr>
40+
<tr>
41+
<td>50</td>
42+
<td>{{'[Document-50.md](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/Open-and-Save-MD-document/.NET/Open-and-Save-MD-document/Data/Document-50.md)'| markdownify }}</td>
43+
<td>0.008</td>
44+
</tr>
45+
<tr>
46+
<td>100</td>
47+
<td>{{'[Document-100.md](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/Open-and-Save-MD-document/.NET/Open-and-Save-MD-document/Data/Document-100.md)'| markdownify }}</td>
48+
<td>0.23</td>
49+
</tr>
50+
<tr>
51+
<td>500</td>
52+
<td>{{'[Document-500.md](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/Open-and-Save-MD-document/.NET/Open-and-Save-MD-document/Data/Document-500.md)'| markdownify }}</td>
53+
<td>2.1</td>
54+
</tr>
55+
</table>
56+
57+
You can find the sample used for this performance evaluation on [GitHub](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/Open-and-Save-MD-document/).
58+
59+
### Markdown Library Operations
60+
61+
<table>
62+
<tr>
63+
<th>Operation</th>
64+
<th>Input Details</th>
65+
<th>Syncfusion<sup>&reg;</sup> Time (sec)</th>
66+
<th>GitHub Example</th>
67+
</tr>
68+
<tr>
69+
<td>{{'[Create Markdown file](https://help.syncfusion.com/document-processing/markdown/markdown-library/net/working-with-markdown-document)'| markdownify }}</td>
70+
<td>2 pages</td>
71+
<td>0.005</td>
72+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/Create-Markdown-file/)'| markdownify }}</td>
73+
</tr>
74+
<tr>
75+
<td>{{'[Clone and merge](https://help.syncfusion.com/document-processing/markdown/markdown-library/net/loading-and-saving-document)'| markdownify }}</td>
76+
<td>100 pages</td>
77+
<td>0.8</td>
78+
<td>{{'[GitHub-Example](https://github.com/SyncfusionExamples/Markdown-Examples/tree/master/Performance-metrices/Clone-and-Merge/)'| markdownify }}</td>
79+
</tr>
80+
</table>
81+
82+
N> Execution times are based on the sample documents and may vary with different content or environments.

0 commit comments

Comments
 (0)