directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: [jira] [Created] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing
Date Sat, 24 Mar 2018 19:25:54 GMT


Le 24/03/2018 à 19:30, Lothar Haeger a écrit :
> Aaron Burgemeister (JIRA) wrote:
> 
>> My Directory Studio's total startup time: sixty-one (61) seconds.
>> Time spent (per strace) reading schema files: fifty-five (55) seconds.
>> Estimated non-schema startup time: six (6) seconds.
> 
> I've tried with current Studio on macOS: 40 seconds startup time with 25
> schema-* files (300-700k each) in
> ~/.ApacheDirectoryStudio/.metadata/.plugins/org.apache.directory.studio.ldapbrow
> ser.core. Renamed
> ~/.ApacheDirectoryStudio/.metadata/.plugins/org.apache.directory.studio.ldapbrow
> ser.core out of the way and startup time went down to 5 seconds.
> 

Yep, there is clearly a problem.

What I'd like to be sure is that it's caused by the LDIF parsing, and if
so, we have options :
- first of all, make teh svanner more efficient (will take some time)
- avoid reading the schema for *each* connection at startup, it's enough
to do it when needed (that would probably be an easier workaround to
implement).

-- 
Emmanuel Lecharny

Symas.com
directory.apache.org


Mime
View raw message