Skip to content

Instantly share code, notes, and snippets.

@MarekM25
Last active December 11, 2024 12:07
Show Gist options
  • Save MarekM25/bce010cde0dc0b76728373356cda3b53 to your computer and use it in GitHub Desktop.
Save MarekM25/bce010cde0dc0b76728373356cda3b53 to your computer and use it in GitHub Desktop.
Ec Recover differences
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 12085 126547 ns/op 3000 gas/op 23.70 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 2.558s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 16593 76939 ns/op 3000 gas/op 38.99 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 2.030s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 14707 83637 ns/op 3000 gas/op 35.86 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 2.075s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 10000 101126 ns/op 3000 gas/op 29.66 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 1.041s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 10000 118903 ns/op 3000 gas/op 25.22 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 1.214s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 17670 76668 ns/op 3000 gas/op 39.12 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 2.063s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 10000 106856 ns/op 3000 gas/op 28.07 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 1.097s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 17353 84625 ns/op 3000 gas/op 35.45 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 2.187s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 10000 103243 ns/op 3000 gas/op 29.05 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 1.061s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 10000 146959 ns/op 3000 gas/op 20.41 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 1.505s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 14462 93260 ns/op 3000 gas/op 32.16 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 2.208s
root@marek-NUC:/home/marek/go-ethereum/core/vm# go test -bench=PrecompiledEcrecover -run=^$
goos: linux
goarch: amd64
pkg: github.com/ethereum/go-ethereum/core/vm
cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
BenchmarkPrecompiledEcrecover/-Gas=3000-8 10000 104547 ns/op 3000 gas/op 28.69 mgas/s 768 B/op 7 allocs/op
PASS
ok github.com/ethereum/go-ethereum/core/vm 1.078s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment