20de759aee
This is showing up in profiles so I figured I'd optimize it a bit: 1. Avoid holding locks while recording metrics. 2. Slightly reduce allocations by re-using the metrics "mutators". Also, use the passed context for better tracing. This is unlikely to make a huge difference, but it may help RPC providers a _tiny_ bit and doesn't really move the complexity needle. |
||
---|---|---|
.. | ||
burn_test.go | ||
burn.go | ||
execution.go | ||
fvm_util.go | ||
fvm.go | ||
gas_v0_test.go | ||
gas_v0.go | ||
gas.go | ||
invoker_test.go | ||
invoker.go | ||
mkactor.go | ||
runtime_test.go | ||
runtime.go | ||
syscalls.go | ||
vm.go | ||
vmi.go |