Avatar for the prisma user
prisma
prisma-engines
BlogDocsChangelog

feat(query-engine-wasm): vertical slice

#4466Merged
Comparing
feat/query-engine-wasm32-unknown-unknown
(
a758994
) with
main
(
efb851f
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
11
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

large_read
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::large_read
CodSpeed Performance Gauge
+2%
1.6 ms
1.6 ms
medium_read
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::medium_read
CodSpeed Performance Gauge
+1%
321 µs
319 µs
mutation
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::mutation
CodSpeed Performance Gauge
+1%
6.3 ms
6.2 ms
small_read
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::small_read
CodSpeed Performance Gauge
+1%
109.9 µs
109.3 µs
validate (medium)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::psl::validate (medium)
CodSpeed Performance Gauge
0%
11.8 ms
11.8 ms
build (small)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::schema_builder::build (small)
CodSpeed Performance Gauge
0%
266.7 µs
266.6 µs
build (large)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::schema_builder::build (large)
CodSpeed Performance Gauge
0%
4.5 ms
4.5 ms
validate (large)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::psl::validate (large)
CodSpeed Performance Gauge
0%
52.4 ms
52.4 ms
validate (small)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::psl::validate (small)
CodSpeed Performance Gauge
0%
1.8 ms
1.8 ms
build (medium)
query-engine/schema/benches/schema_builder_bench.rs::benches::criterion_benchmark::schema_builder::build (medium)
CodSpeed Performance Gauge
0%
2.2 ms
2.2 ms
deep_read_query
query-engine/request-handlers/benches/query_planning_bench.rs::benches::criterion_benchmark::deep_read_query
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms

Commits

Click on a commit to change the comparison range
Base
main
efb851f
0%
feat(query-engine-wasm): ported some logic from query-engine-node-api in a wasm32-compatible fashion
8529b8c
1 year ago
by jkomyno
+6%
Merge branch 'feat/driver-adapters-on-wasm32-unknown-unknown' into feat/query-engine-wasm32-unknown-unknown
f4897f5
1 year ago
by janpio
-6%
fix: remove tokio-induced panic in "connect"
d054114
1 year ago
by jkomyno
0%
Merge branch 'feat/driver-adapters-on-wasm32-unknown-unknown' into feat/query-engine-wasm32-unknown-unknown
40520fd
1 year ago
by jkomyno
0%
Fix JSResult parsing
77a79fa
1 year ago
by SevInf
0%
Reorganize example Switch to sqlite so cloud services are not required Save schema to external file
6b60c8f
1 year ago
by SevInf
0%
Fix some of the warnings
521b3ab
1 year ago
by SevInf
0%
Remove unused file
272228e
1 year ago
by SevInf
0%
Cleanup
b589b1f
1 year ago
by SevInf
+6%
chore(driver-adapters): update Cargo.lock
d3b1ae9
1 year ago
by jkomyno
-6%
Handle non-promise return values
11526ce
1 year ago
by SevInf
0%
Merge remote-tracking branch 'origin/main' into feat/query-engine-wasm32-unknown-unknown
f02bd0e
1 year ago
by SevInf
0%
Run tests on WASM
ab2937a
1 year ago
by SevInf
0%
fix(query-engine-node-api): fix compilation errors
20d8a40
1 year ago
by jkomyno
0%
Remove one more isntant usage
d04804d
1 year ago
by SevInf
0%
chore(driver-adapters): unify napi/wasm errors into "crate::JsResult"
6bedf79
1 year ago
by jkomyno
0%
chore(driver-adapters): continue unifying napi/wasm functions
56fc689
1 year ago
by jkomyno
+5%
chore: merge main, fix conflicts
2ac6fb0
1 year ago
by jkomyno
-6%
chore(driver-adapters): clippy fixes
91bd696
1 year ago
by jkomyno
+6%
Remove unused import
e5c9716
1 year ago
by SevInf
-6%
Fix hanging itx
08accae
1 year 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
1 year 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
1 year ago
by miguelff
0%
chore: fix conflicts
ad9b485
1 year ago
by jkomyno
0%
Fix duplicate snapshots in json_filters test
77e1027
1 year 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
1 year 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
1 year ago
by jkomyno
0%
chore: bumped wasm-bindgen version to 0.2.89
a34f74e
1 year ago
by jkomyno
0%
Merge branch 'main' into feat/query-engine-wasm32-unknown-unknown
7e72125
1 year ago
by jkomyno
0%
chore: fix clippy
6c710ad
1 year ago
by jkomyno
0%
Revert "Revert "chore: removed wasm.rs test"" This reverts commit 481ba654658a00adc23e21d9dfc57875b899f4f2.
48b9381
1 year ago
by jkomyno
0%
chore(driver-adapters): merge main, fix conflicts, add wasm-napi independent "has_named_property" function
22c1af0
1 year ago
by jkomyno
0%
chore: merge main, fix conflicts
f169fe7
1 year ago
by jkomyno
0%
Stop using removed method
0bc5b6c
1 year ago
by SevInf
0%
Fix broken JS
2a2565a
1 year ago
by SevInf
0%
Test fixes for NAPI tests (#4515)
9a99fd2
1 year ago
by miguelff
0%
chore: fix conflicts
7f92ada
1 year ago
by jkomyno
+5%
chore(review): move wasm/napi-specific task JoinHandle stuff to crosstarget-utils
4100e5b
1 year ago
by jkomyno
-6%
Merge branch 'main' into feat/query-engine-wasm32-unknown-unknown
c245720
1 year ago
by jkomyno
0%
Merge branch 'main' into feat/query-engine-wasm32-unknown-unknown
3ba08e2
1 year 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
1 year ago
by SevInf
0%
qe-wasm: Fix RNG on Node 18 in a test runner (#4526)
14ceb7c
1 year 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
1 year ago
by SevInf
© 2025 CodSpeed Technology
Home Terms PrivacyDocs