[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-27 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16594544#comment-16594544 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Stefan, I'll start a release asap. I'll

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-27 Thread Stefan Seelmann (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16594543#comment-16594543 ] Stefan Seelmann commented on DIRSTUDIO-1174: Great news. [~elecharny] feel free to cut an

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-27 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16594425#comment-16594425 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- Cloned the LDAP API repo, ran a build

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-27 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593448#comment-16593448 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- So I have done some more tests using the

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-26 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592825#comment-16592825 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- OTOH, the results I see in a profiling

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-26 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592815#comment-16592815 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- Rebuilding with the latest commits I

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-25 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592805#comment-16592805 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- The replaceAll with newline followed

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-25 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592798#comment-16592798 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Having ran another profiling session on

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-25 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592793#comment-16592793 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Fixes applied with commit

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-25 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592790#comment-16592790 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Ok, I have profiled the schema loading,

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-21 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16588376#comment-16588376 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- Attaching a new export of times on the

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-21 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16588362#comment-16588362 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- I have attached the

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-21 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16588357#comment-16588357 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- So it seems some LDIF files take 15

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-21 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16588295#comment-16588295 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Interesting to see that the speedup is

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-21 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16588102#comment-16588102 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- It is certainly much better; the load

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-08-21 Thread Stefan Seelmann (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16587901#comment-16587901 ] Stefan Seelmann commented on DIRSTUDIO-1174: So should we close this issue? [~dajoker]

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-05-21 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16482293#comment-16482293 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- I have rewritten the schema parser. On my

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-04-17 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16441608#comment-16441608 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Antlr is not bad. For a standard

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-04-17 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16441228#comment-16441228 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- That is quite an improvement.  I was

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-04-17 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16440928#comment-16440928 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- FTR, I have drafted a

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-04-16 Thread Stefan Seelmann (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16439926#comment-16439926 ] Stefan Seelmann commented on DIRSTUDIO-1174: The patch looks good, but two things come to

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-04-16 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16439388#comment-16439388 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- I think you were right, but I think the

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-04-16 Thread Stefan Seelmann (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16439010#comment-16439010 ] Stefan Seelmann commented on DIRSTUDIO-1174: Loading of the schema from the LDAP server

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-04-15 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16438987#comment-16438987 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- For what it is worth, I managed to get

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-04-15 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16438648#comment-16438648 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- I'm conducting some tests on the schema

Re: [jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Lothar Haeger
Stefan Seelmann wrote: > Does Studio recreate them next time when opening a > > connection? > > Yes, every time the connection is opened and the schema is loaded it is > written to disk. So a simple pre-start script could simulate non-caching. I guess I'll give that a try and see how it works

Re: [jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Stefan Seelmann
On 03/25/2018 01:00 PM, Lothar Haeger wrote: > Stefan Seelmann (JIRA) wrote: > >> I think it's easier to change the code to load the schema from LDIF lazily >> when using it the first time. > > While I think that's a good move, what exactly happens when I delete the > schema-*ldif files? Does

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16413088#comment-16413088 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- I'm not sure antlr4 brings a lot of

Re: [jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Lothar Haeger
Stefan Seelmann (JIRA) wrote: > I think it's easier to change the code to load the schema from LDIF lazily > when using it the first time. While I think that's a good move, what exactly happens when I delete the schema-*ldif files? Does Studio recreate them next time when opening a connection?

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Stefan Seelmann (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16412959#comment-16412959 ] Stefan Seelmann commented on DIRSTUDIO-1174: Regarding antlr, we are still using version

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Stefan Seelmann (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16412953#comment-16412953 ] Stefan Seelmann commented on DIRSTUDIO-1174: I think it's easier to change the code to

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16412946#comment-16412946 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Thanks Stefan.   Knowing that, trying

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Stefan Seelmann (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16412940#comment-16412940 ] Stefan Seelmann commented on DIRSTUDIO-1174: Yes, we parse all cached schema at startup.

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-25 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16412920#comment-16412920 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Technically speaking, and 'benefiting'

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-24 Thread Aaron Burgemeister (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16412851#comment-16412851 ] Aaron Burgemeister commented on DIRSTUDIO-1174: --- I have an old version (12.0.6) of

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-24 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16412687#comment-16412687 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Stefan, AFAIU, we will parse every schema

[jira] [Commented] (DIRSTUDIO-1174) Directory Studio startup very slow due to schema LDIF processing

2018-03-24 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRSTUDIO-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16412686#comment-16412686 ] Emmanuel Lecharny commented on DIRSTUDIO-1174: -- Interesting findings... Would you be