Launchpad has imported 3 comments from the remote bug at
https://issues.apache.org/ooo/show_bug.cgi?id=109896.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-03-07T13:24:00+00:00 Jérôme wrote:

At each invocation of oocalc, oowriter or ooimpress, the
/usr/lib/openoffice/program/soffice shell script is executed.

This script will quite always guess the same environment variables. Moreover,
guessing those values is time consuming.

I think we could cache the below environment settings into a
/var/lib/openoffice/basis3.1/program/environment.sh file:
-----
FILE_LOCKING=auto
OPENGL_SUPPORT=no
SAL_ENABLE_FILE_LOCKING=1
SAL_NOOPENGL=true
JITC_PROCESSOR_TYPE=6
sd_cwd=/usr/lib/openoffice/program
sd_binary=/usr/lib/openoffice/program/oosplash.bin
-----

Those environment settings could be calculated again by a package manager
trigger or a daily cron task.

On my host the cold startup of Open Office Writer last ~24 seconds and guessing
the environment variables is quite 30% of the cold startup time !

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/452073/comments/14

------------------------------------------------------------------------
On 2010-03-07T13:25:59+00:00 Jérôme wrote:

Created attachment 68193
I instrumented the /usr/lib/openoffice/program/soffice script in order to know 
how much time it is needs to guess the configuration.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/452073/comments/15

------------------------------------------------------------------------
On 2010-05-16T14:36:54+00:00 Jérôme wrote:

This bug still occurs on 3.2 version.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/452073/comments/18


** Changed in: openoffice
       Status: Unknown => New

** Changed in: openoffice
   Importance: Unknown => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/452073

Title:
  [Upstream] Shouldn't detect configuration at each invocation

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/452073/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to