Search for HTML elements pretty slow in 5.3.1
Posted: Wed Mar 25, 2015 5:09 pm
Hi,
While investigating another 5.3.1 issue, I noticed a strange slowdown, while searching for HTML elements. I'm pretty sure this did not happen in 5.2.3! Additionally, the same elements are highlighted almost instantly if selected from Studio repository or via Spy.
The slowdown happens only if the solution is started by F5 from Studio, both in Debug and Release mode. It does not happen if the solution is compiled and started from the command line (both Debug a Release).
Additionally, the search speed is OK while running the solution from Studio without attached debugger (by Ctrl+F5). But this is really weird, because running solution without attached debugger should have the same effect as running in Release mode or not?
Steps to reproduce:
- go to this page http://www.w3schools.com/html/tryit.asp ... html_table
- replace the existing HTML code with this one and press "See Result":
- load the attached project and try run it by F5 >>> you should experience significant delay while searching for elements
- switch build configuration to Release and run it again (by F5) >> still slow search
- now try to run it by Ctrl + F5 >> elements found instantly
While investigating another 5.3.1 issue, I noticed a strange slowdown, while searching for HTML elements. I'm pretty sure this did not happen in 5.2.3! Additionally, the same elements are highlighted almost instantly if selected from Studio repository or via Spy.
The slowdown happens only if the solution is started by F5 from Studio, both in Debug and Release mode. It does not happen if the solution is compiled and started from the command line (both Debug a Release).
Additionally, the search speed is OK while running the solution from Studio without attached debugger (by Ctrl+F5). But this is really weird, because running solution without attached debugger should have the same effect as running in Release mode or not?
Steps to reproduce:
- go to this page http://www.w3schools.com/html/tryit.asp ... html_table
- replace the existing HTML code with this one and press "See Result":
Code: Select all
<!DOCTYPE html>
<html>
<body>
<table border="1" style="width:50%">
<tr>
<td id="cust_1">cust_1</td>
<td id="serviceTime_1"></td>
</tr>
<tr>
<td id="cust_2">cust_2</td>
<td id="serviceTime_2"></td>
</tr>
<tr>
<td id="cust_3">cust_3</td>
<td id="serviceTime_3"></td>
</tr>
<tr>
<td id="cust_4">cust_4</td>
<td id="serviceTime_4"></td>
</tr>
<tr>
<td id="cust_5">cust_5</td>
<td id="serviceTime_5"></td>
</tr>
</table>
</body>
</html>
- switch build configuration to Release and run it again (by F5) >> still slow search
- now try to run it by Ctrl + F5 >> elements found instantly