SVN: ZODB/branches/hannosch-pickle-protocol2/ Set up a simple performance benchmark suite based on zodbshootout

Hanno Schlichting <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <[email protected]>
Log message for revision 111816:
  Set up a simple performance benchmark suite based on zodbshootout
  

Changed:
  A   ZODB/branches/hannosch-pickle-protocol2/etc/
  A   ZODB/branches/hannosch-pickle-protocol2/etc/sample.conf
  A   ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf
  A   ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf.in
  A   ZODB/branches/hannosch-pickle-protocol2/speedtest.cfg
  A   ZODB/branches/hannosch-pickle-protocol2/var/

-=-
Added: ZODB/branches/hannosch-pickle-protocol2/etc/sample.conf
===================================================================
--- ZODB/branches/hannosch-pickle-protocol2/etc/sample.conf	                        (rev 0)
+++ ZODB/branches/hannosch-pickle-protocol2/etc/sample.conf	2010-05-01 11:18:59 UTC (rev 111816)
@@ -0,0 +1,33 @@
+# This configuration compares the performance of databases based on ZEO.
+
+# You need to start the ZEO server before running the tests:
+# bin/runzeo -C etc/zeo.conf
+
+# Run the tests via:
+# bin/zodbshootout etc/sample.conf -c 1
+
+# Change the line below to match the IP address of the server to test
+# against.
+%define host 127.0.0.1
+
+# This storage can only be tested with a concurrency level of 1.
+<zodb fs>
+    <filestorage>
+        path var/Data2.fs
+    </filestorage>
+</zodb>
+
+<zodb zeo_fs>
+    <zeoclient>
+        server $host:8100
+    </zeoclient>
+</zodb>
+
+<zodb zeofs_pcache>
+    <zeoclient>
+        server $host:8100
+        client 0
+        var var
+        cache-size 200000000
+    </zeoclient>
+</zodb>


Property changes on: ZODB/branches/hannosch-pickle-protocol2/etc/sample.conf
___________________________________________________________________
Added: svn:eol-style
   + native

Added: ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf
===================================================================
--- ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf	                        (rev 0)
+++ ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf	2010-05-01 11:18:59 UTC (rev 111816)
@@ -0,0 +1,12 @@
+<zeo>
+  address 8100
+  read-only false
+  invalidation-queue-size 100
+  pid-filename /opt/Dropbox/Development/zope/zodb-pickle2/var/zeo.pid
+  # monitor-address PORT
+  # transaction-timeout SECONDS
+</zeo>
+
+<filestorage 1>
+  path /opt/Dropbox/Development/zope/zodb-pickle2/var/Data.fs
+</filestorage>


Property changes on: ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf
___________________________________________________________________
Added: svn:eol-style
   + native

Added: ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf.in
===================================================================
--- ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf.in	                        (rev 0)
+++ ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf.in	2010-05-01 11:18:59 UTC (rev 111816)
@@ -0,0 +1,12 @@
+<zeo>
+  address ${port}
+  read-only false
+  invalidation-queue-size 100
+  pid-filename ${buildout:directory}/var/zeo.pid
+  # monitor-address PORT
+  # transaction-timeout SECONDS
+</zeo>
+
+<filestorage 1>
+  path ${buildout:directory}/var/Data.fs
+</filestorage>


Property changes on: ZODB/branches/hannosch-pickle-protocol2/etc/zeo.conf.in
___________________________________________________________________
Added: svn:eol-style
   + native

Added: ZODB/branches/hannosch-pickle-protocol2/speedtest.cfg
===================================================================
--- ZODB/branches/hannosch-pickle-protocol2/speedtest.cfg	                        (rev 0)
+++ ZODB/branches/hannosch-pickle-protocol2/speedtest.cfg	2010-05-01 11:18:59 UTC (rev 111816)
@@ -0,0 +1,23 @@
+[buildout]
+
+extends = buildout.cfg
+
+parts =
+    test
+    scripts
+    zeoconf
+    zeoserver
+
+[scripts]
+eggs += zodbshootout
+
+[zeoconf]
+recipe = collective.recipe.template
+input = ${buildout:directory}/etc/zeo.conf.in
+output = ${buildout:directory}/etc/zeo.conf
+port = 8100
+
+[zeoserver]
+recipe = zc.recipe.egg
+eggs = ZODB3
+scripts = runzeo


Property changes on: ZODB/branches/hannosch-pickle-protocol2/speedtest.cfg
___________________________________________________________________
Added: svn:eol-style
   + native


Property changes on: ZODB/branches/hannosch-pickle-protocol2/var
___________________________________________________________________
Added: svn:ignore
   + *
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.