Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmp: merge two branches #5132

Draft
wants to merge 8 commits into
base: compiler
Choose a base branch
from
Draft

tmp: merge two branches #5132

wants to merge 8 commits into from

Conversation

aqrln
Copy link
Member

@aqrln aqrln commented Jan 17, 2025

jacek-prisma and others added 8 commits January 14, 2025 13:22
… `driver-adapters` from `query-engine/..` to `libs/..` (#5115)

* feat(schema-engine-wasm): created wasm-compatible schema-engine-wasm skeleton

* chore(schema-engine-wasm): added "make build-se-wasm" command

* fix(schema-engine-wasm): replace "SchemaEngineParams" class instance with JS object via tsify. Fix build.sh script

* feat(schema-engine-wasm): implement playground skeleton

* fix(schema-engine-wasm): clippy

* chore(schema-engine-wasm): lift "driver-adapters" from "query-engine" to "libs" folder

* Delete libs/driver-adapters/executor/bench/seed.sql.gz

* chore: update Cargo.lock

* chore: update driver-adapters path references

* chore: update query-engine-wasm path references

* chore: update query-engine-wasm path references

* chore: update query-engine-wasm and schema-engine-wasm path references

* feat(driver-adapters): get rid of external import hack, fix paths in Napi engine scenario

* Revert "Delete libs/driver-adapters/executor/bench/seed.sql.gz"

This reverts commit 0360567.

* chore: fix conflicts

* chore: fix pnpm version to avoid pnpm/pnpm#8953

* fix: use actual dist JS file

* chore: update tsup to latest

---------

Co-authored-by: jkomyno <[email protected]>
* feat: use exists for relational filters

* fix: correct the inverted condition

* fix: move alias counting to Context

* fix: fix lints

* fix: change tests to ensure ordering

* fix: change more tests to ensure ordering

* fix: change more tests to ensure ordering

* doc: comments

* [integration]
…5126)

* feat(sql-schema-connector): enable wasm compilation with "--features sqlite"

* feat(sql-schema-connector): enable wasm compilation with "--features postgresql" and "--features cockroachdb"

* feat(sql-schema-connector): get rid of sql-schema-connector-wasm

* fix(sql-schema-connector): remove typo, fix migration tests

* feat(sql-schema-connector): expose external constructors for postgres, sqlite

* feat(sql-schema-connector): enable wasm compilation with "--features mysql"

* chore: remove typo

* feat(sql-schema-connector): enable wasm compilation with "--features mssql"; update mssql's quaint::visitor::Visitor

* chore(schema-engine-wasm): typo

---------

Co-authored-by: jkomyno <[email protected]>
Copy link

codspeed-hq bot commented Jan 17, 2025

CodSpeed Performance Report

Merging #5132 will not alter performance

Comparing tmp-compiler-merge (0101a7a) with compiler (6b19a39)

Summary

✅ 11 untouched benchmarks

Copy link
Contributor

WASM Query Engine file Size

Engine This PR Base branch Diff
Postgres 2.117MiB 2.116MiB 479.000B
Postgres (gzip) 848.033KiB 848.815KiB -801.000B
Mysql 2.079MiB 2.078MiB 1.225KiB
Mysql (gzip) 834.058KiB 834.627KiB -583.000B
Sqlite 1.987MiB 1.988MiB -783.000B
Sqlite (gzip) 797.123KiB 797.667KiB -557.000B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants