View Issue Details

IDProjectCategoryView StatusLast Update
0000461SkyChart1-Softwarepublic10-10-30 10:10
Reportergrof Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSUbuntuOS Version8,19
Product Version3.0.1.5 SVN 
Target Version3.2Fixed in Version3.1 SVN 
Summary0000461: When using setup windows from menus it takes for ages to display window
DescriptionHi,
using Windows XP as host and Ubuntu as virual guest SkyChart works preaty slow, comparing to other programs like Firefox which consumes 2nd the most CPU time and time to do something. The ration between 1st (SkyChart) and 2nd (Firefox) is SkyChart is 10-times slower.

SkyChart especialy works very slow when using setup windows. For example click on Setup | All configuration options opens in 4 seconds. Click on System from left menu takes one second. Click on Language less then 1 second. Click on language drop down menu 11 seconds! Click on OK button 6 seconds. So it takes me a minut to set any settings at all, but if I try to set many settings I wait for ages.

I used "top" command from terminal to see what is going on and I see 50% of CPU is consumed by SkyChart and 40% by Xorg.

Can something be done to lower the CPU consumption? I know this is probably not easy task to do. But lowering CPU consumption would probably speed up window displaying.
Regards
TagsNo tags attached.

Activities

Patrick Chevalley

09-01-18 16:24

administrator   ~0000847

Depending the graphic driver the Gtk+ performance may be very slow and cpu consuming.
"All configuration options" need to create a lot of Gtk objects, this is why I add the option to open directly a specific page from the menu.
To just change the language use Setup/System instead.

To check Gtk+ performance please install GtkPerf deb from http://gtkperf.sourceforge.net
Compare the result of your native installation with the Virtualbox one.

Here my result with all the default options:

GtkPerf 0.40 - Starting testing: Sun Jan 18 16:13:53 2009

GtkEntry - time: 0.01
GtkComboBox - time: 1.83
GtkComboBoxEntry - time: 1.01
GtkSpinButton - time: 0.14
GtkProgressBar - time: 0.11
GtkToggleButton - time: 0.20
GtkCheckButton - time: 0.12
GtkRadioButton - time: 0.21
GtkTextView - Add text - time: 0.33
GtkTextView - Scroll - time: 0.34
GtkDrawingArea - Lines - time: 1.68
GtkDrawingArea - Circles - time: 2.41
GtkDrawingArea - Text - time: 1.00
GtkDrawingArea - Pixbufs - time: 0.12
 ---
Total time: 9.53

grof

09-01-18 16:54

reporter   ~0000848

This is from my virtual computer:

GtkPerf 0.40 - Starting testing: Sun Jan 18 16:50:59 2009

GtkEntry - time: 0.07
GtkComboBox - time: 2.84
GtkComboBoxEntry - time: 1.71
GtkSpinButton - time: 0.34
GtkProgressBar - time: 0.15
GtkToggleButton - time: 0.44
GtkCheckButton - time: 0.14
GtkRadioButton - time: 0.52
GtkTextView - Add text - time: 0.87
GtkTextView - Scroll - time: 0.85
GtkDrawingArea - Lines - time: 1.55
GtkDrawingArea - Circles - time: 2.63
GtkDrawingArea - Text - time: 1.81
GtkDrawingArea - Pixbufs - time: 0.18
 ---
Total time: 14.12

grof

09-01-18 17:13

reporter   ~0000849

My native computer:

GtkPerf 0.40 - Starting testing: Sun Jan 18 17:11:11 2009

GtkEntry - time: 0.38
GtkComboBox - time: 8.80
GtkComboBoxEntry - time: 5.24
GtkSpinButton - time: 1.58
GtkProgressBar - time: 0.78
GtkToggleButton - time: 2.05
GtkCheckButton - time: 0.79
GtkRadioButton - time: 2.58
GtkTextView - Add text - time: 4.45
GtkTextView - Scroll - time: 2.10
GtkDrawingArea - Lines - time: 2.58
GtkDrawingArea - Circles - time: 3.32
GtkDrawingArea - Text - time: 4.31
GtkDrawingArea - Pixbufs - time: 1.41
 ---
Total time: 40.47

grof

09-01-18 17:23

reporter   ~0000850

As you probably see my native computer is way slower. It is 10 years old PC. But virtual environment I have on 2 years old laptop.

But on my old PC there is no problem with opening window settings, every task from my first post is done in less then second.

On my laptop I have 3.0.1.5 1192 version of SkyChart, but on my PC I have 3.0.1.4 (stable release). But the same performance problem on laptop was with 3.0.1.4 as well.

Strange, according to GtkPerf test virtual computer should be much faster. Strange in did.

Patrick Chevalley

10-09-07 15:28

administrator   ~0001268

The new version is a s fats it can be.
On slow machine the solution is to use the individual setting menu instead of "All configuration options"

Issue History

Date Modified Username Field Change
09-01-18 10:30 grof New Issue
09-01-18 16:24 Patrick Chevalley Note Added: 0000847
09-01-18 16:24 Patrick Chevalley Assigned To => Patrick Chevalley
09-01-18 16:24 Patrick Chevalley Status new => feedback
09-01-18 16:24 Patrick Chevalley Target Version 0.3.0 => 3.4
09-01-18 16:54 grof Note Added: 0000848
09-01-18 17:13 grof Note Added: 0000849
09-01-18 17:23 grof Note Added: 0000850
10-09-07 15:28 Patrick Chevalley Note Added: 0001268
10-09-07 15:28 Patrick Chevalley Status feedback => resolved
10-09-07 15:28 Patrick Chevalley Resolution open => fixed
10-09-07 15:28 Patrick Chevalley Fixed in Version 0.3.0 => 3.1 SVN
10-09-07 15:28 Patrick Chevalley Target Version 3.4 => 3.2
10-10-30 10:10 Patrick Chevalley Status resolved => closed