`cleartool lsco -r -cvi -me` is extremely slow compared to `cleartool lsco -graphical`. Is it possible to improve it's performance?

吃可爱长大的小学妹 提交于 2020-01-04 20:46:18

问题


I'd like to be able to utilize lsco on the command line for better integration with Emacs, but it runs prohibitively slowly!

Usually, GUIs are slower!


回答1:


From the technote "Recursively checkout and checkin elements":

It is recommended that if performance is degraded due to this recursive operation that either the operation be changed (say to checkout/checkin in smaller chunks) or to stop the operation all together.

In other words, the recursive nature of lsco (and associated commands) doesn't scale well.
As opposed to the GUI, which might very well launch several request per main directories involved.




回答2:


Not with the exact same behavior. But if you use a dynamic view,

cleartool lspriv -co -s

is probably much faster than

cleartool lsco -r -cview

And if the former isn't what you want, maybe you can set up a filter script around it to fit your needs.



来源:https://stackoverflow.com/questions/8071650/cleartool-lsco-r-cvi-me-is-extremely-slow-compared-to-cleartool-lsco-grap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!