-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: formalize "car_cdr_simple" (#1202)
We already have an implementation of `car_cdr` in LEM that doesn't deal with strings in order to save constraints. We can call that `car_cdr_simple` so we know what we're talking about just by looking at it. This diff materializes this concept in the `Store` and implements a corresponding gadget that can be used more cheaply in coprocessors. Furthemore, `chain_car_cdr` gains a `simple` flag so the caller can use it to save constraints.
- Loading branch information
1 parent
26efa6e
commit ede22b3
Showing
3 changed files
with
184 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ede22b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmarks
Table of Contents
Overview
This benchmark report shows the Fibonacci GPU benchmark.
NVIDIA L4
Intel(R) Xeon(R) CPU @ 2.20GHz
32 vCPUs
125 GB RAM
Workflow run: https://github.com/lurk-lab/lurk-rs/actions/runs/8206867359
Benchmark Results
LEM Fibonacci Prove - rc = 100
ref=26efa6e2916bb319d2fec97f84be5a19d72a7d31
ref=ede22b3d14d3b20b28956d0b10b60a1a366a03bc
num-100
1.45 s
(✅ 1.00x)1.46 s
(✅ 1.01x slower)num-200
2.78 s
(✅ 1.00x)2.79 s
(✅ 1.00x slower)LEM Fibonacci Prove - rc = 600
ref=26efa6e2916bb319d2fec97f84be5a19d72a7d31
ref=ede22b3d14d3b20b28956d0b10b60a1a366a03bc
num-100
1.84 s
(✅ 1.00x)1.84 s
(✅ 1.00x slower)num-200
3.06 s
(✅ 1.00x)3.04 s
(✅ 1.01x faster)Made with criterion-table