Pending Review
Last Updated: 11 Dec 2017 22:00 by Joel
Created by: Joel
Comments: 0
Category: Ajax
Type: Bug Report
0
I have a RadGrid with several thousand elements on it. In attempting to improve performance, the Visual Studio profiler informed me that it spent more than half of the request in PopulatePlainPanels checking whether something was in a list. (see attached before.png)

I changed the type of the variable plainPanelsClientIDs in RadAjaxControl.cs to be a HashSet<string> instead of a List<string>. As a knock-on effect, I had to import System.Linq into RadAjaxManager.cs to get the .toArray() call to work.

The result in the attached after.png shows the percentage of execution time dropped from 55% to 3%.

I'd appreciate it if the team would evaluate this change for inclusion in future releases.

Note 1: I have not done extensive testing on this, so I don't know what might break. The variable isn't referenced much, so the only thing I'm suspicious of is reflection, which I didn't check for and don't expect.
Note 2: If importing Linq is undesirable, a more manual conversion to an array can be done pretty easily.
Note 3: plainPanelsClientIDs is .add() 'ed to in two places, and both check for membership before being called. This shouldn't be necessary for a HashSet, which simply doesn't add if it's there. This seems a very minor improvement, but I didn't actually try it yet.
Pending Review
Last Updated: 20 Sep 2018 11:37 by Tech
Operate Malware Bytes Antivirus account now and perform any of the Antivirus tasks seamlessly. It is an assurance that tech support guys always guide for following user-friendly solutions, no matter when you are calling; support is always there to cope with undue matters. Avail all time help and support now! more info :-
http://www.24x7livesolution.com/malwarebytes-customer-service.html
http://www.24x7livesolution.com/blog/malware-bytes-activation-key-is-not-working-call-1-888-272-6111-toll-free/
Pending Review
Last Updated: 18 Nov 2018 05:27 by Arica
The technical team of Quick Heal has the best solutions available at hand because Quick Heal ensures that its technical team is fully of air of the latest technological advancements. The solutions can be easily accessed by the customers via Quick Heal contact number which is a toll free number.   More Info :-  https://www.chosesupport.com/quick-heal-support.html
https://www.chosesupport.com/
https://www.chosesupport.com/contact.html
https://www.chosesupport.com/disclaimer.html
https://www.chosesupport.com/privacy.html