Last Comment Bug 574017 - make node_child_of relation for ARIA trees perfromant
: make node_child_of relation for ARIA trees perfromant
: access
Product: Core
Classification: Components
Component: Disability Access APIs (show other bugs)
: unspecified
: All All
-- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: alexander :surkov
Depends on:
Blocks: cleana11y a11yperf
  Show dependency treegraph
Reported: 2010-06-23 09:41 PDT by alexander :surkov
Modified: 2011-07-25 17:43 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image alexander :surkov 2010-06-23 09:41:37 PDT
Currently it uses nsIAccessible::GetPreviousSibling() what was never performant and iterates children from the start. After the bug 573955 this problem should go away but any way it uses nsIAccessible to traverse the tree. We should get rid this. I think it makes sense to combine it with nsAccesisble::GetLevelInternal() method if there's a nice way at least they have the same logic.
Comment 1 User image Trevor Saunders (:tbsaunde) 2011-07-25 14:32:20 PDT
Alex, this should be fast now right?
Comment 2 User image alexander :surkov 2011-07-25 17:43:07 PDT
(In reply to comment #1)
> Alex, this should be fast now right?

right, even more than bug states, node_child_of relation for ARIA trees is exposed based on group information and thus smart. Fixed by bug 575576.

Note You need to log in before you can comment on or make changes to this bug.