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 Desktop
Packages, which is subscribed to openoffice.org in Ubuntu.
https://bugs.launchpad.net/bugs/452073

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

Status in LibreOffice Productivity Suite:
  Confirmed
Status in The OpenOffice.org Suite:
  New
Status in “libreoffice” package in Ubuntu:
  Incomplete
Status in “openoffice.org” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: openoffice.org

  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 at the well known
  critical startup time of openoffice.

  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 an apt trigger
  or a daily cron task.

  ProblemType: Bug
  Architecture: i386
  Date: Thu Oct 15 12:46:20 2009
  Dependencies:
   
  DistroRelease: Ubuntu 9.10
  Package: openoffice.org-common 1:3.1.1-4ubuntu1 [modified: 
var/lib/openoffice/basis3.1/share/config/javasettingsunopkginstall.xml]
  PackageArchitecture: all
  ProcEnviron:
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-14.46-generic
  SourcePackage: openoffice.org
  Uname: Linux 2.6.31-14-generic i686

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to