-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add a time comparison between mysql:8.0
and vitess/vttestserver:mysql80
over relationMode = "prisma"
tests.
#16099
Comments
(Manual run of this would be fine as well - no need to spend time on GH Actions) |
I have run the RELATION_MODE=prisma pnpm run test:functional:code --relation-mode-tests-only relationMode/tests_1-to-1.ts on a MacBook Pro M1. This command was run 10s after bootstrapping the database instance (either Vitess / MySQL). TL/DR
OutputVitess
MySQL
|
(Something is off with that 600s, the actual steps are "only" 2.5 times slower) |
It could be that it's the creation and deletion of the database/tables that is very slow, which is not reflected in the step time. |
Closing this as the time comparison has been pasted into the comments above. |
In #16051, we have noticed Vitess is notably slower than other databases when running the
relationMode
test suites. We thus want to compare the time taken by the MySQL image we use (mysql:8.0
) and the Vitess image we use (vitess/vttestserver:mysql80
) to complete those tests.We should:
relationMode
functional suite, but supportingmysql
andvitess
only, ideally something like the following:client-relationMode-prisma-mysql-vs-vitess
The text was updated successfully, but these errors were encountered: