Skip to content

MultiExp bench seems a bit "optimistic" #205

@0x0ece

Description

@0x0ece

See this line:
https://github.com/ConsenSys/gnark-crypto/blob/master/ecc/bls12-377/multiexp_test.go#L209

All points are equal, so the MSM algo is doing a ton of dbl that in ExtJac are considerably faster than add.
As a result the numbers one gets running go test -bench are extremely optimistic.

I'd recommend generating a somewhat random set of points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions