aboutsummaryrefslogtreecommitdiff
path: root/git/test/performance
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-07-07 19:34:25 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-07-07 19:34:25 +0200
commit8b3b222565199eab67196a5ab840b9e2770bfc53 (patch)
tree8d203ba8a38f420eadbba2415df88b00d4a19a20 /git/test/performance
parent4bb5107cff6f205f5c6e73a6f8bd22fc56f48cf4 (diff)
downloadGitPython-8b3b222565199eab67196a5ab840b9e2770bfc53.tar.gz
GitPython-8b3b222565199eab67196a5ab840b9e2770bfc53.zip
Added default performance tests - these should help to measure something at least, which implicitly includes pack handling. For the pack specific tests to work, one would need a pack interface though, which is currently not planned to be specifically exposed
Diffstat (limited to 'git/test/performance')
-rw-r--r--git/test/performance/db/test_looseodb_dulwich.py6
-rw-r--r--git/test/performance/db/test_odb_dulwich.py6
2 files changed, 12 insertions, 0 deletions
diff --git a/git/test/performance/db/test_looseodb_dulwich.py b/git/test/performance/db/test_looseodb_dulwich.py
new file mode 100644
index 00000000..cf27a528
--- /dev/null
+++ b/git/test/performance/db/test_looseodb_dulwich.py
@@ -0,0 +1,6 @@
+from git.db.dulwich.complex import DulwichGitODB
+from looseodb_impl import TestLooseDBWPerformanceBase
+
+class TestPureLooseDB(TestLooseDBWPerformanceBase):
+ LooseODBCls = DulwichGitODB
+
diff --git a/git/test/performance/db/test_odb_dulwich.py b/git/test/performance/db/test_odb_dulwich.py
new file mode 100644
index 00000000..069c5b43
--- /dev/null
+++ b/git/test/performance/db/test_odb_dulwich.py
@@ -0,0 +1,6 @@
+from git.db.dulwich.complex import DulwichCompatibilityGitDB
+from odb_impl import TestObjDBPerformanceBase
+
+class TestPureDB(TestObjDBPerformanceBase):
+ RepoCls = DulwichCompatibilityGitDB
+