我在 CVS 存储库上有大量项目,我正在寻找提高其性能的方法。
CVS 压缩有帮助吗?那么加密呢,它会降低速度吗?
谢谢!
最佳答案
通过重复使用,CVS 会随着时间的推移而变慢。
如果在所有这些之后,您想要提高在服务器和客户端之间移动数据的性能,那么您可以(取决于您的内容类型)使用 -z 选项进行压缩。我发现 -z6 是最好的,但根据文件的性质,您可能需要更多/更少的压缩。
-z GZIPLEVEL
Sets the compression level on communications with the server. The argument GZIPLEVEL must be a number from 1 to 9. Level 1 is minimal compression (very fast, but doesn't compress much); Level 9 is highest compression (uses a lot of CPU time, but sure does squeeze the data). Level 9 is only useful on very slow network connections. Most people find levels between 3 and 5 to be most beneficial.
A space between -z and its argument is optional.
关于performance - CVS 性能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1033162/