msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
20 stars 12 forks source link

Report builder: report how long it takes to generate a report #3537

Open clemens-msupply opened 6 months ago

clemens-msupply commented 6 months ago

Is your feature request related to a problem? Please describe 👀

When creating a new report its sometimes useful to know how long it took to execute a query or to generate a report.

Describe the solution you'd like 🎁

In the print_report_definition endpoint return the following times:

Report these values when printing a report through the report build cli.

Describe alternatives you've considered 💭

Just log these values on the remote server. However, the report designer would have to check the logs to see how fast a report is generated.

craigdrown commented 4 weeks ago

This seems low value for now- we aren't doing much logic in Tera and aren't making PDFs by default?