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

feat(query-compiler-playground): render query graphs to png #5150

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

aqrln
Copy link
Member

@aqrln aqrln commented Feb 5, 2025

Render the query graph for the query in playground using Graphviz. This is useful because we can't use the usual mechanism with the PRISMA_RENDER_DOT_FILE environment variable when running the TypeScript playground with WASM query compiler.

@aqrln aqrln added this to the 6.4.0 milestone Feb 5, 2025
@aqrln aqrln requested a review from a team as a code owner February 5, 2025 11:29
@aqrln aqrln requested review from jkomyno and removed request for a team February 5, 2025 11:29
Copy link

codspeed-hq bot commented Feb 5, 2025

CodSpeed Performance Report

Merging #5150 will not alter performance

Comparing push-twtzznyxrtsm (5d4c626) with main (13fef94)

Summary

✅ 11 untouched benchmarks

Render the query graph for the query in playground using Graphviz. This
is useful because we can't use the usual mechanism with the
`PRISMA_RENDER_DOT_FILE` environment variable when running the
TypeScript playground with WASM query compiler.
@aqrln aqrln force-pushed the push-twtzznyxrtsm branch from c01f5e0 to 5d4c626 Compare February 5, 2025 11:35
Copy link
Contributor

github-actions bot commented Feb 5, 2025

WASM Query Engine file Size

Engine This PR Base branch Diff
Postgres 2.120MiB 2.120MiB 0.000B
Postgres (gzip) 848.757KiB 848.756KiB 1.000B
Mysql 2.083MiB 2.083MiB 0.000B
Mysql (gzip) 834.326KiB 834.327KiB -1.000B
Sqlite 1.992MiB 1.992MiB 0.000B
Sqlite (gzip) 798.201KiB 798.202KiB -1.000B

@aqrln aqrln merged commit 8f5c6ec into main Feb 5, 2025
366 checks passed
@aqrln aqrln deleted the push-twtzznyxrtsm branch February 5, 2025 13:13
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.

2 participants