BIRT:PDF - 生成时间
我有一份报告,其中预览的 html 生成大约需要 39 秒。 当我尝试预览 pdf 格式的报告时,4 分钟内就完成了。 这正常吗? 我的其他报告最多有大约 50% 的时间差异。 如果不正常,我怎样才能加快pdf报告的生成速度?
谢谢! (BIRT 2.1.3,RCP 设计器)
I'have a report, where the html generation for a preview takes about 39 seconds. When i try to preview the report in pdf, it's not done in 4 Minutes. Is that normal? My other reports have about 50% time - diference at maximum.
If its not normal, how can i speed up the report generation in pdf?
Thanks!
(BIRT 2.1.3, RCP Designer )
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为 PDF 的生成时间比 HTML 增加 6 倍是不可预期的。
我的大多数报告导出为 PDF 的时间不超过导出为 HTML 的两倍。 XLS 导出介于 HTML 和 PDF 之间。
通过分割一些数据集并组合其他数据集,我能够在执行时间上获得一些优化。 一些实验可能会给您带来一些好的结果。
然而,需要注意的关键一点是,我的优化遍及所有导出类型,而不仅限于 PDF。
这并没有多大帮助,但它给了你一些尝试的机会。
I would say 6x increase in generation time for PDF over HTML is not to be expected.
Most of my reports take no more than twice as long to export to PDF than they do to HTML. XLS export is in between HTML and PDF.
I was able to gain some optimisation on execution time by splitting up some data sets, and combining others. Some experimentation may provide you with some good results.
However a key thing to note was that my optimisation was spread across all export types, not just limited to PDF.
That isn't really much help, but it gives you something to try.