Rev 3685: Include some timing on msyql, which has different in http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/btree

John Arbash Meinel john at arbash-meinel.com
Mon Aug 25 21:03:34 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/btree

------------------------------------------------------------
revno: 3685
revision-id: john at arbash-meinel.com-20080825200333-s1s2d3fq4oq9igm7
parent: john at arbash-meinel.com-20080823174752-qfy5puc1pta4jexo
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: btree
timestamp: Mon 2008-08-25 15:03:33 -0500
message:
  Include some timing on msyql, which has different
  characteristics. Probably because the compression ratio is higher.
  (avg 7:1 rather than 5:1 for bzr.dev). Probably because the
  converter used more compressible ids.
-------------- next part --------------
=== modified file 'bzrlib/chunk_writer.py'
--- a/bzrlib/chunk_writer.py	2008-08-23 17:47:52 +0000
+++ b/bzrlib/chunk_writer.py	2008-08-25 20:03:33 +0000
@@ -73,10 +73,26 @@
              3      60.3  13.5  3407    197
              4      66.7  13.4  3203    2154
             20      69.3  13.4  0       3380 67.0  13.4  0     3380
+
+            repack=0
+            zsync
+             0      47.7 116.5  0       29782
+             1      48.5  60.2  0       15356
+             2      48.1  42.4  0       10822
+             5      48.3  25.5  0       6491
+             6      48.0  23.2  13      5896
+             7      48.1  21.6  29      5451
+             8      48.1  20.3  52      5108
+            10      46.9  18.6  195     4526
+            11      48.8  18.0  421     4143
+            12      47.4  17.5  702     3738
+            15      49.6  16.5  1223    2969
+            20      48.9  15.7  2182    1810
+
     """
 
     _max_repack = 0
-    _max_zsync = 6
+    _max_zsync = 8
 
     def __init__(self, chunk_size, reserved=0):
         """Create a ChunkWriter to write chunk_size chunks.



More information about the bazaar-commits mailing list