Skip to main content
7 events
when toggle format what by license comment
Mar 24, 2023 at 19:38 comment added Doc Brown @user8400863: and- what did your performance measurements tell you? Did you measure Read_Azure_IoT_Device_For_App_Graph_View, data_device.OrderByDescending, JsonConvert.SerializeObject(result); and StreamReader(req.Body).ReadToEndAsync();individually, as I told you? BTW, when you post code, please care for indentation and formatting.
Mar 24, 2023 at 18:54 comment added user8400863 Sorry I have updated my original post but was not sure should i post my code due to restrictions, but i have shown all the key steps i am doing
Mar 23, 2023 at 19:43 comment added Doc Brown @user8400863: if you comment out the "add" method, the list Read_device_data_plot_data will be empty. What you did not show us is what happens with that list afterwards - and which may cause the performance issues, ot not - I don't have a crystal ball. Node also coding and debugging help is off-topic for this site.
Mar 23, 2023 at 15:31 comment added user8400863 Is there anything that can be Visual Studio, that can help find the cause of the problem?
Mar 23, 2023 at 15:24 comment added user8400863 Please see my updated post with my updated code example. If I were to comment out the .add method, then extracting and reading the data from my database does not take much time. It seems like updating the table multiple times is slowing the overall performance
Mar 23, 2023 at 6:54 history edited Doc Brown CC BY-SA 4.0
added 164 characters in body
Mar 23, 2023 at 6:47 history answered Doc Brown CC BY-SA 4.0