feat(query-engine-wasm): vertical slice(#4466)

Merged
Merging
feat/query-engine-wasm32-unknown-unknown
into
main
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
11
NEW
0
DROPPED
0

Benchmarks

deep_read_query
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::deep_read_query
0%
9.3 ms
9.3 ms
large_read
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::large_read
+3%
7.9 ms
7.7 ms
medium_read
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::medium_read
0%
1.4 ms
1.4 ms
mutation
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::mutation
+1%
32.3 ms
32.1 ms
small_read
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::small_read
+1%
328.9 µs
327 µs
validate (large)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::psl::validate (large)
0%
288.4 ms
288.4 ms
validate (medium)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::psl::validate (medium)
0%
64.3 ms
64.2 ms
validate (small)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::psl::validate (small)
0%
9.2 ms
9.2 ms
build (large)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::schema_builder::build (large)
0%
24.8 ms
24.8 ms
build (medium)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::schema_builder::build (medium)
0%
12.2 ms
12.2 ms
build (small)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::schema_builder::build (small)
0%
1.4 ms
1.4 ms

Commits

Click on a commit to change the comparison range
query-engine-wasm: fix build.sh with BSD sed (#4522) https://github.com/prisma/prisma-engines/pull/4519 fixed the `build.sh` script being broken with GNU sed (e.g. on Linux, including on CI) but broke it with BSD sed (e.g. on vanilla macOS with out-of-the box BSD sed, without GNU sed installed via Homebrew or Nix). This commit makes the script cross-platform. Co-authored-by: Alberto Schiabel <jkomyno@users.noreply.github.com>
base
efb851f
5 days ago by aqrln
0%
feat(query-engine-wasm): ported some logic from query-engine-node-api in a wasm32-compatible fashion
8529b8c
20 days ago by jkomyno
+6%
Merge branch 'feat/driver-adapters-on-wasm32-unknown-unknown' into feat/query-engine-wasm32-unknown-unknown
f4897f5
19 days ago by janpio
-6%
fix: remove tokio-induced panic in "connect"
d054114
18 days ago by jkomyno
0%
Merge branch 'feat/driver-adapters-on-wasm32-unknown-unknown' into feat/query-engine-wasm32-unknown-unknown
40520fd
18 days ago by jkomyno
0%
Fix JSResult parsing
77a79fa
18 days ago by SevInf
0%
Reorganize example Switch to sqlite so cloud services are not required Save schema to external file
6b60c8f
18 days ago by SevInf
0%
Fix some of the warnings
521b3ab
18 days ago by SevInf
0%
Remove unused file
272228e
18 days ago by SevInf
0%
Cleanup
b589b1f
17 days ago by SevInf
+6%
chore(driver-adapters): update Cargo.lock
d3b1ae9
17 days ago by jkomyno
-6%
Handle non-promise return values
11526ce
17 days ago by SevInf
0%
Merge remote-tracking branch 'origin/main' into feat/query-engine-wasm32-unknown-unknown
f02bd0e
16 days ago by SevInf
0%
Run tests on WASM
ab2937a
16 days ago by SevInf
0%
fix(query-engine-node-api): fix compilation errors
20d8a40
16 days ago by jkomyno
0%
Remove one more isntant usage
d04804d
16 days ago by SevInf
0%
chore(driver-adapters): unify napi/wasm errors into "crate::JsResult"
6bedf79
13 days ago by jkomyno
0%
chore(driver-adapters): continue unifying napi/wasm functions
56fc689
13 days ago by jkomyno
+6%
chore: merge main, fix conflicts
2ac6fb0
12 days ago by jkomyno
-6%
chore(driver-adapters): clippy fixes
91bd696
12 days ago by jkomyno
+6%
Remove unused import
e5c9716
12 days ago by SevInf
-6%
Fix hanging itx
08accae
12 days ago by SevInf
+6%
fix insta tests Strictly speaking, not related to wasm engine at all - we bumped `insta` at some point and that required adding `allow_duplicates` macro around the loop. Close prisma/team-orm#651
269998d
11 days ago by SevInf
-6%
Fix panic kills running engine in query-engine-tests (#4499) * I didn't have wasm-pack installed, let's fix that * Update wasm-bindgen-futures to 0.4.39 This includes https://github.com/rustwasm/wasm-bindgen/issues/3203 that use queueMicrotask to transalate spawn_local rust code. This has fixed https://github.com/rustwasm/wasm-bindgen/issues/2392 which was an issue about not being able to catch async wasm traps. This might (or not) have an effect on the issue we are trying to solve in here. * Revert "Update wasm-bindgen-futures to 0.4.39" This reverts commit 9a494dc1f5f2250ddf2c3f71b52ec2221e6c93cb. * Restart executor when it dies * Document Restartable * Remove async_panic_to_js_error in WASM query engine * Rename p -> process * Use tokio::sync::RwLock rather than futures::lock::Mutex * Better error messaging * Fixing clippy * Exclude unit tests for wasm32 when compiling the binary for other architectures
715c87f
11 days ago by miguelff
0%
chore: fix conflicts
ad9b485
11 days ago by jkomyno
0%
Fix duplicate snapshots in json_filters test
77e1027
11 days ago by SevInf
0%
Size low hanging fruits Removes following functionality from WASM engine: - GraphQL protocol - DMMF - SDL Schema Neither of the features are used by the client runtimes and thrid party clients don't and can not use WASM engine, so it is safe to remove.
f63661b
10 days ago by SevInf
0%
Merge branch 'feat/query-engine-wasm32-unknown-unknown' of github.com:prisma/prisma-engines into feat/query-engine-wasm32-unknown-unknown
74b4415
10 days ago by jkomyno
0%
chore: bumped wasm-bindgen version to 0.2.89
a34f74e
10 days ago by jkomyno
0%
Merge branch 'main' into feat/query-engine-wasm32-unknown-unknown
7e72125
10 days ago by jkomyno
0%
chore: fix clippy
6c710ad
10 days ago by jkomyno
0%
Revert "Revert "chore: removed wasm.rs test"" This reverts commit 481ba654658a00adc23e21d9dfc57875b899f4f2.
48b9381
10 days ago by jkomyno
0%
chore(driver-adapters): merge main, fix conflicts, add wasm-napi independent "has_named_property" function
22c1af0
6 days ago by jkomyno
0%
chore: merge main, fix conflicts
f169fe7
6 days ago by jkomyno
0%
Stop using removed method
0bc5b6c
6 days ago by SevInf
0%
Fix broken JS
2a2565a
6 days ago by SevInf
0%
Test fixes for NAPI tests (#4515)
9a99fd2
5 days ago by miguelff
0%
chore: fix conflicts
7f92ada
5 days ago by jkomyno
+6%
chore(review): move wasm/napi-specific task JoinHandle stuff to crosstarget-utils
4100e5b
5 days ago by jkomyno
-6%
Merge branch 'main' into feat/query-engine-wasm32-unknown-unknown
c245720
5 days ago by jkomyno
0%
Merge branch 'main' into feat/query-engine-wasm32-unknown-unknown
3ba08e2
5 days ago by jkomyno
0%
qe-wasm: Partially fix tests (#4517) * qe-wasm: Partially fix the test suite 1. Bash script for build did not abort on error, hence sed error on linux went unnoticed. 2. We don't actually need sed trickery sincce `wasm-pack` has a flag for changing binary name. 3. `tracing` feature does not actually work on WASM even partially: it panics on `Instant` invokation as soon as first span is created. Since we are running tests with all preview features enabled, that means that practically any test panics now. Disabled it again. A lot of tests are still failing on ThreadRng invocation and stacktrace is not really helpful, but I still think it's better if we get it working. * Update query-engine/query-engine-wasm/build.sh
c7c8586
4 days ago by SevInf
0%
qe-wasm: Fix RNG on Node 18 in a test runner (#4526)
14ceb7c
4 days ago by SevInf
0%
qe: Skipping failing tests on WASM (#4527) * Add a way to skip WASM tests * Temproary skip failing wasm tests on pg and neon * Skip timstamp test * Fix incorrect skips * Parse libsql.js.wasm version * Skip libsql wasm tests * Fix vitess version parsing * Skip wasm planetscale tests that are also skipped for napi * Rename jobs * Skip planetscale wasm tests * Fix some incorrect skips * And more fixes * Be careful when copy-pasting, please * One more fix * Fix null lists * Again: be careful when copy-pasting * Skip timestamp test on libsql and planetscale * Update .github/workflows/test-query-engine-driver-adapters.yml Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com> --------- Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
a758994
2 days ago by SevInf
ResourcesHomePricingDocsBlogGitHub
Copyright © 2023 CodSpeed Technology SAS. All rights reserved.