Avatar for the thirdweb-dev user
thirdweb-dev
js
BlogDocsChangelog

refactor: get userOp gas prices from bundler

#2631Merged
Comparing
joaquim/bundlerGasPriceV5
(
dce9ae4
) with
main
(
15697ae
)
CodSpeed Performance Gauge
0%
Untouched
9

Benchmarks

Passed

units:toTokens(12345678901234567890n, 18)
packages/thirdweb/src/utils/units.bench.ts::units:toTokens(12345678901234567890n, 18)
CodSpeed Performance Gauge
+6%
26.7 µs25.2 µs
units:toUnits("40", 18)
packages/thirdweb/src/utils/units.bench.ts::units:toUnits("40", 18)
CodSpeed Performance Gauge
+5%
36.5 µs34.7 µs
units:toUnits("40.0", 18)
packages/thirdweb/src/utils/units.bench.ts::units:toUnits("40.0", 18)
CodSpeed Performance Gauge
+5%
36.9 µs35.2 µs
units:toTokens(40000000000000000000n, 18)
packages/thirdweb/src/utils/units.bench.ts::units:toTokens(40000000000000000000n, 18)
CodSpeed Performance Gauge
+5%
44.9 µs42.9 µs
keccakId
packages/thirdweb/src/utils/any-evm/keccak-id.bench.ts::keccakId
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
encode tx (prepared method)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (prepared method)
CodSpeed Performance Gauge
-3%
342.1 µs351.7 µs
encode tx (human readable)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (human readable)
CodSpeed Performance Gauge
-4%
394.2 µs410.4 µs
encode tx (contract abi)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (contract abi)
CodSpeed Performance Gauge
-5%
216.1 µs227.7 µs
encode tx (json abi)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (json abi)
CodSpeed Performance Gauge
-7%
188.1 µs201.3 µs

Commits

Click on a commit to change the comparison range
Base
main
15697ae
+0.1%
get userOp gas prices from bundler
dce9ae4
1 year ago
by joaquim-verges
© 2025 CodSpeed Technology
Home Terms Privacy Docs