Raymond Zhang

Results 17 issues of Raymond Zhang

- [ ] Port transaction generation to new repo: https://github.com/onflow/cadence-standard-transactions - [ ] Update flow execution effort repo: https://github.com/onflow/flow-execution-effort-estimation/ - [ ] Create benchmarks in cadence repo for interpreter/vm

Feature

Closes #4329 ## Description Takes ~5 minutes for combined inter and vm benchmarks to complete. inter (master) vs vm (master) ``` goos: darwin goarch: arm64 pkg: github.com/onflow/cadence/runtime cpu: Apple M4...

Testing

Work towards #4273 ## Description Re-use static to sema conversions from the compiler in the vm. Tried various changes in the linker to no success, tried caching static type ID...

Improvement

Avoid conversions where possible. Improve caching. Possible approaches: - [ ] Re-use static-type conversion results from compiler/ previous executions. See https://github.com/onflow/cadence/pull/4054#discussion_r2172847539 - [ ] #3691 - [ ] Avoid static...

Improvement

Ideas for further work: - [ ] Make peephole pass patch instructions in place (replace instructions with NO-OP instructions - saves allocation and removes the need for jump patching -...

- [ ] Remove old natives using `NewUnmeteredStaticHostFunctionValue` and `NewStaticHostFunctionValue`. These use invocation or pass invocation around which is no longer supported in a `NativeFunction`. Refactor if possible. - [...

Technical Debt