Skip to content

Commit ce40c3c

Browse files
authored
Merge pull request #1991 from syncfusion-content/Dec1sprint
Update the missing PR Changes
2 parents e913999 + 23fdd31 commit ce40c3c

File tree

4 files changed

+85
-134
lines changed

4 files changed

+85
-134
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Performance Metrics for the Syncfusion Excel to PDF conversion
3+
description: This section provides benchmark results and performance metrics for converting Excel files to PDF using the Syncfusion Excel (XlsIO) library.
4+
platform: document-processing
5+
control: XlsIO
6+
documentation: UG
7+
---
8+
9+
# Performance Metrics for Excel to PDF Conversion
10+
11+
The following benchmark demonstrates the performance of the Syncfusion Excel (XlsIO) library when converting a large Excel workbook—containing 100,000 rows and 50 columns with distinct data types such as text, date and time, numbers, booleans, and formulas—into a PDF.
12+
13+
<table>
14+
<tr>
15+
<th>Data type</th>
16+
<th>Time Taken (sec)</th>
17+
<th>Sample Link</th>
18+
</tr>
19+
<tr>
20+
<td>Text</td>
21+
<td>121</td>
22+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
23+
</tr>
24+
<tr>
25+
<td>DateTime</td>
26+
<td>112</td>
27+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
28+
</tr>
29+
<tr>
30+
<td>Number</td>
31+
<td>107</td>
32+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
33+
</tr>
34+
<tr>
35+
<td>Boolean</td>
36+
<td>83</td>
37+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
38+
</tr>
39+
<tr>
40+
<td>Formula</td>
41+
<td>104</td>
42+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
43+
</tr>
44+
</table>
45+
46+
You can find the sample used for Excel to PDF conversion performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Excel%20to%20PDF">this GitHub page</a>.
Lines changed: 33 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -1,187 +1,86 @@
11
---
2-
title: Performance Metrics of the Syncfusion Excel (XlsIO) Library
3-
description: This section provides an overview of the performance capabilities of the Syncfusion Excel (XlsIO) Library.
2+
title: Performance Metrics for Syncfusion Excel (XlsIO) Library
3+
description: This section provides benchmark results and insights into the performance capabilities of the Syncfusion Excel (XlsIO) library across various operations.
44
platform: document-processing
55
control: XlsIO
66
documentation: UG
77
---
88

99
# Performance Metrics in Excel (XlsIO) Library
1010

11-
This section evaluates the performance of the Syncfusion XlsIO library when handling String, DateTime, Number, Boolean, and Formula data types during operations such as opening, reading, creating, and saving Excel files. It provides insights into the efficiency and capabilities of XlsIO for processing these data types across various platforms.
12-
13-
## Open and Read
14-
15-
The table below illustrates the performance of data types for open operations.
16-
17-
<table>
18-
<tr>
19-
<th>Data types</th>
20-
<th>Test case Matrix (Open)</th>
21-
<th>XlsIO (ms)</th>
22-
<th>Sample</th>
23-
</tr>
24-
<tr>
25-
<td>String</td>
26-
<td>150 rows * 10000 columns</td>
27-
<td>2213</td>
28-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
29-
</tr>
30-
<tr>
31-
<td>DateTime</td>
32-
<td>150 rows * 10000 columns</td>
33-
<td>1369</td>
34-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
35-
</tr>
36-
<tr>
37-
<td>Number</td>
38-
<td>150 rows * 10000 columns</td>
39-
<td>1151</td>
40-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
41-
</tr>
42-
<tr>
43-
<td>Boolean</td>
44-
<td>150 rows * 10000 columns</td>
45-
<td>1173</td>
46-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
47-
</tr>
48-
<tr>
49-
<td>Formula</td>
50-
<td>150 rows * 10000 columns</td>
51-
<td>1545</td>
52-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
53-
</tr>
54-
</table>
55-
56-
You can find the sample used for open operation performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open">this GitHub page</a>.
57-
58-
The table below illustrates the performance of data types for read operations.
59-
60-
<table>
61-
<tr>
62-
<th>Data types</th>
63-
<th>Test case Matrix (Read)</th>
64-
<th>XlsIO (ms)</th>
65-
<th>Sample</th>
66-
</tr>
67-
<tr>
68-
<td>String</td>
69-
<td>150 rows * 10000 columns</td>
70-
<td>139</td>
71-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
72-
</tr>
73-
<tr>
74-
<td>DateTime</td>
75-
<td>150 rows * 10000 columns</td>
76-
<td>506</td>
77-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
78-
</tr>
79-
<tr>
80-
<td>Number</td>
81-
<td>150 rows * 10000 columns</td>
82-
<td>294</td>
83-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
84-
</tr>
85-
<tr>
86-
<td>Boolean</td>
87-
<td>150 rows * 10000 columns</td>
88-
<td>99</td>
89-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
90-
</tr>
91-
<tr>
92-
<td>Formula</td>
93-
<td>150 rows * 10000 columns</td>
94-
<td>165</td>
95-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
96-
</tr>
97-
</table>
98-
99-
You can find the sample used for read operation performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Read">this GitHub page</a>.
11+
This section evaluates the performance of the Syncfusion Excel (XlsIO) library when handling text, date and time, number, boolean, and formula data types during operations such as reading and creating Excel documents.
10012

10113
## Create and Save
10214

103-
The table below illustrates the performance of data types for create operations.
15+
The table below illustrates the performance of creating and saving an Excel document containing 100,000 rows and 50 columns for different data types.
10416

105-
<table>
17+
<table>
10618
<tr>
107-
<th>Data types</th>
108-
<th>Test case Matrix (Create)</th>
109-
<th>XlsIO (ms)</th>
110-
<th>Sample</th>
19+
<th>Data type</th>
20+
<th>Time Taken (sec)</th>
21+
<th>Sample Link</th>
11122
</tr>
11223
<tr>
113-
<td>String</td>
114-
<td>150 rows * 10000 columns</td>
115-
<td>1177</td>
24+
<td>Text</td>
25+
<td>13</td>
11626
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
11727
</tr>
11828
<tr>
11929
<td>DateTime</td>
120-
<td>150 rows * 10000 columns</td>
121-
<td>2301</td>
30+
<td>15</td>
12231
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
12332
</tr>
12433
<tr>
12534
<td>Number</td>
126-
<td>150 rows * 10000 columns</td>
127-
<td>436</td>
35+
<td>5</td>
12836
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
12937
</tr>
13038
<tr>
13139
<td>Boolean</td>
132-
<td>150 rows * 10000 columns</td>
133-
<td>422</td>
40+
<td>5</td>
13441
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
13542
</tr>
13643
<tr>
13744
<td>Formula</td>
138-
<td>150 rows * 10000 columns</td>
139-
<td>4089</td>
45+
<td>35</td>
14046
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
14147
</tr>
14248
</table>
143-
144-
You can find the sample used for create operation performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Create">this GitHub page</a>.
14549

146-
The table below illustrates the performance of data types for save operations.
50+
## Load and Read
51+
52+
The table below illustrates the performance of loading and reading cell values from an Excel document with 100,000 rows and 50 columns for different data types.
14753

14854
<table>
14955
<tr>
150-
<th>Data types</th>
151-
<th>Test case Matrix (Save)</th>
152-
<th>XlsIO (ms)</th>
153-
<th>Sample</th>
56+
<th>Data type</th>
57+
<th>Time Taken (sec)</th>
58+
<th>Sample Link</th>
15459
</tr>
15560
<tr>
156-
<td>String</td>
157-
<td>150 rows * 10000 columns</td>
158-
<td>1422</td>
159-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
61+
<td>Text</td>
62+
<td>9</td>
63+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/String%20Data%20Type/.NET/String%20Data%20Type">GitHub page</a></td>
16064
</tr>
16165
<tr>
16266
<td>DateTime</td>
163-
<td>150 rows * 10000 columns</td>
164-
<td>1270</td>
165-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
67+
<td>5</td>
68+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/DateTime%20Data%20Type/.NET/DateTime%20Data%20Type">GitHub page</a></td>
16669
</tr>
16770
<tr>
16871
<td>Number</td>
169-
<td>150 rows * 10000 columns</td>
170-
<td>916</td>
171-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
72+
<td>6</td>
73+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Number%20Data%20Type/.NET/Number%20Data%20Type">GitHub page</a></td>
17274
</tr>
17375
<tr>
17476
<td>Boolean</td>
175-
<td>150 rows * 10000 columns</td>
176-
<td>781</td>
177-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
77+
<td>4</td>
78+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Boolean%20Data%20Type/.NET/Boolean%20Data%20Type">GitHub page</a></td>
17879
</tr>
17980
<tr>
18081
<td>Formula</td>
181-
<td>150 rows * 10000 columns</td>
182-
<td>1222</td>
183-
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
82+
<td>9</td>
83+
<td><a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Open/Formula%20Data%20Type/.NET/Formula%20Data%20Type">GitHub page</a></td>
18484
</tr>
185-
</table>
186-
187-
You can find the sample used for save operation performance evaluation on <a href="https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Performance%20Metrics/Save">this GitHub page</a>.
85+
</table>
86+

Document-Processing/Excel/Excel-Library/NET/Working-with-Conditional-Formatting.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ documentation: UG
1010

1111
Conditional formatting allows to format the contents of a cell dynamically. This can be defined and applied in XlsIO through the [IConditionalFormat](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IConditionalFormat.html) interface.
1212

13+
To quickly learn How to Apply Conditional Formatting in Excel Using .NET Excel Library, check out this video:
14+
{% youtube "https://www.youtube.com/watch?v=S1lkNLV70hc" %}
15+
1316
## Create a Conditional Format 
1417

1518
The [IConditionalFormats](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IConditionalFormats.html) represents a collection of conditional formats for a single [IRange](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IRange.html). One or more conditional formats can be added to the range as follows.

Document-Processing/Excel/Excel-Library/NET/Working-with-Formulas.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ keywords: c#, vb.net, excel, read excel, edit excel, edit excel cell, excel form
1010

1111
[Formulas](https://support.microsoft.com/en-gb/office/overview-of-formulas-in-excel-ecfdc708-9162-49e8-b993-c311f47ca173?redirectsourcepath=%252fen-us%252farticle%252foverview-of-formulas-7abfda78-eff3-4cc6-b4a7-6350d512d2dc) are entries in Excel that have equations, by which values are calculated. A typical formula might contain cell references, constants, and even functions.
1212

13+
To quickly learn How to Work with Formulas in an Excel Using the .NET Excel Library, check out this video:
14+
{% youtube "https://www.youtube.com/watch?v=SjHcYYvVSF4" %}
15+
1316
## Enable and Disable Calculation
1417

1518
To perform calculation in an Excel workbook, it is recommended to invoke [EnableSheetCalculations](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_EnableSheetCalculations) method of [IWorksheet](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html). Enabling this method will initialize [CalcEngine](https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-formulas#calculation-engine) objects and retrieves calculated values of formulas in a worksheet.

0 commit comments

Comments
 (0)