diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-01-29 23:12:20 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-01-29 23:12:20 +0100 |
| commit | 4919d8c2f86f69f669a1afba2a28d5c344fe7197 (patch) | |
| tree | 02f4b0747ee217ddf59fdc459a2083a95961a557 /examples | |
| parent | 963ddd26a89490458e31d9d553dffafe5e350e96 (diff) | |
perf: improve benchmarks
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/README.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/examples/README.md b/examples/README.md deleted file mode 100644 index 94f974b..0000000 --- a/examples/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# Examples - -## Wasm-Rust - -These are examples using WebAssembly generated from Rust code. -To run these, you first need to build the Rust code, since the resulting wasm files are not included in the repository to keep it small. -This requires the `wasm32-unknown-unknown` target and `wasm-opt` to be installed (available via [Binaryen](https://github.com/WebAssembly/binaryen)). - -```bash -$ ./examples/rust/build.sh -``` - -Then you can run the examples: - -```bash -$ cargo run --example wasm-rust <example> -``` - -Where `<example>` is one of the following: - -- `hello`: A simple example that prints a number to the console. -- `tinywasm`: Runs `hello` using TinyWasm - inside of TinyWasm itself! -- `fibonacci`: Calculates the x-th Fibonacci number. |
