diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2011-06-06 18:59:46 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2011-06-06 18:59:46 +0200 |
| commit | 47f14d527f61d30ffa49a6254838ca5c1aee3972 (patch) | |
| tree | 896a5e74082bdd36226bdd5e68b410949c955234 /git/test/performance/db/test_looseodb_cmd.py | |
| parent | 155158e1410ff036812a87975cce6cb91aa8280e (diff) | |
| download | GitPython-47f14d527f61d30ffa49a6254838ca5c1aee3972.tar.gz GitPython-47f14d527f61d30ffa49a6254838ca5c1aee3972.zip | |
Added loose object writing and reading performance tessts, in pure and command implementations. The previous performance test was truncated a bit as it compared directly with the git hash_object write performance. This is out, and if we wanted it we could implement it , but its actually slower for us
Diffstat (limited to 'git/test/performance/db/test_looseodb_cmd.py')
| -rw-r--r-- | git/test/performance/db/test_looseodb_cmd.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/git/test/performance/db/test_looseodb_cmd.py b/git/test/performance/db/test_looseodb_cmd.py new file mode 100644 index 00000000..9738278c --- /dev/null +++ b/git/test/performance/db/test_looseodb_cmd.py @@ -0,0 +1,11 @@ +from git.db.complex import CmdCompatibilityGitDB +from looseodb_impl import TestLooseDBWPerformanceBase + +import sys + +class TestCmdLooseDB(TestLooseDBWPerformanceBase): + LooseODBCls = CmdCompatibilityGitDB + + def test_info(self): + sys.stderr.write("This test does not check the write performance of the git command as it is implemented in pure python") + |
