Skip to content

Commit 5ba1c38

Browse files
Update gh-pages
Store path: /nix/store/l7i2ai50dflw6x1777wxyxxd87d01xd8-website
1 parent 797e0e7 commit 5ba1c38

9 files changed

+65
-7
lines changed

budget_buy_one.csv

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Language,CPU,Memory
2+
Plutarch,44577866,125010
3+
Aiken,30655882,80452
4+
PlutusTx,216310996,739238
5+
Opshin,60101506,192397

budget_buy_one.png

21.3 KB
Loading

budget_cancel_one.csv

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Language,CPU,Memory
2+
Plutarch,38719357,115390
3+
Aiken,24005842,71296
4+
PlutusTx,133127717,443664
5+
Opshin,43609505,143722

budget_cancel_one.png

22.6 KB
Loading

comparison.html

+25-2
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ <h1 class="menu-title">UPLC Benchmark</h1>
176176
<h1 id="comparison"><a class="header" href="#comparison">Comparison</a></h1>
177177
<h2 id="script-size-bytes"><a class="header" href="#script-size-bytes">Script size (bytes)</a></h2>
178178
<p>Script sizes are compared by compiling each script to CBOR and taking its binary size in bytes. Validators are compiled without traces if language supports it (Opshin does not) and are not passed through any external UPLC optimizer.</p>
179-
<p><img src="./script_size.png" alt="Script size plot" /></p>
180-
<!-- SCRIPT_SIZE_TABLE -->
179+
<p><img src="./script_size.png" alt="size plot" /></p>
180+
<!-- script_size.md -->
181181
<div class="table-wrapper"><table><thead><tr><th>Language</th><th>lp-minting-policy.bin</th><th>nft-marketplace-validator.bin</th><th>nft-minting-policy.bin</th><th>pool-validator.bin</th></tr></thead><tbody>
182182
<tr><td>Plutarch</td><td>334</td><td>1219</td><td>640</td><td>1631</td></tr>
183183
<tr><td>Aiken</td><td>535</td><td>795</td><td>781</td><td>1550</td></tr>
@@ -186,6 +186,29 @@ <h2 id="script-size-bytes"><a class="header" href="#script-size-bytes">Script si
186186
</tbody></table>
187187
</div>
188188
<p><a href="./script_size.csv">Raw script size data</a></p>
189+
<h2 id="execution-units"><a class="header" href="#execution-units">Execution Units</a></h2>
190+
<h3 id="nft-marketplace---buy-one"><a class="header" href="#nft-marketplace---buy-one">NFT Marketplace - buy one</a></h3>
191+
<p><img src="./budget_buy_one.png" alt="execution_units plot" /></p>
192+
<!-- budget_buy_one.md -->
193+
<div class="table-wrapper"><table><thead><tr><th>Language</th><th>CPU</th><th>Memory</th></tr></thead><tbody>
194+
<tr><td>Plutarch</td><td>44577866</td><td>125010</td></tr>
195+
<tr><td>Aiken</td><td>30655882</td><td>80452</td></tr>
196+
<tr><td>PlutusTx</td><td>216310996</td><td>739238</td></tr>
197+
<tr><td>Opshin</td><td>60101506</td><td>192397</td></tr>
198+
</tbody></table>
199+
</div>
200+
<p><a href="./budget_buy_one.csv">Raw execution units data</a></p>
201+
<h3 id="nft-marketplace---cancel-one"><a class="header" href="#nft-marketplace---cancel-one">NFT Marketplace - cancel one</a></h3>
202+
<p><img src="./budget_cancel_one.png" alt="execution_units plot" /></p>
203+
<!-- budget_cancel_one.md -->
204+
<div class="table-wrapper"><table><thead><tr><th>Language</th><th>CPU</th><th>Memory</th></tr></thead><tbody>
205+
<tr><td>Plutarch</td><td>38719357</td><td>115390</td></tr>
206+
<tr><td>Aiken</td><td>24005842</td><td>71296</td></tr>
207+
<tr><td>PlutusTx</td><td>133127717</td><td>443664</td></tr>
208+
<tr><td>Opshin</td><td>43609505</td><td>143722</td></tr>
209+
</tbody></table>
210+
</div>
211+
<p><a href="./budget_cancel_one.csv">Raw execution units data</a></p>
189212

190213
</main>
191214

default.nix

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
cp ${self'.packages.dex-specification}/dex.pdf static/constant-product-dex-spec.pdf
1313
cp ${self'.packages.data-files}/* .
1414
15-
sed --in-place '/<!-- SCRIPT_SIZE_TABLE -->/r script_size.md' comparison.md
15+
for f in *.md; do
16+
sed --in-place "/<!-- $f -->/r $f" comparison.md
17+
done
1618
'';
1719
};
1820
};

print.html

+25-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ <h1 id="introduction"><a class="header" href="#introduction">Introduction</a></h
188188
<div style="break-before: page; page-break-before: always;"></div><h1 id="comparison"><a class="header" href="#comparison">Comparison</a></h1>
189189
<h2 id="script-size-bytes"><a class="header" href="#script-size-bytes">Script size (bytes)</a></h2>
190190
<p>Script sizes are compared by compiling each script to CBOR and taking its binary size in bytes. Validators are compiled without traces if language supports it (Opshin does not) and are not passed through any external UPLC optimizer.</p>
191-
<p><img src="./script_size.png" alt="Script size plot" /></p>
192-
<!-- SCRIPT_SIZE_TABLE -->
191+
<p><img src="./script_size.png" alt="size plot" /></p>
192+
<!-- script_size.md -->
193193
<div class="table-wrapper"><table><thead><tr><th>Language</th><th>lp-minting-policy.bin</th><th>nft-marketplace-validator.bin</th><th>nft-minting-policy.bin</th><th>pool-validator.bin</th></tr></thead><tbody>
194194
<tr><td>Plutarch</td><td>334</td><td>1219</td><td>640</td><td>1631</td></tr>
195195
<tr><td>Aiken</td><td>535</td><td>795</td><td>781</td><td>1550</td></tr>
@@ -198,6 +198,29 @@ <h2 id="script-size-bytes"><a class="header" href="#script-size-bytes">Script si
198198
</tbody></table>
199199
</div>
200200
<p><a href="./script_size.csv">Raw script size data</a></p>
201+
<h2 id="execution-units"><a class="header" href="#execution-units">Execution Units</a></h2>
202+
<h3 id="nft-marketplace---buy-one"><a class="header" href="#nft-marketplace---buy-one">NFT Marketplace - buy one</a></h3>
203+
<p><img src="./budget_buy_one.png" alt="execution_units plot" /></p>
204+
<!-- budget_buy_one.md -->
205+
<div class="table-wrapper"><table><thead><tr><th>Language</th><th>CPU</th><th>Memory</th></tr></thead><tbody>
206+
<tr><td>Plutarch</td><td>44577866</td><td>125010</td></tr>
207+
<tr><td>Aiken</td><td>30655882</td><td>80452</td></tr>
208+
<tr><td>PlutusTx</td><td>216310996</td><td>739238</td></tr>
209+
<tr><td>Opshin</td><td>60101506</td><td>192397</td></tr>
210+
</tbody></table>
211+
</div>
212+
<p><a href="./budget_buy_one.csv">Raw execution units data</a></p>
213+
<h3 id="nft-marketplace---cancel-one"><a class="header" href="#nft-marketplace---cancel-one">NFT Marketplace - cancel one</a></h3>
214+
<p><img src="./budget_cancel_one.png" alt="execution_units plot" /></p>
215+
<!-- budget_cancel_one.md -->
216+
<div class="table-wrapper"><table><thead><tr><th>Language</th><th>CPU</th><th>Memory</th></tr></thead><tbody>
217+
<tr><td>Plutarch</td><td>38719357</td><td>115390</td></tr>
218+
<tr><td>Aiken</td><td>24005842</td><td>71296</td></tr>
219+
<tr><td>PlutusTx</td><td>133127717</td><td>443664</td></tr>
220+
<tr><td>Opshin</td><td>43609505</td><td>143722</td></tr>
221+
</tbody></table>
222+
</div>
223+
<p><a href="./budget_cancel_one.csv">Raw execution units data</a></p>
201224

202225
</main>
203226

searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searchindex.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)