-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* new numeric parser, closes #609, #1161, #1169 - merges previous parse_num and parse_uint into a single parse_numeric - removes bounds check on Num, so that parsing numbers larger than the field will modularly wrap - corrects uint parsing so that we never accidentally parse uints as nums - implements a placeholder syntax for i64 for parsing twos-complement numbers (i.e. -1i64 parses to u64::MAX). In future this syntax should parse to a new literal type - add placeholder parsing for u8, u16, u32, u128, i8, i16, i32, i128 literals so that we correctly error that these have yet to be implemented - adds unit tests to ensure correctness of the above * clippy * clippy part II: revenge of the linter * remove unused byte parsers and associated tests * comment out printlns
- Loading branch information
1 parent
d91b5e2
commit 7e95ec4
Showing
3 changed files
with
201 additions
and
156 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
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.
7e95ec4
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/8035099416
Benchmark Results
LEM Fibonacci Prove - rc = 100
ref=d91b5e27e526632aa56e3b1108012c232726b165
ref=7e95ec4ee868b3f0e52aa3bd0418db87a107b247
num-100
1.46 s
(✅ 1.00x)1.46 s
(✅ 1.00x faster)num-200
2.79 s
(✅ 1.00x)2.79 s
(✅ 1.00x slower)LEM Fibonacci Prove - rc = 600
ref=d91b5e27e526632aa56e3b1108012c232726b165
ref=7e95ec4ee868b3f0e52aa3bd0418db87a107b247
num-100
1.81 s
(✅ 1.00x)1.84 s
(✅ 1.01x slower)num-200
3.02 s
(✅ 1.00x)3.03 s
(✅ 1.00x slower)Made with criterion-table