@raviqqe/stak 0.10.4 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/package.json +1 -1
- package/stak_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -171,16 +171,16 @@ fn run_scheme(module: &UniversalModule) -> Result<(), EngineError> {
|
|
|
171
171
|
|
|
172
172
|
### Computational benchmarks
|
|
173
173
|
|
|
174
|
-
The Stak Scheme interpreter runs 2 to
|
|
174
|
+
The Stak Scheme interpreter runs 2 to 4 times slower than Python 3 at computationally heavy tasks depending on its configuration and benchmarks. For all the benchmark results, see [the GitHub Action](https://github.com/raviqqe/stak/actions/workflows/bench.yaml).
|
|
175
175
|
|
|
176
176
|
- Baseline: Python 3.12
|
|
177
177
|
- Environment: Ubuntu 24.04, x86-64
|
|
178
178
|
|
|
179
179
|
| Benchmark | Stak (minimal [^1]) | Stak (full [^2]) |
|
|
180
180
|
| ---------------- | ------------------: | ---------------: |
|
|
181
|
-
| Fibonacci number | 2.
|
|
182
|
-
| Integer sum | 2.
|
|
183
|
-
| Tak function | 2.
|
|
181
|
+
| Fibonacci number | 2.04x slower | 3.19x slower |
|
|
182
|
+
| Integer sum | 2.23x slower | 3.96x slower |
|
|
183
|
+
| Tak function | 2.31x slower | 3.73x slower |
|
|
184
184
|
|
|
185
185
|
### Startup benchmarks
|
|
186
186
|
|
|
@@ -188,7 +188,6 @@ Although Stak Scheme's minimality comes at the cost of speed, it is very fast at
|
|
|
188
188
|
|
|
189
189
|
This means that Stak Scheme is suitable for embedding many small pieces of Scheme programs in Rust due to its tiny overhead on program initialization.
|
|
190
190
|
|
|
191
|
-
- Baseline: Python 3.12
|
|
192
191
|
- Environment: Ubuntu 24.04, x86-64
|
|
193
192
|
|
|
194
193
|
| Benchmark | Stak (full [^2]) | Lua 5.4 |
|
package/package.json
CHANGED
package/stak_wasm_bg.wasm
CHANGED
|
Binary file
|