migration from PHP-FLEX to new PHP-JS, loading way too slow

Stimulsoft Reports.PHP discussion
Post Reply
simbawave
Posts: 9
Joined: Sun Jan 17, 2021 3:47 am

migration from PHP-FLEX to new PHP-JS, loading way too slow

Post by simbawave »

hi stimulsoft,

as i'm trying to migrate my old reports to PHP-JS (reports.php), i just found that the new reports.php is way too slow to show the reports.
am i alone experiencing this or probably i have to do with another way, like it can't be just load the old mrt files and go.

this is with flex/flash:
PHP vs Flex - 1.jpg
PHP vs Flex - 1.jpg (261.59 KiB) Viewed 20873 times
it takes only a few seconds to show 5 pages. i tried flex by set the date back on 2020 so i can see that. i know flash is completely dead by now.
so my solution is migrating to reports.php.

while this is with new reports.php
PHP vs Flex - 2.jpg
PHP vs Flex - 2.jpg (90.59 KiB) Viewed 20873 times
it's still loading showing circle or progress bar after 10 mins, just for the same report. 5 pages only.
in the designer, i can preview really fast, even faster than flex report.
PHP vs Flex - 3.jpg
PHP vs Flex - 3.jpg (345.59 KiB) Viewed 20872 times
here is my mrt file.
payrollout.mrt
(84.4 KiB) Downloaded 199 times
the funny thing is... i have similar report, which has even 11 pages.
the report load really fast, it takes only a few seconds.
PHP vs Flex - 4.jpg
PHP vs Flex - 4.jpg (288.79 KiB) Viewed 20872 times
please kindly enlighten me what should i do in this new reports.php to load the reports.
sometimes i have to load about 80-100 pages in some reports.

many thanks
Attachments
PHP vs Flex - 2.jpg
PHP vs Flex - 2.jpg (90.59 KiB) Viewed 20872 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: migration from PHP-FLEX to new PHP-JS, loading way too slow

Post by Lech Kulikowski »

Hello,

Please send us a test data for your report. To say something about the issue we need to run the report.

Thank you.
simbawave
Posts: 9
Joined: Sun Jan 17, 2021 3:47 am

Re: migration from PHP-FLEX to new PHP-JS, loading way too slow

Post by simbawave »

here is the data sample to reproduce this case
profilepabrik.rar
(379 Bytes) Downloaded 197 times
rekapgajiview.csv
(606.09 KiB) Downloaded 199 times
for this moment, i use publish setting for reports.php for request from user.
then i modify index.php and handler.php.
payrollregular.zip
(1.42 KiB) Downloaded 189 times
doing this way makes the reports load the data fast.

it's ok, i can deal with this solution.
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: migration from PHP-FLEX to new PHP-JS, loading way too slow

Post by Lech Kulikowski »

Hello,

Please send us the creating and inserting script for "rekapgajiview".
Also, in your code is used
report.dictionary.variables.getByName("kodepr").requestFromUser = true;

but in your report that variable is not added.

Thank you.
Post Reply