> For the complete documentation index, see [llms.txt](https://docs.zama.org/tfhe-rs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zama.org/tfhe-rs/get-started/benchmarks/zk-proof-benchmarks.md).

# Zero-knowledge proof benchmarks

This document details the performance benchmarks of [zero-knowledge proofs](https://docs.zama.org/tfhe-rs/fhe-computation/advanced-features/zk-pok.md) for [compact public key encryption](https://docs.zama.org/tfhe-rs/fhe-computation/advanced-features/public-key.md) using **TFHE-rs**.

## Server-side computation

{% hint style="info" %}
Benchmarks were launched on an `AWS hpc8a.96xlarge` instance equipped with two 96-core `AMD EPYC 9R45 CPU @ 2.30GHz` and 768GB of RAM.
{% endhint %}

Proving and verification are done with tfhe-rs native executable on a powerful server.

### Fast proof / slow verify latency

![](https://2311470316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsXygEQKbuBnXU0JLsUI%2Fuploads%2Fgit-blob-73ade2399fd20704ea1abcc18ff3c29c7a8dba86%2Fcpu-zk-benchmark-fast-proof-slow-verify-latency.svg?alt=media)

### Fast proof / slow verify throughput

![](https://2311470316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsXygEQKbuBnXU0JLsUI%2Fuploads%2Fgit-blob-122997e18a41ae5a1d33a550a5460ba734ed90eb%2Fcpu-zk-benchmark-fast-proof-slow-verify-throughput.svg?alt=media)

### Slow proof / fast verify latency

![](https://2311470316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsXygEQKbuBnXU0JLsUI%2Fuploads%2Fgit-blob-8755298277a03b161c4b156ec3d1296d4b2c0878%2Fcpu-zk-benchmark-slow-proof-fast-verify-latency.svg?alt=media)

### Slow proof / fast verify throughput

![](https://2311470316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsXygEQKbuBnXU0JLsUI%2Fuploads%2Fgit-blob-7f0c367fbf738a634b7d2eebbbb39aae9a91e9d6%2Fcpu-zk-benchmark-slow-proof-fast-verify-throughput.svg?alt=media)

## Client-side computation

{% hint style="info" %}
Benchmarks were launched on an `AWS m6i.4xlarge` instance equipped with a 16-core from a hypervisored `Intel Xeon Platinum 8375C CPU @ 2.90GHz` and 64GB of RAM.
{% endhint %}

Proving is done on a 16-core machine using WASM executable run on a Chrome browser to simulate a typical client configuration.

### Fast proof / slow verify latency

![](https://2311470316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsXygEQKbuBnXU0JLsUI%2Fuploads%2Fgit-blob-a88e7835154ec8b185654eccf38ce6025cc1b85f%2Fcpu-zk-benchmark-fast-proof-slow-verify-latency-wasm.svg?alt=media)

### Slow proof / fast verify latency

![](https://2311470316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsXygEQKbuBnXU0JLsUI%2Fuploads%2Fgit-blob-1f8912f75dcf7f7192e8c834e015bfd643e0c349%2Fcpu-zk-benchmark-slow-proof-fast-verify-latency-wasm.svg?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zama.org/tfhe-rs/get-started/benchmarks/zk-proof-benchmarks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
