Skip to content

ExportAsByteArray 实体属性很多的情况下速度很慢 #514

@handloong

Description

@handloong

Expected behaviour

17000条数据, 对应的实体属性大约 80多列.期望执行ExportAsByteArray的时候速度能变快.

Actual behaviour

17000条数据, 对应的实体属性大约 80多列, 耗时用了接近50秒

image

image

同样的数据,同样的代码,如果我把属性只改成3个,导出速度非常快. 可是需求是要导出80多列,后期还要加..
image

I'm seeing this behaviour on

  • Magicodes.IE.Excel
  • Magicodes.IE.Pdf
  • Magicodes.IE.Word
  • Magicodes.IE.Csv
  • Magicodes.IE.Html
  • Magicodes.IE.AspNetCore

package versions

Magicodes.IE.Excel 2.7.4.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions