{
  "id": "2023/1503",
  "url": "https://opencryptology.org/2023/1503",
  "original_url": "https://eprint.iacr.org/2023/1503",
  "title": "zk-Bench: A Toolset for Comparative Evaluation and Performance Benchmarking of SNARKs",
  "authors": [
    "Jens Ernstberger",
    "Stefanos Chaliasos",
    "George Kadianakis",
    "Sebastian Steinhorst",
    "Philipp Jovanovic",
    "Arthur Gervais",
    "Benjamin Livshits",
    "Michele Orrù"
  ],
  "affiliations": null,
  "abstract": "Zero-Knowledge Proofs (ZKPs), especially Succinct Non-interactive ARguments of Knowledge (SNARKs), have garnered significant attention in modern cryptographic applications. Given the multitude of emerging tools and libraries, assessing their strengths and weaknesses is nuanced and time-consuming. Often, claimed results\nare generated in isolation, and omissions in details render them irreproducible. The lack of comprehensive benchmarks, guidelines, and support frameworks to navigate the ZKP landscape effectively is a major barrier in the development of ZKP applications. \n\nIn response to this need, we introduce zk-Bench, the first benchmarking framework and estimator tool designed for performance evaluation of public-key cryptography, with a specific focus on practical assessment of general-purpose ZKP systems. To simplify navigating the complex set of metrics and qualitative properties, we offer a comprehensive open-source evaluation platform, which enables the rigorous dissection and analysis of tools for ZKP development to uncover their trade-offs throughout the entire development stack; from low-level arithmetic libraries, to high-level tools for SNARK development. \n\nUsing zk-Bench, we (i) collect data across $13$ different elliptic curves implemented across $9$ libraries, (ii) evaluate $5$ tools for ZKP development and (iii) provide a tool for estimating cryptographic protocols, instantiated for the $\\mathcal{P}\\mathfrak{lon}\\mathcal{K}$ proof system, achieving an accuracy of 6 − 32% for ZKP circuits with up to millions of gates. By evaluating zk-Bench for various hardware configurations, we find that certain tools for ZKP development favor compute-optimized hardware, while others benefit from memory-optimized hardware. We observed performance enhancements of up to $40$ % for memory-optimized configurations and $50$ % for compute-optimized configurations, contingent on the specific ZKP development tool utilized.",
  "category": "Implementation",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“zk-Bench: A Toolset for Comparative Evaluation and Performance Benchmarking of SNARKs” by Jens Ernstberger, Stefanos Chaliasos, George Kadianakis, Sebastian Steinhorst, Philipp Jovanovic, Arthur Gervais, Benjamin Livshits, Michele Orrù, Cryptology ePrint Archive, Paper 2023/1503, https://eprint.iacr.org/2023/1503. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2023-10-02T09:59:23Z",
    "updated": "2023-10-02T09:59:23Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1503.pdf",
    "sha256": "381eb7d907c0438d7dfae5bf0b568957ace4e780b5ace5a472a7a7247d83f64b",
    "size": 1135342,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1503/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1503.pdf",
      "size": 1135342,
      "sha256": "381eb7d907c0438d7dfae5bf0b568957ace4e780b5ace5a472a7a7247d83f64b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260905174644id_/https://eprint.iacr.org/2023/1503.pdf",
      "captured_at": "2026-09-05T17:46:44Z",
      "size": 995290
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1503.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 1135342
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1503,\n      author = {Jens Ernstberger and Stefanos Chaliasos and George Kadianakis and Sebastian Steinhorst and Philipp Jovanovic and Arthur Gervais and Benjamin Livshits and Michele Orrù},\n      title = {zk-Bench: A Toolset for Comparative Evaluation and Performance Benchmarking of SNARKs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1503},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1503}\n}"
}
