Menu

#449 Large tables load and react slow

v1.1.x
fixed
None
v1.1.1
Bug Fix
2019-08-19
2019-02-28
Erik Hänel
No

Large tables, which shall be shown in a grid, load and react on cursor movements really slow.

Analysis:

Connected to changes in [#223]. The Grid is blocked, because the EVT_GRID_RANGE_SELECT is thrown at the begin of a selection containing the coordinates of the whole grid. This indicates the de-selection of the grid, but is not handled correctly. To speed up the whole process, it is probably needed to change the conversion of the double table into a string table.

Implementation:

  • Implementation: The fix was processed as proposed by the analysis.
  • Revision: [r485]
  • Implementation test: Tables are performing much better now.

Documentation:

  • ChangesLog: Updated
  • Comments: New code was commented sufficiently
  • Documentation articles: Not needed
  • Language files: Not needed

Tests:

This fix was tested manually. The performance is better, however, for large tables, a significant calculation time is still needed.

Related

Commit: [r485]
Tickets: #223

Discussion

  • Erik Hänel

    Erik Hänel - 2019-02-28
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2019-02-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,18 @@
     Large tables, which shall be shown in a grid, load and react on cursor movements really slow.
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* ChangesLog: (*Have you updated the changes log?*)
    +* Comments: (*Have you written comments in the code, which describe your change?*)
    +* Documentation articles: (*Have you updated the documentation articles?*)
    +* Language files: (*Have you updated the language files?*)
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2019-03-02
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Large tables, which shall be shown in a grid, load and react on cursor movements really slow.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +Connected to changes in [#223]. The Grid is blocked, because the `EVT_GRID_RANGE_SELECT` is thrown at the begin of a selection containing the coordinates of the whole grid. This indicates the de-selection of the grid, but is not handled correctly. To speed up the whole process, it is probably needed to change the conversion of the double table into a string table.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     

    Related

    Tickets: #223

  • Erik Hänel

    Erik Hänel - 2019-03-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,15 +4,15 @@
     Connected to changes in [#223]. The Grid is blocked, because the `EVT_GRID_RANGE_SELECT` is thrown at the begin of a selection containing the coordinates of the whole grid. This indicates the de-selection of the grid, but is not handled correctly. To speed up the whole process, it is probably needed to change the conversion of the double table into a string table.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: The fix was processed as proposed by the analysis.
    +* Revision: [r485]
    +* Implementation test: Tables are performing much better now.
    
     ###Documentation:
    -* ChangesLog: (*Have you updated the changes log?*)
    -* Comments: (*Have you written comments in the code, which describe your change?*)
    -* Documentation articles: (*Have you updated the documentation articles?*)
    -* Language files: (*Have you updated the language files?*)
    +* ChangesLog: Updated
    +* Comments: New code was commented sufficiently
    +* Documentation articles: Not needed
    +* Language files: Not needed
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r485]
    Tickets: #223

  • Erik Hänel

    Erik Hänel - 2019-08-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -15,4 +15,4 @@
    
     * Language files: Not needed
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +This fix was tested manually. The performance is better, however, for large tables, a significant calculation time is still needed.
    
    • status: testing --> fixed
     

Anonymous
Anonymous

Add attachments
Cancel