Abysmal Clone() performance #4271
Unanswered
michaelcsikos
asked this question in
Questions
Replies: 2 comments 10 replies
-
Are you cloning only once or multiple times? |
Beta Was this translation helpful? Give feedback.
4 replies
-
Is this on a low-end device like a phone or something? The data access (via the data portal) does at least one "clone" as it serializes and deserializes the data to flow over the network - or between the logical server and client if using Is it possible that the object is bound to the UI while it is being cloned? Maybe there's some weird data binding thing going on? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this particular app, users can have multiple views of the same data open at the same time with different filters, etc. When a record is saved, all the screens need to be reloaded. Instead of each screen hitting the database to reload, I want to load the list once and then provide a
Clone()
to each screen to bind its own grid.It seemed like a good idea until I ran some tests. Loading the list from the cloud database takes 1.7 s. Cloning the list is taking over 4.0 s. Why is it so?
Beta Was this translation helpful? Give feedback.
All reactions