Home » Eclipse Projects » Eclipse Scout » [NEON] Scrolling/editing tables is very slow in Internet Explorer
[NEON] Scrolling/editing tables is very slow in Internet Explorer [message #1720810] |
Thu, 21 January 2016 08:53 |
Silvio Kohler Messages: 31 Registered: October 2015 |
Member |
|
|
We have built a Scout NEON application (HTML UI). The Application has tables in forms (TableField).
On all tested environments, the performance of the application is good, despite the rendering of tables when using IE, which is very slow.
In Chrome, the tables load very fast, scrolling is "smooth". Editing of table cells has no latency (when clicking in the cell).
In IE, the table loading is a little slower (still ok), but scrolling is nearly impossible, as well as editing a table cell (10 seconds and more after clicking the cell before a value can be entered).
Test cases:
Opening and scrolling through a...
- Table with only 1 column, 100 rows, cells not editable, no colors, no calculations.
- Table with only 1 column, 1'000 rows, cells not editable, no colors, no calculations.
- Table with 15 columns, 300 rows, cells not editable, no colors, no calculations.
- Table with 15 columns, 300 rows, editable cells, different colors for total rows, calculation of total rows and columns when editing a cell.
Test environments:
1) PC with Intel Core2 Duo 3 GHz, 2 GB RAM, Win 8.1 (Chrome and IE 11.0.9600)
2) PC with Intel i5/2.7 GHz, 4 GB RAM, Win 7 (only IE 11.0.9600 available)
3) PC with Intel i7/3.4 GHz, 8 Cores, 12 GB RAM, Win 7 (Chrome and IE 11.0.9600)
Results:
Using IE 11:
- On environment 1 using IE, scrolling in the table is impossible. When scrolling in the table, CPU usage is on 50% (100% for one Core ?). RAM usage is below maximum.
- Roughly the same result was measured on environment 2 with IE.
- On environment 3 using IE, scrolling is "quite" smooth. Not as smooth as with Chrome, but still ok. CPU usage stays low (only little increase when scrolling, in contrast to the other environments).
Using Chrome:
- On all 3 environments, when using Chrome, the performance is very good (for environment 2, test with Chrome is not possible as no Chrome available, but I guess the performance would also be good).
It seems as if the number of rows in the table has the most influence on performance. A table with 100 rows is still "working" (scrolling is not smooth, but possible). A table with 300 rows cannot be used anymore (on environment 1 and 2 using IE).
My conclusion:
Table rendering of a scout table in Internet Explorer needs a lot of CPU. Thus, using a Scout application on a PC that does not have a very fast CPU is not possible with IE.
Does anyone have the same experience with IE (or a contrary experience, which would mean that something is wrong with my setup)?
Best
Silvio
|
|
| | | | |
Re: [NEON] Scrolling/editing tables is very slow in Internet Explorer [message #1720873 is a reply to message #1720846] |
Thu, 21 January 2016 15:32 |
Silvio Kohler Messages: 31 Registered: October 2015 |
Member |
|
|
Thank you Claudio
Currently I'm trying to migrate to M4 and nightly to test the performance. With no success so far.
Migration to M4:
- Downloaded an eclipse Neon M4 from https://www.eclipse.org/downloads/packages/eclipse-scout-developers/neonm4a
- Added the m2e connectors
- Imported my existing M3 project
- Changed the imports where necessary.
Problem. There are a lot of classes that do not exist anymore. Example: the shorthand for AbstractSQLService (SQL), AbstractSQLService itself, the @Server annotation, AbstractSqlLookupService.
I couldn't find information about these classes in the Migration Guide (https://tools.bsiag.com/scoutbook/5.2/latest/scout_migration/scout_migration/scout_migration_guide.html).
Do you know what happened to these classes?
Migration to Nightly:
- In my eclipse Neon M4 installation, installed Scout SDK nightly via the udpatesite (http://download.eclipse.org/scout/nightly/)
- Tried to change the maven dependencies to get the RT as well, but: what are the exact values I have to set for...
- org.eclipse.scout.rt_version
- maven_rt_plugin_config-master
Are there any other configurations I need to change?
Thanks
--EDIT
I could now change to SNAPSHOT by setting org.eclipse.scout.rt_version to 5.2.0-SNAPSHOT (hope this is the nightly build).
The Result is the same as with 5.2.0.M4: The SQL supporting class are missing. Namely:
- SQL
- AbstractSqlLookupService
- AbstractSQLService
Regarding the @Server annotation: I just removed it, as the HelloWorldFormService in a newly created project also does not have this annotation anymore. So my guess is that it is not needed anymore. Will test it when above issues are solved.
[Updated on: Thu, 21 January 2016 17:07] Report message to a moderator
|
|
| |
Re: [NEON] Scrolling/editing tables is very slow in Internet Explorer [message #1721151 is a reply to message #1720966] |
Mon, 25 January 2016 09:21 |
Silvio Kohler Messages: 31 Registered: October 2015 |
Member |
|
|
Thanks, Judith.
I've also found the new dependency entry for jdbc in the server pom (by comparing the pom files of the contacts app with the pom files of my project). I still don't understand why this entry is needed, as I found it already in the "effective POM" view of the parent pom before adding it to the server pom.
I set the the maven_rt_plugin_config-master to 2.0.3, as in the contacts app. It works so far. Do I need to set it to 2.0.4? What is the difference? What does maven_rt_plugin_config-master mean?
Additional changes I had to do for migration from 5.2.0-M3 to 5.2.0-SNAPSHOT (maybe helps others):
- I had to change the private/public key pair of Server and HTML-Client in the config.properties files. Don't know why, but got a SecurityException before.
- In execLoadSession of ServerSession, I had a method which only worked for "real" users, not for the "system" user. This worked with 5.2.0-M3. My conclusion is that with this version, execLoadSession was not called for "system". With 5.2.0-SNAPSHOT, it is called. Thus I have to care for the system user in this method.
- If <master_sanity_checksSkip>true</master_sanity_checksSkip> is used (I have set it in the parent pom), it will not work anymore. It's renamed to <master_sanityCheck_skip>true</master_sanityCheck_skip>.
- If you have your own CSS files (like colors-[myname].css), it might not work anymore, as the "template" has changed. Copy the
- In the logback.xml and logback-test.xml files, change the class name of LevelRangeFilter to org.eclipse.scout.rt.platform.logger.LevelRangeFilter.
[Updated on: Mon, 25 January 2016 12:30] Report message to a moderator
|
|
| | | | |
Goto Forum:
Current Time: Thu Apr 25 19:36:45 GMT 2024
Powered by FUDForum. Page generated in 0.03636 seconds
|