8000 GitHub - han0110/plonkish · GitHub
[go: up one dir, main page]

Skip to content
< 7FFF div data-color-mode="dark" data-light-theme="light" data-dark-theme="dark">
han0110Public

About

No description, website, or topics provided.

Resources

Stars

113 stars

Watchers

11 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

Plonkish

Research focused repository on plonkish arithmetization.

Benchmark

Proof systems

On different proof systems with KZG polynomial commitment scheme.

Usage: cargo bench --bench proof_system -- [OPTIONS]

Options:
  --system <SYSTEM>    Proof system(s) to run. [possible values: hyperplonk, halo2, espresso_hyperplonk]
  --circuit <CIRCUIT>  Circuit to run. [possible values: vanilla_plonk, aggregation]
  --k <K>              (Range of) log number of rows.

For example to compare different proof systems on vanilla PLONK, run:

cargo bench --bench proof_system -- \
    --system hyperplonk \
    --system halo2 \
    --system espresso_hyperplonk \
    --circuit vanilla_plonk \
    --k 20..24

Then the proving time (in millisecond) will be written to target/bench/{hyperplonk,halo2,espresso_hyperplonk} respectively.

To further see cost breakdown of proving time without witness collecting time, run the same bench commanad with an extra cargo flag --features timer, then pipe the output to plotter cargo run plotter -- -, and the result will be rendered in target/bench. For example:

cargo bench --bench proof_system --features timer -- ... \
  | cargo run plotter -- -

Note that plotter requires gnuplot installed already.

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

113 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0