Skip to content

Commit

Permalink
third take
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTDrinker committed Jan 10, 2025
1 parent 6224b72 commit 9e5a503
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tfhe/docs/getting_started/benchmarks/cpu_benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ The next table shows the execution time of a keyswitch followed by a programmabl
</tbody>
</table>' style="height:200px;width:100%;border:none;overflow:hidden;" name="test">You need a Frames Capable browser to view this content.</iframe>

{% embed url="table.html" %}

## Reproducing TFHE-rs benchmarks

**TFHE-rs** benchmarks can be easily reproduced from the [source](https://github.com/zama-ai/tfhe-rs).
Expand Down
24 changes: 24 additions & 0 deletions tfhe/docs/getting_started/benchmarks/table.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<table border="1" cellspacing="0" cellpadding="5" style="border-color: white;">
<thead>
<tr style="background-color: black; color: white;">
<th>Operation \ Time</th>
<th>FheUint8</th>
<th>FheUint64</th>
<th>FheUint256</th>
</tr>
</thead>
<tbody>
<tr>
<td style="background-color: #fbbc04; color: black; border-color: white;">Add</td>
<td style="background-color: #f3f3f3; color: black; text-align: center; border-color: white;">10 ms</td>
<td style="background-color: #f3f3f3; color: black; text-align: center; border-color: white;">20 ms</td>
<td style="background-color: #f3f3f3; color: black; text-align: center; border-color: white;">100 ms</td>
</tr>
<tr>
<td style="background-color: #fbbc04; color: black; border-color: white;">Mul</td>
<td style="background-color: #f3f3f3; color: black; text-align: center; border-color: white;">100 ms</td>
<td style="background-color: #f3f3f3; color: black; text-align: center; border-color: white;">200 ms</td>
<td style="background-color: #f3f3f3; color: black; text-align: center; border-color: white;">300 ms</td>
</tr>
</tbody>
</table>

0 comments on commit 9e5a503

Please sign in to comment.