You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created simple report in JasperStudio (Only one H1 text header and two parameters). Via Laravel 10 rest api I am starting $jasper->process... with above mentioned two text parameters, which I am passing through the API. Route is only behind the basic laravel api middleware. When I run the route for generating report via postman, response time is about 10-12s. When I run the same command (which I got with the output method) in terminal, report is done by 4-5s. In both cases, I have noticed, that java app is opened with some delay. ~3-4s in first scenario, ~2s in second scenario. Also I have tried to use just plain exec() with command from output, but the result is the same.
Anyway, this is also not good performance for such a easy report. Therefore, I would like to ask, why the response time is so long? Thank you in advanced for the help.
I am using Mac OSX 14 (Sonoma), PHP 8 an Laravel 10, java v1.8.
Here is command: '/Users/svoby/www/localhost/test/vendor/geekcom/phpjasper-laravel/src/../bin/jasperstarter/bin/jasperstarter -v process "/Users/svoby/www/localhost/test/resources/reports/contacts/contact_detail.jrxml" -o "/Users/svoby/www/localhost/test/storage/reports/contact_detail" -f pdf -P firstname="John" surname="Doe"';
The text was updated successfully, but these errors were encountered:
Hello,
I have created simple report in JasperStudio (Only one H1 text header and two parameters). Via Laravel 10 rest api I am starting
$jasper->process...
with above mentioned two text parameters, which I am passing through the API. Route is only behind the basic laravel api middleware. When I run the route for generating report via postman, response time is about 10-12s. When I run the same command (which I got with the output method) in terminal, report is done by 4-5s. In both cases, I have noticed, that java app is opened with some delay. ~3-4s in first scenario, ~2s in second scenario. Also I have tried to use just plain exec() with command from output, but the result is the same.Anyway, this is also not good performance for such a easy report. Therefore, I would like to ask, why the response time is so long? Thank you in advanced for the help.
I am using Mac OSX 14 (Sonoma), PHP 8 an Laravel 10, java v1.8.
Here is command:
'/Users/svoby/www/localhost/test/vendor/geekcom/phpjasper-laravel/src/../bin/jasperstarter/bin/jasperstarter -v process "/Users/svoby/www/localhost/test/resources/reports/contacts/contact_detail.jrxml" -o "/Users/svoby/www/localhost/test/storage/reports/contact_detail" -f pdf -P firstname="John" surname="Doe"';
The text was updated successfully, but these errors were encountered: