Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

What is the performance improvement of using lscm?

I don´t see any performance updagres by usage of lscm command instead of scm.

For scm I was able to use the -debug option, which shows me service trips statistics like: 
Interface/method                  Calls  Time
  IRepositoryRemoteService.......     4  48ms
    fetchOrRefreshItems               4  48ms
  IScmQueryService...............     2  53ms
    findBaselineSets                  1  41ms
    findComponents...............     1  12ms
  IScmRichClientRestService           3  35ms
    getVersionableChildren.......     1  16ms
    getVersionables                   1  15ms
    postGetVersionableIdentifiers     1   4ms
-- Total time in service calls: 136ms


The total time needed to execute the command is about 10 seconds, which leads me to think that 8.8 seconds is being used for application bootstrap.

My questions:
- Why the -debug option is not available also for lscm ? Any alternatives to reach the same result?
- How do I make sure that there is indeed a daemon which is being reused to reduce bootstrap? With 10 seconds response time I really doubt it´s being used.


Thank you.

1 vote

Comments

 I can not answer the two questions you asked. But if the lscm is slower than scm command in your environment, you can try to add an environment variable "LSCM_USE_JAVA_FEC=xyz", and then run lscm command in the command line prompt again.

This workaround is mentioned in https://jazz.net/forum/questions/164481/lscm-scm-command-line-is-very-slow-solved and works for me.



One answer

Permanent link
I believe the benefit of using "lscm" is to eliminate the startup time of Eclipse, and that's it. The time to execute the service calls on the server side should be the same regardless scm or lscm is used. You can run the "scm version" command to see how long it takes to execute (no server side services involved), and this is roughly the time you can save.

I believe the "-debug" option only reports the "service time" on server side only, and does not take into account the processing time on the client side.

I guess the reason not having "-debug" available to lscm is that the parameter is passed to the Eclipse and is active during the whole time, which is not so good for lscm (every lscm command will end up with the -debug option).

You can use the "list daemon" command to show to existing daemon(s). If you see the same port, you can be sure it's the same daemon.

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014
× 87

Question asked: Aug 25 '15, 9:41 a.m.

Question was seen: 3,479 times

Last updated: Aug 26 '15, 3:25 a.m.

Confirmation Cancel Confirm