← Back to team overview

openlp-core team mailing list archive

[Bug 1424330] Re: OpenLP Loops Presentations on start up

 

Tim,

I've just done a time it on the md5_hash routeen, and found the 145
calls logged in your  log only takes 1.1ms, and this is on a rather aged
machine running windows xp!!!!

I have to run it over 500,000 times before I get anywhere near 5
seconds. So its not the hash.

However looking at your log, its the time between md5_hash being called
that is adding up.

2015-02-22 06:16:24,385 openlp.core.common.__init__                             DEBUG    md5_hash() returning "aa4bffcd6b447150cc7e6ee00e3b3c16"
2015-02-22 06:16:25,202 openlp.core.common.__init__                             DEBUG    md5_hash(salt="b'/home/tim/Documents/patterns.pdf'")

I don't have access to a development environment atm, so am unable to
investigate it any further.

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

Title:
  OpenLP Loops Presentations on start up

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  I have 2 one slide presentations and on startup the md5hash routine
  runs wild.

  I have noticed a 5 sec wait in startup after the service file has
  loaded so this may be it but this does not look good.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1424330/+subscriptions


References