Skip to content

Commit ee7611b

Browse files
author
Website Automation
committed
Merge remote-tracking branch 'remotes/origin/IN-213304-Resolve-2025-vol4-mainrelease-dev-to-master-branch-merging-conflicts'
2 parents 2ed5215 + bd17b5c commit ee7611b

File tree

226 files changed

+591
-2410
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+591
-2410
lines changed

Document-Processing/Excel/Conversions/Chart-to-Image/NET/Chart-to-Image-Conversion.md

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,30 @@ The following code snippet shows how to convert an Excel chart to an image using
1919
{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/XlsIO-Examples/master/Chart%20to%20Image/Chart%20to%20Image/.NET/Chart%20to%20Image/Chart%20to%20Image/Program.cs,180" %}
2020
using (ExcelEngine excelEngine = new ExcelEngine())
2121
{
22-
//Initialize application
23-
IApplication application = excelEngine.Excel;
24-
25-
//Set the default version as Xlsx
26-
application.DefaultVersion = ExcelVersion.Xlsx;
22+
IApplication application = excelEngine.Excel;
23+
application.DefaultVersion = ExcelVersion.Xlsx;
2724

28-
//Initialize XlsIORenderer
29-
application.XlsIORenderer = new XlsIORenderer();
25+
// Initialize XlsIORenderer
26+
application.XlsIORenderer = new XlsIORenderer();
3027

31-
//Set converter chart image format to PNG or JPEG
32-
application.XlsIORenderer.ChartRenderingOptions.ImageFormat = ExportImageFormat.Png;
28+
//Set converter chart image format to PNG
29+
application.XlsIORenderer.ChartRenderingOptions.ImageFormat = ExportImageFormat.Png;
3330

34-
//Set the chart image quality to best
35-
application.XlsIORenderer.ChartRenderingOptions.ScalingMode = ScalingMode.Best;
31+
FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/InputTemplate.xlsx"), FileMode.Open, FileAccess.Read);
32+
IWorkbook workbook = application.Workbooks.Open(inputStream);
33+
IWorksheet worksheet = workbook.Worksheets[0];
3634

37-
//Open existing workbook with chart
38-
IWorkbook workbook = application.Workbooks.Open(Path.GetFullPath(@"Data/InputTemplate.xlsx"));
39-
IWorksheet worksheet = workbook.Worksheets[0];
40-
41-
//Access the chart from the worksheet
42-
IChart chart = worksheet.Charts[0];
35+
IChart chart = worksheet.Charts[0];
4336

44-
#region Save
45-
//Exporting the chart as image
46-
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Image.png"), FileMode.Create, FileAccess.Write);
47-
chart.SaveAsImage(outputStream);
48-
#endregion
37+
#region Save
38+
//Saving the workbook
39+
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Image.png"), FileMode.Create, FileAccess.Write);
40+
chart.SaveAsImage(outputStream);
41+
#endregion
4942

50-
//Dispose streams
51-
outputStream.Dispose();
43+
//Dispose streams
44+
outputStream.Dispose();
45+
inputStream.Dispose();
5246
}
5347
{% endhighlight %}
5448

Document-Processing/Excel/Conversions/Excel-to-PDF/NET/Performance-Metrics.md

Lines changed: 0 additions & 46 deletions
This file was deleted.
Lines changed: 134 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,187 @@
11
---
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.
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.
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 Excel (XlsIO) library when handling text, date and time, number, boolean, and formula data types during operations such as reading and creating Excel documents.
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>.
12100

13101
## Create and Save
14102

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.
103+
The table below illustrates the performance of data types for create operations.
16104

17-
<table>
105+
<table>
18106
<tr>
19-
<th>Data type</th>
20-
<th>Time Taken (sec)</th>
21-
<th>Sample Link</th>
107+
<th>Data types</th>
108+
<th>Test case Matrix (Create)</th>
109+
<th>XlsIO (ms)</th>
110+
<th>Sample</th>
22111
</tr>
23112
<tr>
24-
<td>Text</td>
25-
<td>13</td>
113+
<td>String</td>
114+
<td>150 rows * 10000 columns</td>
115+
<td>1177</td>
26116
<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>
27117
</tr>
28118
<tr>
29119
<td>DateTime</td>
30-
<td>15</td>
120+
<td>150 rows * 10000 columns</td>
121+
<td>2301</td>
31122
<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>
32123
</tr>
33124
<tr>
34125
<td>Number</td>
35-
<td>5</td>
126+
<td>150 rows * 10000 columns</td>
127+
<td>436</td>
36128
<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>
37129
</tr>
38130
<tr>
39131
<td>Boolean</td>
40-
<td>5</td>
132+
<td>150 rows * 10000 columns</td>
133+
<td>422</td>
41134
<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>
42135
</tr>
43136
<tr>
44137
<td>Formula</td>
45-
<td>35</td>
138+
<td>150 rows * 10000 columns</td>
139+
<td>4089</td>
46140
<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>
47141
</tr>
48142
</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>.
49145

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.
146+
The table below illustrates the performance of data types for save operations.
53147

54148
<table>
55149
<tr>
56-
<th>Data type</th>
57-
<th>Time Taken (sec)</th>
58-
<th>Sample Link</th>
150+
<th>Data types</th>
151+
<th>Test case Matrix (Save)</th>
152+
<th>XlsIO (ms)</th>
153+
<th>Sample</th>
59154
</tr>
60155
<tr>
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>
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>
64160
</tr>
65161
<tr>
66162
<td>DateTime</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>
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>
69166
</tr>
70167
<tr>
71168
<td>Number</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>
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>
74172
</tr>
75173
<tr>
76174
<td>Boolean</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>
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>
79178
</tr>
80179
<tr>
81180
<td>Formula</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>
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>
84184
</tr>
85-
</table>
86-
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>.

0 commit comments

Comments
 (0)