서브버전 저장소 성능 측정 하기 - subversion repository perfomance benchmarking
서브버전 저장소 성능 측정 하기 - subversion repository perfomance benchmarking
svn 1.8 에는 svn-bench 라는 성능 측정 도구가 포함되어 있다.
현재 3개의 svn action을 지원한다. (export, list, log)
다른 svn 명령어처럼 sub-command 를 주어야 하는데 위 세개의 operation 앞에 null- 을 붙여주면 된다. (null-export, null-list (ls), null-log)
CentOS 6 에 subversion 1.7 이상 설치 및 설정하기 를 참고해서 설치했다면 svn-bench 는 /usr/bin/svn-tools/svn-bench 에 위치해 있다.
사용은 다음 예제처럼 svn-beanch action URL 을 주면 되며 시간 측정을 위해 time 명령어와 같이 사용할 수 있다.
$ time /usr/bin/svn-tools/svn-bench null-export http://svn.example.com/myproject/trunk 179 directories 3,661 files 84,902,674 bytes in files 20,560 properties 315,031 bytes in properties real 0m0.185s user 0m0.128s sys 0m0.040s
Ref
Looking for labels? They can now be found in the details panel on the floating action bar.