Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: Performance Metrics for the Syncfusion Excel to PDF conversion
description: This section provides benchmark results and performance metrics for converting Excel files to PDF using the Syncfusion Excel (XlsIO) library.
platform: document-processing
control: XlsIO
documentation: UG
---

# Performance Metrics for Excel to PDF Conversion

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.

<table>
<tr>
<th>Data type</th>
<th>Time Taken (sec)</th>
<th>Sample Link</th>
</tr>
<tr>
<td>Text</td>
<td>121</td>
<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>
</tr>
<tr>
<td>DateTime</td>
<td>112</td>
<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>
</tr>
<tr>
<td>Number</td>
<td>107</td>
<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>
</tr>
<tr>
<td>Boolean</td>
<td>83</td>
<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>
</tr>
<tr>
<td>Formula</td>
<td>104</td>
<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>
</tr>
</table>

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>.
167 changes: 33 additions & 134 deletions Document-Processing/Excel/Excel-Library/NET/Performance-Metrics.md
Original file line number Diff line number Diff line change
@@ -1,187 +1,86 @@
---
title: Performance Metrics of the Syncfusion Excel (XlsIO) Library
description: This section provides an overview of the performance capabilities of the Syncfusion Excel (XlsIO) Library.
title: Performance Metrics for Syncfusion Excel (XlsIO) Library
description: This section provides benchmark results and insights into the performance capabilities of the Syncfusion Excel (XlsIO) library across various operations.
platform: document-processing
control: XlsIO
documentation: UG
---

# Performance Metrics in Excel (XlsIO) Library

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.

## Open and Read

The table below illustrates the performance of data types for open operations.

<table>
<tr>
<th>Data types</th>
<th>Test case Matrix (Open)</th>
<th>XlsIO (ms)</th>
<th>Sample</th>
</tr>
<tr>
<td>String</td>
<td>150 rows * 10000 columns</td>
<td>2213</td>
<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>
</tr>
<tr>
<td>DateTime</td>
<td>150 rows * 10000 columns</td>
<td>1369</td>
<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>
</tr>
<tr>
<td>Number</td>
<td>150 rows * 10000 columns</td>
<td>1151</td>
<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>
</tr>
<tr>
<td>Boolean</td>
<td>150 rows * 10000 columns</td>
<td>1173</td>
<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>
</tr>
<tr>
<td>Formula</td>
<td>150 rows * 10000 columns</td>
<td>1545</td>
<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>
</tr>
</table>

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>.

The table below illustrates the performance of data types for read operations.

<table>
<tr>
<th>Data types</th>
<th>Test case Matrix (Read)</th>
<th>XlsIO (ms)</th>
<th>Sample</th>
</tr>
<tr>
<td>String</td>
<td>150 rows * 10000 columns</td>
<td>139</td>
<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>
</tr>
<tr>
<td>DateTime</td>
<td>150 rows * 10000 columns</td>
<td>506</td>
<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>
</tr>
<tr>
<td>Number</td>
<td>150 rows * 10000 columns</td>
<td>294</td>
<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>
</tr>
<tr>
<td>Boolean</td>
<td>150 rows * 10000 columns</td>
<td>99</td>
<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>
</tr>
<tr>
<td>Formula</td>
<td>150 rows * 10000 columns</td>
<td>165</td>
<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>
</tr>
</table>

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>.
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.

## Create and Save

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

<table>
<table>
<tr>
<th>Data types</th>
<th>Test case Matrix (Create)</th>
<th>XlsIO (ms)</th>
<th>Sample</th>
<th>Data type</th>
<th>Time Taken (sec)</th>
<th>Sample Link</th>
</tr>
<tr>
<td>String</td>
<td>150 rows * 10000 columns</td>
<td>1177</td>
<td>Text</td>
<td>13</td>
<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>
</tr>
<tr>
<td>DateTime</td>
<td>150 rows * 10000 columns</td>
<td>2301</td>
<td>15</td>
<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>
</tr>
<tr>
<td>Number</td>
<td>150 rows * 10000 columns</td>
<td>436</td>
<td>5</td>
<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>
</tr>
<tr>
<td>Boolean</td>
<td>150 rows * 10000 columns</td>
<td>422</td>
<td>5</td>
<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>
</tr>
<tr>
<td>Formula</td>
<td>150 rows * 10000 columns</td>
<td>4089</td>
<td>35</td>
<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>
</tr>
</table>

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>.

The table below illustrates the performance of data types for save operations.
## Load and Read

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.

<table>
<tr>
<th>Data types</th>
<th>Test case Matrix (Save)</th>
<th>XlsIO (ms)</th>
<th>Sample</th>
<th>Data type</th>
<th>Time Taken (sec)</th>
<th>Sample Link</th>
</tr>
<tr>
<td>String</td>
<td>150 rows * 10000 columns</td>
<td>1422</td>
<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>
<td>Text</td>
<td>9</td>
<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>
</tr>
<tr>
<td>DateTime</td>
<td>150 rows * 10000 columns</td>
<td>1270</td>
<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>
<td>5</td>
<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>
</tr>
<tr>
<td>Number</td>
<td>150 rows * 10000 columns</td>
<td>916</td>
<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>
<td>6</td>
<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>
</tr>
<tr>
<td>Boolean</td>
<td>150 rows * 10000 columns</td>
<td>781</td>
<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>
<td>4</td>
<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>
</tr>
<tr>
<td>Formula</td>
<td>150 rows * 10000 columns</td>
<td>1222</td>
<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>
<td>9</td>
<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>
</tr>
</table>

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>.
</table>

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ documentation: UG

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.

To quickly learn How to Apply Conditional Formatting in Excel Using .NET Excel Library, check out this video:
{% youtube "https://www.youtube.com/watch?v=S1lkNLV70hc" %}

## Create a Conditional Format 

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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ keywords: c#, vb.net, excel, read excel, edit excel, edit excel cell, excel form

[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.

To quickly learn How to Work with Formulas in an Excel Using the .NET Excel Library, check out this video:
{% youtube "https://www.youtube.com/watch?v=SjHcYYvVSF4" %}

## Enable and Disable Calculation

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.
Expand Down