lotus/chain/vm
Steven Allen 20de759aee
feat: fvm: optimize FVM lanes a bit (#11875)
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.
2024-04-14 15:12:19 -05:00
..
burn_test.go fix make gen 2022-08-29 16:25:30 +02:00
burn.go disable gas burning for window post messages 2020-12-16 00:10:25 -05:00
execution.go feat: fvm: optimize FVM lanes a bit (#11875) 2024-04-14 15:12:19 -05:00
fvm_util.go feat: fvm: apply a max length when decoding events 2023-07-08 11:05:01 -04:00
fvm.go fix: nv21fix migration: correctly upgrade system actor 2023-11-09 14:14:41 -05:00
gas_v0_test.go fix make gen 2022-08-29 16:25:30 +02:00
gas_v0.go chore: fix imports 2022-06-14 17:00:51 +02:00
gas.go fix: gas: update ffi & correct the message inclusion cost in nv18 (#10228) 2023-02-10 12:48:20 +00:00
invoker_test.go Invoker: Use MethodMeta from go-state-types 2022-10-19 15:53:26 -04:00
invoker.go fix: chain: make sure the head is empty, not the code 2023-02-09 11:36:02 -08:00
mkactor.go set predictable address when creating account actors 2022-11-09 11:15:16 +02:00
runtime_test.go fix make gen 2022-08-29 16:25:30 +02:00
runtime.go wip: 2 more randomness fetching APIs 2023-08-21 16:32:27 -04:00
syscalls.go legacy syscalls: Cleanup ComputeUnsealedSectorCID 2023-07-31 12:43:47 +02:00
vm.go refactor: move vm.Rand to rand.Rand 2023-08-22 11:34:28 -04:00
vmi.go refactor: move vm.Rand to rand.Rand 2023-08-22 11:34:28 -04:00