ClosedXML.Report icon indicating copy to clipboard operation
ClosedXML.Report copied to clipboard

Performance issue with double grouping

Open enverkrinickii opened this issue 2 years ago • 3 comments

Hi I ran into a performance issue with double grouping. On tab1, tab2 and tab3 contain about 5000 lines tab1 and tab3 are created using ClosedXml.Report, tab2 is created using ClosedXml, the script itself runs (used Stopwatch in the script) in 7 seconds, and do not affects performance. I checked without double grouping, with one, it works for about 2 seconds, with double grouping it is generated in 4 minutes. Double drouping.zip

image 177525646-5e215251-c24f-4d45-8d26-c755a85804d5

enverkrinickii avatar Jul 06 '22 10:07 enverkrinickii

UPD: in first screenshoot generation was between: 10:01:51 and generated in 10:03:23 in the second: 7:39:22 and 7:47:01

enverkrinickii avatar Jul 06 '22 10:07 enverkrinickii

Please, check if performance got better with the latest develop branch: in recent versions on ClosedXML there were significant improvents, this might have helped.

Pankraty avatar Jul 27 '23 21:07 Pankraty

Hi I ran into a performance issue with double grouping. On tab1, tab2 and tab3 contain about 5000 lines tab1 and tab3 are created using ClosedXml.Report, tab2 is created using ClosedXml, the script itself runs (used Stopwatch in the script) in 7 seconds, and do not affects performance. I checked without double grouping, with one, it works for about 2 seconds, with double grouping it is generated in 4 minutes. Double drouping.zip

image 177525646-5e215251-c24f-4d45-8d26-c755a85804d5

Delete

dakidd88 avatar Oct 12 '23 14:10 dakidd88