ANKH

Check-in [aa8b5235cb]
Login

Check-in [aa8b5235cb]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:chore: Fix anchoring the markdown.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | v0.0
Files: files | file ages | folders
SHA3-256: aa8b5235cba26c5490aaa4332d4fbe340920f8106c4c39ba9e8c706d78e8aaa2
User & Date: aku 2021-02-26 15:15:24
Context
2021-02-28
17:15
fix: Clarified what kind of Tcl value the string argument to the `ak hash HASH string` command is interpreted as. check-in: 4c5092673d user: aku tags: trunk
2021-02-26
15:15
chore: Fix anchoring the markdown. check-in: aa8b5235cb user: aku tags: trunk, v0.0
15:09
chore: Fix relative links to docs from the fossil-specific README check-in: 82ac5ffc58 user: aku tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to bench/post-markdown.
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
open $logdir/bench.md w

puts ""
puts "  1. \[All Hashes](#all)"
puts "  1. \[Speed Maxima, Sorted From Fastest Down](#maxima)"
puts ""

puts "# <a name='all'/> All Hashes"
puts ""
puts |Digest|Method|Bytes|Microseconds|MB/Second|MiB/Second|Microseconds/Byte|
puts |---|---|---:|---:|---:|---:|---:|

set max  {}
set last {}








|







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
open $logdir/bench.md w

puts ""
puts "  1. \[All Hashes](#all)"
puts "  1. \[Speed Maxima, Sorted From Fastest Down](#maxima)"
puts ""

puts "# <a name='all'></a> All Hashes"
puts ""
puts |Digest|Method|Bytes|Microseconds|MB/Second|MiB/Second|Microseconds/Byte|
puts |---|---|---:|---:|---:|---:|---:|

set max  {}
set last {}

62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
    set rgain [format %.3f [expr {$bm/$prev }]]
    set again [format %.3f [expr {$bm/$worst}]]
    dict set gain $digest [list $rgain $again]
    set prev $bm
}

puts ""
puts "# <a name='maxima'/> Speed Maxima, Sorted From Fastest Down"
puts ""
puts |Digest|Method|Bytes|Micros|MB/Second|MiB/Second|Micros/Byte|Gain|R/Gain|
puts |---|---|---:|---:|---:|---:|---:|---:|---:|

foreach def [lreverse $defs] {
    lassign $def digest bm method size micro bmi mb
    lassign [dict get $gain $digest] rgain again
    puts |$digest|$method|$size|$micro|$bm|$bmi|$mb|$again|$rgain|
}
exit







|










62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
    set rgain [format %.3f [expr {$bm/$prev }]]
    set again [format %.3f [expr {$bm/$worst}]]
    dict set gain $digest [list $rgain $again]
    set prev $bm
}

puts ""
puts "# <a name='maxima'></a> Speed Maxima, Sorted From Fastest Down"
puts ""
puts |Digest|Method|Bytes|Micros|MB/Second|MiB/Second|Micros/Byte|Gain|R/Gain|
puts |---|---|---:|---:|---:|---:|---:|---:|---:|

foreach def [lreverse $defs] {
    lassign $def digest bm method size micro bmi mb
    lassign [dict get $gain $digest] rgain again
    puts |$digest|$method|$size|$micro|$bm|$bmi|$mb|$again|$rgain|
}
exit
Changes to crunch/bench.html.
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  </style>
</head>
<body>
<ol type="1">
<li><a href="#all">All Hashes</a></li>
<li><a href="#maxima">Speed Maxima, Sorted From Fastest Down</a></li>
</ol>
<h1 id="all-hashes"><a name='all'/> All Hashes</h1>
<table>
<thead>
<tr class="header">
<th>Digest</th>
<th>Method</th>
<th style="text-align: right;">Bytes</th>
<th style="text-align: right;">Microseconds</th>







|







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  </style>
</head>
<body>
<ol type="1">
<li><a href="#all">All Hashes</a></li>
<li><a href="#maxima">Speed Maxima, Sorted From Fastest Down</a></li>
</ol>
<h1 id="all-hashes"><a name='all'></a> All Hashes</h1>
<table>
<thead>
<tr class="header">
<th>Digest</th>
<th>Method</th>
<th style="text-align: right;">Bytes</th>
<th style="text-align: right;">Microseconds</th>
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
<td style="text-align: right;">1201339.426</td>
<td style="text-align: right;">55.86</td>
<td style="text-align: right;">53.27</td>
<td style="text-align: right;">0.0179</td>
</tr>
</tbody>
</table>
<h1 id="speed-maxima-sorted-from-fastest-down"><a name='maxima'/> Speed Maxima, Sorted From Fastest Down</h1>
<table>
<thead>
<tr class="header">
<th>Digest</th>
<th>Method</th>
<th style="text-align: right;">Bytes</th>
<th style="text-align: right;">Micros</th>







|







5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
<td style="text-align: right;">1201339.426</td>
<td style="text-align: right;">55.86</td>
<td style="text-align: right;">53.27</td>
<td style="text-align: right;">0.0179</td>
</tr>
</tbody>
</table>
<h1 id="speed-maxima-sorted-from-fastest-down"><a name='maxima'></a> Speed Maxima, Sorted From Fastest Down</h1>
<table>
<thead>
<tr class="header">
<th>Digest</th>
<th>Method</th>
<th style="text-align: right;">Bytes</th>
<th style="text-align: right;">Micros</th>
Changes to crunch/bench.md.
1
2
3
4
5
6
7
8
9
10
11
12

  1. [All Hashes](#all)
  1. [Speed Maxima, Sorted From Fastest Down](#maxima)

# <a name='all'/> All Hashes

|Digest|Method|Bytes|Microseconds|MB/Second|MiB/Second|Microseconds/Byte|
|---|---|---:|---:|---:|---:|---:|
|aich|chan|64|11.906|5.38|5.13|0.1860|
|aich|chan|128|12.347|10.37|9.89|0.0965|
|aich|chan|256|12.667|20.21|19.27|0.0495|
|aich|chan|512|14.315|35.77|34.11|0.0280|




|







1
2
3
4
5
6
7
8
9
10
11
12

  1. [All Hashes](#all)
  1. [Speed Maxima, Sorted From Fastest Down](#maxima)

# <a name='all'></a> All Hashes

|Digest|Method|Bytes|Microseconds|MB/Second|MiB/Second|Microseconds/Byte|
|---|---|---:|---:|---:|---:|---:|
|aich|chan|64|11.906|5.38|5.13|0.1860|
|aich|chan|128|12.347|10.37|9.89|0.0965|
|aich|chan|256|12.667|20.21|19.27|0.0495|
|aich|chan|512|14.315|35.77|34.11|0.0280|
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
|whirlpool|chan|2097152|37565.798|55.83|53.24|0.0179|
|whirlpool|chan|4194304|74943.342|55.97|53.38|0.0179|
|whirlpool|chan|8388608|150668.143|55.68|53.10|0.0180|
|whirlpool|chan|16777216|300210.327|55.88|53.29|0.0179|
|whirlpool|chan|33554432|600638.937|55.86|53.27|0.0179|
|whirlpool|chan|67108864|1201339.426|55.86|53.27|0.0179|

# <a name='maxima'/> Speed Maxima, Sorted From Fastest Down

|Digest|Method|Bytes|Micros|MB/Second|MiB/Second|Micros/Byte|Gain|R/Gain|
|---|---|---:|---:|---:|---:|---:|---:|---:|
|ed2k|chan|524288|637.955|821.83|783.76|0.0012|79.558|1.030|
|md4|chan|524288|656.840|798.20|761.22|0.0013|77.270|1.550|
|edonr/512|chan|1048576|2036.234|514.96|491.10|0.0019|49.851|1.007|
|edonr/384|chan|1048576|2049.788|511.55|487.85|0.0020|49.521|1.002|







|







662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
|whirlpool|chan|2097152|37565.798|55.83|53.24|0.0179|
|whirlpool|chan|4194304|74943.342|55.97|53.38|0.0179|
|whirlpool|chan|8388608|150668.143|55.68|53.10|0.0180|
|whirlpool|chan|16777216|300210.327|55.88|53.29|0.0179|
|whirlpool|chan|33554432|600638.937|55.86|53.27|0.0179|
|whirlpool|chan|67108864|1201339.426|55.86|53.27|0.0179|

# <a name='maxima'></a> Speed Maxima, Sorted From Fastest Down

|Digest|Method|Bytes|Micros|MB/Second|MiB/Second|Micros/Byte|Gain|R/Gain|
|---|---|---:|---:|---:|---:|---:|---:|---:|
|ed2k|chan|524288|637.955|821.83|783.76|0.0012|79.558|1.030|
|md4|chan|524288|656.840|798.20|761.22|0.0013|77.270|1.550|
|edonr/512|chan|1048576|2036.234|514.96|491.10|0.0019|49.851|1.007|
|edonr/384|chan|1048576|2049.788|511.55|487.85|0.0020|49.521|1.002|
Changes to crunch/bench.pdf.

cannot compute difference between binary files