Skip to content

Commit

Permalink
docs: Add benchmark doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sp301415 committed Jun 19, 2024
1 parent a509613 commit a919b74
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,18 @@ fmt.Println(dec.DecryptLWEBool(ctOut)) // false

## Benchmarks
All benchmarks were measured on a machine equipped with Intel Xeon Platinum 8268 CPU @ 2.90GHz and 384GB of RAM. Roughly equivalent parameters were used.

|Operation|TFHE-go|TFHE-rs (v0.6.1)|
|---------|-------|-------|
|Gate Bootstrapping|10.08ms|10.84ms|
|Programmable Bootstrapping (6 bits)|36.51ms|89.48ms|

You can use the standard go test tool to reproduce benchmarks:
```
$ go test ./tfhe -run=^$ -bench="GateBootstrap|ProgrammableBootstrap"
```


## Security
TFHE-go has not been audited or reviewed by security experts, and may contain critical vulnerabilities. Use at your own risk. See [SECURITY](https://github.com/sp301415/tfhe-go/blob/master/SECURITY.md) for more details.

Expand Down

0 comments on commit a919b74

Please sign in to comment.