Skip to content

When using ECC Zkcuda as a rust crate, performance is 10x slower #153

Description

@siq1

In #104, we fixed the slow time in this repo. But when using ECC as a rust crate (like in EthFullConsensus), it still requires manually set target-cpu=native, otherwise SIMD operations will be functions, and it costs a lot for function calling.

For regular circuits, we usually only compile in ECC, and then run with expander-exec. The performance impact is relatively small.

But for Zkcuda, everything is done in ECC, it's really 10x time.

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