Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Wasm VM #997

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Basic Wasm VM #997

wants to merge 3 commits into from

Conversation

skyz1
Copy link
Collaborator

@skyz1 skyz1 commented Mar 24, 2024

Closes: #984

This PR adds a WASM-VM based on wasmer to the environment. It also adds a WASM package.

Checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

@jwbot jwbot added the P: Compiler: VM Package: The VM executing Candy byte code (LIR) label Mar 24, 2024
@skyz1 skyz1 requested a review from JonasWanke March 24, 2024 18:32
@jwbot
Copy link
Collaborator

jwbot commented Mar 24, 2024

The golden IRs have changed: a705e60..2717520

@jwbot
Copy link
Collaborator

jwbot commented Mar 24, 2024

🐰Bencher

ReportSun, March 24, 2024 at 18:43:10 UTC
ProjectCandy
Branch984-basic-wasm-vm
TestbedGitHub Actions: Ubuntu 22.04
BenchmarkEstimated CyclesEstimated Cycles Results
estimated cycles
InstructionsInstructions Results
instructions
L1 AccessesL1 Accesses Results
accesses
L2 AccessesL2 Accesses Results
accesses
RAM AccessesRAM Accesses Results
accesses
Total AccessesTotal Accesses Results
total-accesses
compile: Examples/fibonacci.candy ➖ (view plot)1785177592.000➖ (view plot)1184798499.000➖ (view plot)1611949897.000➖ (view plot)10751879.000➖ (view plot)3413380.000➖ (view plot)1626115156.000
compile: Examples/helloWorld.candy ➖ (view plot)283854602.000➖ (view plot)175928981.000➖ (view plot)247698992.000➖ (view plot)1465327.000➖ (view plot)823685.000➖ (view plot)249988004.000
vm_runtime: Examples/fibonacci.candy 10➖ (view plot)194148483.000➖ (view plot)114888942.000➖ (view plot)161578948.000➖ (view plot)874973.000➖ (view plot)805562.000➖ (view plot)163259483.000
vm_runtime: Examples/helloWorld.candy ➖ (view plot)154629701.000➖ (view plot)88711559.000➖ (view plot)125055486.000➖ (view plot)703266.000➖ (view plot)744511.000➖ (view plot)126503263.000

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

@JonasWanke JonasWanke changed the title Basic wasm vm Basic Wasm VM Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: Compiler: VM Package: The VM executing Candy byte code (LIR)
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Wasm VM
2 participants