Skip to content

Commit

Permalink
Add benchmark to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
myl7 committed Jan 2, 2024
1 parent 354b48e commit b199d83
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@ Function secret sharing implementations including distributed comparison & point
- Fast PRG: Leo de Castro and Anitgoni Polychroniadou. "[Lightweight, Maliciously Secure Verifiable Function Secret Sharing](https://eprint.iacr.org/2021/580)." In _EUROCRYPT_. 2022.
- Fast PRG: Frank Wang, Catherine Yun, Shafi Goldwasser, Vinod Vaikuntanathan, and Matei Zaharia. "[Splinter: Practical Private Queries on Public Data](https://www.usenix.org/conference/nsdi17/technical-sessions/presentation/wang-frank)." In _NDSI_. 2017.

## Benchmark

We use [Criterion.rs] for benchmarking.
Criterion.rs reports `criterion.tar.zst` are included in releases.

We use a (my) laptop as the benchmarking machine.
It is charged to 100% with the power plugged in when benchmarking.
Its CPU is [AMD Ryzen 7 5800H with Radeon Graphics], which is 8C16T.
We use [rayon] as the data-parallelism library, which establishes 16 threads when benchmarking with multithreading.
We ensure that its memory is enough for benchmarking, which is 16GB and has more than 5GB left when benchmarking.
Notice that we do not close all other programs as many as possible to reduce scheduling, though we do avoid doing any other thing at the same time.

[Criterion.rs]: https://github.com/bheisler/criterion.rs
[AMD Ryzen 7 5800H with Radeon Graphics]: https://www.amd.com/en/products/apu/amd-ryzen-7-5800h
[rayon]: https://github.com/rayon-rs/rayon

## License

Copyright (C) myl7
Expand Down

0 comments on commit b199d83

Please sign in to comment.