Skip to content

Commit c36bd51

Browse files
995361-PerformanceMetrics
1 parent b1013d1 commit c36bd51

File tree

5 files changed

+5
-6
lines changed
  • Performance Metrics/Create
    • Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type
    • DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type
    • Formula Data Type/.NET/Formula Data Type/Formula Data Type
    • Number Data Type/.NET/Number Data Type/Number Data Type
    • String Data Type/.NET/String Data Type/String Data Type

5 files changed

+5
-6
lines changed

Performance Metrics/Create/Boolean Data Type/.NET/Boolean Data Type/Boolean Data Type/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static void Main(string[] args)
1616

1717
int count = 0;
1818

19-
//Fill 10,000 rows × 50 columns with boolean
19+
//Fill 100,000 rows × 50 columns with boolean
2020
for (int row = 1; row <= 100000; row++)
2121
{
2222
for (int column = 1; column <= 50; column++)

Performance Metrics/Create/DateTime Data Type/.NET/DateTime Data Type/DateTime Data Type/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static void Main(string[] args)
1616

1717
DateTime dateTime = new DateTime(1900, 1, 1);
1818

19-
//Fill 10,000 rows × 50 columns with date
19+
//Fill 100,000 rows × 50 columns with date
2020
for (int row = 1; row <= 100000; row++)
2121
{
2222
for (int column = 1; column <= 50; column++)

Performance Metrics/Create/Formula Data Type/.NET/Formula Data Type/Formula Data Type/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ static void Main(string[] args)
1414
IWorkbook workbook = application.Workbooks.Create(1);
1515
IWorksheet sheet = workbook.Worksheets[0];
1616

17-
//Fill 10,000 rows × 50 columns with formula
17+
//Fill 100,000 rows × 50 columns with formula
1818
for (int row = 2; row <= 100000; row++)
1919
{
2020
for (int column = 1; column <= 50; column++)
2121
{
22-
//Fill 10,000 rows × 150 columns with formula
2322
sheet.SetFormula(row, column, "IF(A1>10,SUM(A1,10),10)");
2423
}
2524
}

Performance Metrics/Create/Number Data Type/.NET/Number Data Type/Number Data Type/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static void Main(string[] args)
1818

1919
int count = 0;
2020

21-
//Fill 10,000 rows × 50 columns with number
21+
//Fill 100,000 rows × 50 columns with number
2222
for (int row = 1; row <= 100000; row++)
2323
{
2424
for (int column = 1; column <= 50; column++)

Performance Metrics/Create/String Data Type/.NET/String Data Type/String Data Type/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static void Main(string[] args)
1616
IWorksheet sheet = workbook.Worksheets[0];
1717

1818
int count = 0;
19-
// Fill 10,000 rows × 50 columns with string
19+
// Fill 100,000 rows × 50 columns with string
2020
for (int row = 1; row <= 100000; row++)
2121
{
2222
for (int column = 1; column <= 50; column++)

0 commit comments

Comments
 (0)