Second State
  • What is Second State?
  • Server-side WebAssembly
    • Why?
      • WebAssembly vs native code
    • Getting started
      • VS Codespaces
      • The ssvmup tool
    • Rust functions in Node.js
    • Access system resources
      • WASI
      • The storage interface
      • The inference interface
    • Examples and use cases
      • Encryption and decryption
      • Machine learning
      • Artificial intelligence
    • SSVM Performance
  • Function as a Service
    • Getting started
      • Context
      • Send result to another service
    • Input and output
      • JSON argument
      • Binary argument
      • Multiple arguments
      • Argument from a URL
      • JSON return value
      • Binary return value
      • Redirect return value
    • Stateful execution
  • Related technologies
    • Deno, Rust and WebAssembly
    • A Rusty hello world
    • Rust and WebAssembly
    • WebAssembly in the browser
    • Access JavaScript from Rust
    • How to Learn Rust Without Installing Any Software
    • How to Publish a no-code website in 10 minutes
Powered by GitBook
On this page

Was this helpful?

  1. Server-side WebAssembly

SSVM Performance

Performance benchmark for the SSVM against other WebAssembly runtimes

PreviousArtificial intelligenceNextGetting started

Last updated 4 years ago

Was this helpful?

This page is outdated. Please .

The Second State Virtual Machine () is an open source WebAssembly runtime optimized for server-side applications. The SSVM provides not only a WebAssembly runtime in Node.js, but also a compiler toolchain for Rust and JavaScript.

Performance benchmarks

The benchmark scores are in seconds. The smaller the better. The 👍emoji marks the two best performing runtimes for each benchmark. The docker+native runtime is a simple Ubuntu Docker on an Ubuntu host.

❤️

/

docker+native

nop 0

0.003👍

0.002👍

0.024

0.056

0.849

cat-sync 0

0.007👍

0.573

0.029👍

0.06

0.826

nbody-c 50M

3.716👍

4.611

3.753

3.408👍

4.128

nbody-cpp 50M

3.759👍

4.705

3.741👍

3.962

3.944

fannkuch-redux-c 12

28.06👍

53.104

28.477

29.285

24.459👍

mandelbrot-c 15K

10.347👍

28.97

12.072👍

18.062

16.05

binary-trees-c 18

1.328👍

2.91

1.612👍

2.002

17.191

visit here for the most up-to-date content
SSVM
ssvmup
SSVM
Lucet
wasmtime
WAVM
V8