Hi
I have a report that shows an RTF field and may well lead to producing hundreds of pages as it can span many records. Now the standard RB control does not support images so we added the richview control into RB and used that. If I test the report with the original RB control for rich text and the control from richview the RB control knocks it out the park and richview is rather slow. The actual RTF I'm using it is just Lorum Ipsum text with no graphics or pasted word documents.
Standard RB takes 6 seconds to produce 82 pages
RichView takes 46 seconds to produce 82 pages
Any ideas or pointers as to how to improve performance?
I have clients who produce a 1000 pages to PDF and it is taking an hour to do it.
Regards
Andrew
Delphi RIO 10.3
RB 19.03
RV 18.00
Performance issue with ppRichView in ReportBuilder
-
- Posts: 7
- Joined: Thu Nov 26, 2020 10:11 am
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Performance issue with ppRichView in ReportBuilder
Please send a sample RTF to me (zipped), to email richviewgmailcom
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Performance issue with ppRichView in ReportBuilder
I received the file, thank you!
I'll try to find the problem in the beginning of the next week, sorry for the delay.
I'll try to find the problem in the beginning of the next week, sorry for the delay.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Performance issue with ppRichView in ReportBuilder
Please send me a sample project as well.
I cannot reproduce this problem in my tests. When I did my tests, a preview of a report with our ppRichView is created in about 6 seconds, while a preview with the standard RB richtext is created in about 25 seconds.
I use RB20.03 and the newest version of TRichView, but I do not think that the version difference is so important.
I cannot reproduce this problem in my tests. When I did my tests, a preview of a report with our ppRichView is created in about 6 seconds, while a preview with the standard RB richtext is created in about 25 seconds.
I use RB20.03 and the newest version of TRichView, but I do not think that the version difference is so important.
-
- Posts: 7
- Joined: Thu Nov 26, 2020 10:11 am
Re: Performance issue with ppRichView in ReportBuilder
I have taken it down to a simple 1 record, 1 field BLOB table and the query is just SELECT * FROM... with no where clause. The report design is just a title and the detail is the dbrichview control and I get the performance the other way round from you with your richview running a lot slower. As you get yours running faster there has to be some issue with the way we have configured it into RB itself, something about our environment.
-
- Posts: 7
- Joined: Thu Nov 26, 2020 10:11 am
Re: Performance issue with ppRichView in ReportBuilder
Is there anything further I could do on this? We still have the performance issue and I can't see how to install TRichView in the wrong way. It uses the ppRichView.pas and creates two additional controls one for DB one not.
Do you have a compiled RB application I could try here to connect to our data?
Do you have a compiled RB application I could try here to connect to our data?
-
- Posts: 7
- Joined: Thu Nov 26, 2020 10:11 am
Re: Performance issue with ppRichView in ReportBuilder
Was your test done with a control with a number of configurable options changed from the defaults (ours runs all defaults)? Is there a way to tune the control?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Performance issue with ppRichView in ReportBuilder
A just placed an object on the report, set Stretched to true using the menu, and loaded RTF file.
I used non-DB version of objects.
Can you create a sample project reproducing the delay?
Maybe it is possible to do without a database?
I used non-DB version of objects.
Can you create a sample project reproducing the delay?
Maybe it is possible to do without a database?