This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229666 - ElementUtils.findBySemanticRange() bad performance for implied elements
Summary: ElementUtils.findBySemanticRange() bad performance for implied elements
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2013-05-13 14:14 UTC by Exceptions Reporter
Modified: 2015-11-15 14:20 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter: 200262

nps snapshot (150.08 KB, application/nps)
2013-05-13 14:14 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-05-13 14:14:10 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7

User Comments:
GUEST: The probem is this html below, it have some framwork tags "<tpl:sehouver>" when change sometinhg the netbeans goes at freaze.

<title>Homolagar Tag Btg360</title>
<div class="titulo">
 <h1>Homologar Tag Btg360</h1>

<form method="post"> 
 <div class="cabecalho"><h2>Inserir o Html a ser analisado.</h2></div> 
 <div class="margem">
     <strong>Tipo de p&aacute;gina:</strong>
     <select name="pagina_parse">
         <option value="1">Home</option>
         <option value="2">Pagina - P
Comment 1 Exceptions Reporter 2013-05-13 14:14:13 UTC
Created attachment 134376 [details]
nps snapshot
Comment 2 Marek Fukala 2013-06-24 15:22:22 UTC
ElementUtils.findBySemanticRange() performs very badly if there's a lot of implied parse tree nodes which have no from-to offsets. In such case the alg. needs to dive into each node. Should be addressed somehow.