Bug 144552 - Right click then format on a cell could be a little faster?
Summary: Right click then format on a cell could be a little faster?
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-16 17:17 UTC by Julien Nabet
Modified: 2024-04-04 06:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
perf flamegraph (325.42 KB, image/svg+xml)
2021-09-30 17:53 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Nabet 2021-09-16 17:17:52 UTC
Description:
On pc Debian x86-64 with master sources updated today, I tried right click on 1 cell then format.
I retrieved a Flamegraph because I wonder if it could be faster.

Steps to Reproduce:
1. Launch Calc on a brand new file
2. Select a cell
3. Right click then Format cell

Actual Results:
A bit slow?

Expected Results:
Could be faster?


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: bf89ac73fdb1ca8c083913f6ad8aaf8cec9114c5
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: x11
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 1 m_a_riosv 2021-09-18 09:48:17 UTC
Hi Julien, I think this kind of behavior is common with master, first use of some procedures are slow. The same happens calling it with [Ctrl+1]
Does it happen after use it several times?
Comment 2 Julien Nabet 2021-09-18 10:21:45 UTC
(In reply to m.a.riosv from comment #1)
> Hi Julien, I think this kind of behavior is common with master, first use of
> some procedures are slow. The same happens calling it with [Ctrl+1]
> Does it happen after use it several times?

Indeed I think the other times are more quicker thanks to some cache mechanism I suppose.

Also, I submitted this bugtracker because I saw this on this on my wife's laptop (Windows 10 with LO 7.1.6). Now perhaps it might be already fixed too on 7.2 branch or master branch.
Anyway, wonder if the Flamegraph (retrieved on master branch) could show something interesting to optimize a bit.
Perhaps should we put this as an enhancement?
Comment 3 Xisco Faulí 2021-09-29 15:49:03 UTC
Hi Julien,
Any chance to have a perf graph ?
Comment 4 Julien Nabet 2021-09-30 17:53:07 UTC
Created attachment 175428 [details]
perf flamegraph

Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today + gen rendering.
Comment 5 Buovjaga 2022-10-13 11:23:29 UTC
I don't notice any slowness, but might be my computer

Arch Linux 64-bit
Version: 7.4.1.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.4.1-4
Calc: threaded
Comment 6 Ragul Prasath 2023-04-29 13:40:46 UTC
I don't think it's slow
Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.2
Calc: threaded
Comment 7 Armondo Lopez 2024-04-03 20:27:18 UTC
It doesn't seem slow when attempting to reproduce in

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a2265e8faa099d9652efd12392c2877c2df1d1eb
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

or

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 8 Buovjaga 2024-04-04 06:28:56 UTC
Julien: is it still the same as in 2021?
Comment 9 Julien Nabet 2024-04-04 06:59:01 UTC
I gave a new try on pc Debian x86-64 with master sources updated today, it seems ok now.

Let's put this one to WFM

Thank you for the remind :-)