Data Repeater Performace
Comments
-
I have a project that I’m trying to improve performance on.
The process I’m specifically trying to improve
[ul][li]reads data from an excel sheet,[/li][li]uses that data to create a list of entities, and[/li][li]loads that list into a data repeater on a form.[/li][/ul]Currently, it takes about 2 ½ minutes for the form to load 250 records. I tested with a blank form and data repeater without any rules or data flows, and that loaded in about 20 seconds. What steps can I take to minimize load time?
-
[b]Any Validation Rules, Data Flows, and Visibility Rules in the source control of your Data Repeater will compound the load time of a Data Repeater.[/b]
[b]
[/b]
More complexity directly correlates to a longer load time with this component, as everything that will run for one of the items in a list has to run for all of them. Larger lists also correlate to longer load times, as it increases the number of times everything in the source control has to execute.Consider this case: If you have Data Flow with a complex SQL query or an API call - the execution time of each query or API call is multiplied by the number of items in the list mapped into your Data Repeater and added to the forms load time without that Data Flow. IF the data requires these operations, and will always be a large dataset, then a Form with a Data Repeater is not the right tool for the job. It will always be faster to have a [url=https://documentation.decisions.com/docs/using-flow-source-report]Flow-Sourced Report[/url] that is cached (optional) to do something like this.
Howdy, Stranger!
Categories
- 4.2K All Categories
- 64 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 261 Administration
- 212 Portal
- 490 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 220 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 76 Lunch And Learn Questions