Project

General

Profile

Actions

Task #663

open

Improve filter performance in space data tree

Added by Nicolas Aunai over 8 years ago. Updated almost 6 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
legacy
Target version:
-
Start date:
11/03/2016
Due date:
% Done:

90%

Estimated time:
revision:
r0
blocked:
No
Sprint:

Description

h1. Symptom

The data tree filter should filter data as the user types. It takes about 1 sec on my macbook air to filter "Doublestar" and I have to hit

Actions #1

Updated by Anonymous over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 20

After investigation, it seems that the lack in performance is due to :

  • a huge number of calls to Regexp's match function
  • the number of field tested for Regexp is too important (19 fields)
Actions #2

Updated by Anonymous over 8 years ago

  • % Done changed from 20 to 90

Performances increased a lot by pre-filtering on the data.
The proxy now only checks a data attribute, which takes a lot less time than the previous implementation. (check on parents and children for every node)

Still needs improvements to have a letter-by-letter filtering though.

Actions #3

Updated by Nicolas Aunai almost 6 years ago

  • Category set to legacy
Actions

Also available in: Atom PDF