Comments (5)
It's all benchmarking artifacts afaik: We'd seriously fucked up benchmarks, the arkworks benchmarks were not perfect either, and separately criterion was making it look like arkworks bechmarks reported the same problem. I think @swasilyev fixed the arkworks benchmarks. I hopefully convinced him arkworks needs a smaller MSM1024 bechmark for other reasons, which should avoid criterion issues, even on people's laptops. Also @achimcc will fix our messed up benchmarks.
from curves.
I'll close this for now since @swasilyev pointed out that criterion does not handle slow benchmarks well: bheisler/criterion.rs#320
We'll sort this out internally and reopen if necessary. It maybe worth having some smaller MSM benchmarks too.
from curves.
Individual muls:
Arithmetic for Bls12_381::G1/Scalar Multiplication
time: [191.29 µs 194.11 µs 199.25 µs]
Arithmetic for Bls12_381::G2/Scalar Multiplication
time: [692.69 µs 708.57 µs 725.30 µs]
1024-MSM:
MSM for Bls12_381::G1 time: [24.212 ms 24.980 ms 25.818 ms]
~8x faster than individual
MSM for Bls12_381::G2 time: [72.097 ms 72.759 ms 73.431 ms]
~10x faster
from curves.
I'll close this for now since @swasilyev pointed out that criterion does not handle slow benchmarks well:
@swasilyev actually didn't mean anything like that. What he meant is that you should respect other's time and double check before posting your exciting findings
from curves.
This is surprising; do you think this is because of the multi-threading overhead? Do you have an idea of the cost if you turn off parallel
?
from curves.
Related Issues (20)
- Plan to handle curve25519 and ed25519
- Prepared G2 for CP6-782 HOT 3
- Use workspace inheritance to reduce duplication in crate `Cargo.toml`s
- Add Sonny Curve to Library HOT 5
- Publish & tag 0.4.0-alpha
- Curve master should always be patched to depend on Algebra master
- Benchmarks for pairings are not executed HOT 2
- Slow affine multiplication for ed_on_bls12_377 HOT 4
- In version 0.3, `multi_scalar_mul` output is incorrect if scalar exceeds curve order. HOT 1
- Hash to G1 point setting different domain string HOT 1
- cargo build fails HOT 5
- How to run `bls12_isogeny_computer.sage` script? HOT 2
- Define curve parameters with the `BigInt` macro
- Implement Grumpking curve to enable the bn254 cycle for folding & split accumulation(BCLMS)
- Make CI conditional on which curves are changed
- Run cp6_782 conditionally like MNT{4,6}-753 HOT 1
- Curves CI optimization look-up cache only instead of download
- Implement GLV for the Bandersnatch curve
- Unable to build when importing crate through git HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curves.