[darcs-users] Darcs 2.4 - performance testing (stage 1)

Max Battcher me at worldmaker.net
Thu Jan 28 22:52:30 UTC 2010


On 1/26/2010 19:41, Trent W. Buck wrote:
> Max Battcher<me at worldmaker.net>  writes:
>
>> Also, maybe we should put together a few Wiki pages to store/compare
>> benchmark results? (It may be worth tweaking darcs-benchmark's ASCII
>> art output to conform to reST tables
>
> It would need to look like this.  Important differences:
>
>    - left-aligned cells (sorry!);
>    - mandatory overline and underline of table;
>    - whitespace between cells (not "|"); and
>    - mandatory name for each column (but can be a comment).
>
> Here's a mockup. It works with python-docutils (the reference
> implementation), but appears to be treated by padoc as a simple
> paragraph.
>
>      ===============  ======= ===========  ======= ===========
>      Test type        darcs-2.3.1          darcs-2.3.98
>      ---------------  -------------------  -------------------
>      .. comment       elapsed maxresident  elapsed maxresident
>      ===============  ======= ===========  ======= ===========
>      get (full)       47.6s   10.0M        58.8s   10.0M
>      get (lazy, x10)  87.0s   3.0M         74.1s   3.0M
>      pull 100         7.9s    24.0M        6.5s    16.0M
>      annotate         18.4s   187.0M       36.8s   180.0M
>      wh x50           6.2s    0.0M         5.6s    0.0M
>      wh mod x50       10.2s   3.0M         7.7s    2.0M
>      wh -l x20        34.6s   0.0M         5.7s    0.0M
>      check            46.2s   21.0M        44.6s   257.0M
>      repair           45.2s   21.0M        40.7s   259.0M
>      pull 1000        65.9s   44.0M        61.6s   34.0M
>      ===============  ======= ===========  ======= ===========


That's the "simple" format... If you go back to the docutils reference 
you might notice that the "grid" table format looks much closer to 
darcs-benchmark's existing output, with only the addition of mandatory 
outer border...

+------------------------+------------+----------+----------+
| Header row, column 1   | Header 2   | Header 3 | Header 4 |
| (header rows optional) |            |          |          |
+========================+============+==========+==========+
| body row 1, column 1   | column 2   | column 3 | column 4 |
+------------------------+------------+----------+----------+
| body row 2             | Cells may span columns.          |
+------------------------+------------+---------------------+
| body row 3             | Cells may  | - Table cells       |
+------------------------+ span rows. | - contain           |
| body row 4             |            | - body elements.    |
+------------------------+------------+---------------------+

http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#tables

--
--Max Battcher--
http://worldmaker.net


More information about the darcs-users mailing list