We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pprof 50000 Web3 Pay UOP: secp256k1 recover public key takes 27% time, which is abnormal.
The text was updated successfully, but these errors were encountered:
It use a library forked from go-ethereum/crypto/secp256k1: https://pkg.go.dev/github.com/ledgerwatch/[email protected]
I compare the diff here: doutv/erigon-secp256k1#1
Sorry, something went wrong.
1 EcRecover takes 58 microseconds = 0.058 ms
go-ethereum/crypto/secp256k1/secp256_test.go at master · ethereum/go-ethereum
Running tool: /opt/homebrew/bin/go test -benchmem -run=^$ -bench ^BenchmarkRecover$ [github.com/ethereum/go-ethereum/crypto/secp256k1](http://github.com/ethereum/go-ethereum/crypto/secp256k1) goos: darwin goarch: arm64 pkg: [github.com/ethereum/go-ethereum/crypto/secp256k1](http://github.com/ethereum/go-ethereum/crypto/secp256k1) BenchmarkRecover-10 21537 58043 ns/op 80 B/op 1 allocs/op PASS ok [github.com/ethereum/go-ethereum/crypto/secp256k1](http://github.com/ethereum/go-ethereum/crypto/secp256k1) 2.473s
doutv
Successfully merging a pull request may close this issue.
pprof 50000 Web3 Pay UOP:
secp256k1 recover public key takes 27% time, which is abnormal.
The text was updated successfully, but these errors were encountered: