Giter Club home page Giter Club logo

Comments (4)

piotr-roslaniec avatar piotr-roslaniec commented on July 18, 2024

Initial benchmark
Out of date - Please see WASM and Python benchmarks below.

  • No changes to existing TPKE benchmarks
  • Running benchmarks in wasi rather than in the browser. Because of that, these results are not indicative of performance in the browser.
  • Raw results
  • TLDR of the results: WASM is ~5x slower than Rust implementation
  • More detailed benchmarks are coming after proper WASM bindings are shipped #10 Done

from ferveo.

piotr-roslaniec avatar piotr-roslaniec commented on July 18, 2024

WASM bindings benchmark

  • Results available here
  • WASM in the browser is 14x slower than Rust on desktop
  • The worst-case scenario performance-wise is where we use 128 shares: Time to combine these shares is in the ballpark of a few seconds (2.2s in the benchmark)
  • TLDR: Combining 128 shares takes up to ~2-3s in the browser

Relevant PR: #17

from ferveo.

piotr-roslaniec avatar piotr-roslaniec commented on July 18, 2024

Python bindings benchmark

  • Results available here
  • Notice: The code used in the benchmark doesn't perform public verification yet. See this question about "simple vs fast" decryption if it impacts how verification is performed. Edit: After some light reading of the Ferveo source code I concluded that it's not necessary to benchmark this verification.
  • TLDR: Partial decryption of 128 shares takes up to 25 ms in Python

Relevant PR: #18

from ferveo.

piotr-roslaniec avatar piotr-roslaniec commented on July 18, 2024

Benchmarks are done. Please reopen should we need to update the benchmark suite.

from ferveo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.