Skip to content

Commit d9ad7a7

Browse files
committed
returned synchronous fitting for WASM version
1 parent 72ff610 commit d9ad7a7

8 files changed

Lines changed: 183 additions & 186 deletions

File tree

Cargo.lock

Lines changed: 19 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ sys-locale = "0.3.2"
3030
getrandom = { version = "0.3", features = ["wasm_js"] }
3131
wasm-bindgen = "0.2.114"
3232
wasm-bindgen-futures = "0.4.54"
33+
web-time = "1.1.0"
3334
web-sys = { version = "0.3.91", features = [
3435
"Document",
3536
"Element",

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66

77
![Alt text](images/curve-fit-screenshot.png "Optional title text")
88

9+
Отличие десктопной версии от web-версии:
10+
11+
- чуть выше производительность
12+
- нет подвисания при обучении(фитинге кривой)
13+
914
## Run Desktop
1015

1116
```bash
@@ -20,13 +25,13 @@ cargo run
2025
rustup target add wasm32-unknown-unknown
2126
```
2227

23-
2. Установить `trunk` (если не установлен):
28+
1. Установить `trunk` (если не установлен):
2429

2530
```bash
2631
cargo install trunk
2732
```
2833

29-
3. Запустить web-версию:
34+
1. Запустить web-версию:
3035

3136
```bash
3237
trunk serve

0 commit comments

Comments
 (0)