I would guess that you have a hyperactive clipboarrd manager that
repeatedly asks Gnumeric for the current selection in all the possible
formats that Gnumeric offers.

Try running with GNM_DEBUG=clipboard set.  If you see a flood of
messages, that is the cause.

M.




On Sun, Nov 8, 2015 at 2:04 PM, Wiebe Cazemier <wi...@halfgaar.net> wrote:
> Hello,
>
> I'm having issues with Gnumeric (v1.12.9) being unusably slow on my Athon X2 
> 2 GHz dual core, Linux Mint 17.1.
>
> It starts out OK, but as I'm editing the spreadsheet, I have to wait 0.5 to 1 
> seconds for every click, paste, tab switch, etc. Also switching to the 
> application is slow by the same amount. It gets worse the longer I work on 
> the spreadsheet. However, it seems to correct itself when I go to the 
> preferences and click close again (but I do want to confirm this better, 
> though).
>
> Attached are some valgrind/callgrind analyses. First I ran 'callgrind_command 
> -z', edited a column and did 'callgrind_command --dump'. I did the same after 
> having used the spreadsheet for a while. Screenshots of the analysis using 
> KCachegrind are also attached.
>
> It's hard to say anything conclusive from this, but it stands out that 
> gobject::g_type_check_instance_is_a is called a whole lot more (from 680,000 
> to 2,100,000). What also stands out to me is that mutex locking and 
> unlocking, a slow process in and off itself, has increased 5-fold. (I also 
> wonder what needs to be locked 166,000 times to begin with...)
>
> At first I thought my laptop with Intel i7 (also having Linux Mint 17.1) 
> didn't have this, but it's just too fast to be immediatly noticable, it 
> seems. Valgrind shows the same results.
>
> I was hoping for some insight.
>
> Regards,
>
> Wiebe Cazemier
>
>
> Gnumeric 1.12.9
>
>
> System:    Host: melk Kernel: 3.13.0-37-generic x86_64 (64 bit) Desktop: KDE 
> 4.14.2 Distro: Linux Mint 17.1 Rebecca
> Machine:   Mobo: Gigabyte model: GA-K8N-SLi version: x.x Bios: Award version: 
> F2 date: 05/11/2006
> CPU:       Dual core AMD Athlon 64 X2 3800+ (-MCP-) cache: 1024 KB flags: (lm 
> nx sse sse2 sse3)
>            Clock Speeds: 1: 2000.00 MHz 2: 2000.00 MHz
> Graphics:  Card: NVIDIA G96 [GeForce 9500 GT]
>            X.Org: 1.15.1 drivers: nvidia (unloaded: fbdev,vesa,nouveau) 
> Resolution: 1280x1024@60.0hz, 1920x1200@60.0hz
>            GLX Renderer: GeForce 9500 GT/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 
> 340.93
> Audio:     Card-1: C-Media CMI8788 [Oxygen HD Audio] driver: snd_virtuoso 
> Sound: ALSA ver: k3.13.0-37-generic
>            Card-2: Logitech Webcam C270 driver: USB Audio
> Network:   Card-1: NVIDIA CK804 Ethernet Controller driver: forcedeth
>            IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
>            Card-2: Atmel AVR ISP mkII
>            IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
> Drives:    HDD Total Size: 3000.6GB (-) 1: id: /dev/sda model: WDC_WD15EARS 
> size: 1500.3GB
>            2: id: /dev/sdb model: WDC_WD15EARS size: 1500.3GB
> Partition: ID: / size: 59G used: 8.6G (16%) fs: ext4 ID: /home size: 1.3T 
> used: 296G (24%) fs: ext4
>            ID: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap
> RAID:      Device-1: /dev/md1 - active raid: 1 components: 2/2 - sdb3 sda3
>            Device-2: /dev/md2 - active raid: 1 components: 2/2 - sdb4 sda4
>            Device-3: /dev/md0 - active raid: 1 components: 2/2 - sdb2 sda2
> Sensors:   System Temperatures: cpu: 38.0C mobo: N/A gpu: 41C
>            Fan Speeds (in rpm): cpu: N/A
> Info:      Processes: 192 Uptime: 5:50 Memory: 1817.6/3261.9MB Client: Shell 
> inxi: 1.8.4
>
> _______________________________________________
> gnumeric-list mailing list
> gnumeric-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gnumeric-list
>
_______________________________________________
gnumeric-list mailing list
gnumeric-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnumeric-list

Reply via email to