You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many benchmarks test against both MySQL and Postgres for the database queries. Although this is interesting in testing the database performance or the client libs performance it seems superfluous if the goal is to test the framework itself. Testing and writing the benchmarks involve running the same docker container as the frameworks and is generally cumbersome. It also adds more overhead when actually running the tests.
It seems to me that the project standardize on SQLite as the database. When you are working on the project you just download the database or copy it over from a directory and when the test is running it's just mounted on a standard path by docker. No additional services needed and you are not testing the network latencies or anything like that.
It would require rewriting the tests of course but that wouldn't be too onerous and frankly it may get rid of a lot of broken and crufty projects in the repository now.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Many benchmarks test against both MySQL and Postgres for the database queries. Although this is interesting in testing the database performance or the client libs performance it seems superfluous if the goal is to test the framework itself. Testing and writing the benchmarks involve running the same docker container as the frameworks and is generally cumbersome. It also adds more overhead when actually running the tests.
It seems to me that the project standardize on SQLite as the database. When you are working on the project you just download the database or copy it over from a directory and when the test is running it's just mounted on a standard path by docker. No additional services needed and you are not testing the network latencies or anything like that.
It would require rewriting the tests of course but that wouldn't be too onerous and frankly it may get rid of a lot of broken and crufty projects in the repository now.
Just an idea.
Beta Was this translation helpful? Give feedback.
All reactions