¿ªÔÆÌåÓý

Locked Slow loading file with JMRI 4.7.4ish


David Parks
 

I have posted a problem file named SensorLoad.xml in the yahoo group upload
area (via Leo).



This file contains only Internal Sensors. Windows 10



4.6.0 - manual load time about 1 seconds

4.6.0 - auto load time about 2 seconds



4.7.4ish - manual load time 41 seconds

4.7.4ish - auto load time 21 seconds



I have tried a large number of variations of this file and found that simple
numeric names with no user names load faster, but still around 50 times
slower in 4.7.4 then in 4.6.0. The empty panel is displayed to make it
easier to see when the Sensors are finished loading. We have tried the same
load test in versions later than 4.7.4 and not found a difference in timing.
The discrepancy in Load time is not unique to Sensors and follows the same
pattern with complex files with many classes of entities.



David Parks

Los Altos, CA


 

Thanks for providing the file. That helps a lot.

The largest amount of time was spent re-loading some parts of the Logix user interface as the sensors were loaded. Each time, the comboboxes for selecting a sensor were being recreated from scratch. As they got larger, that got slower.

PR #3715 has a proposed fix, which should be in development builds later today.



Bob

On Jul 3, 2017, at 11:53 AM, 'David Parks' bearwestern@... [jmriusers] <jmriusers@...> wrote:

I have posted a problem file named SensorLoad.xml in the yahoo group upload
area (via Leo).

This file contains only Internal Sensors. Windows 10

4.6.0 - manual load time about 1 seconds

4.6.0 - auto load time about 2 seconds

4.7.4ish - manual load time 41 seconds

4.7.4ish - auto load time 21 seconds

I have tried a large number of variations of this file and found that simple
numeric names with no user names load faster, but still around 50 times
slower in 4.7.4 then in 4.6.0. The empty panel is displayed to make it
easier to see when the Sensors are finished loading. We have tried the same
load test in versions later than 4.7.4 and not found a difference in timing.
The discrepancy in Load time is not unique to Sensors and follows the same
pattern with complex files with many classes of entities.

David Parks

Los Altos, CA




--
Bob Jacobsen
rgj1927@...