exemplary-citizen commented on pull request #17323:
URL: https://github.com/apache/superset/pull/17323#issuecomment-968268476


   yeah upgrade and downgrade work as expected. here are the results for the 
benchmark:
   ```
   Importing migration script: 
superset/migrations/versions/0ca9e5f1dacd_rename_to_schemas_allowed_for_file_.py
   Migration goes from b92d69a6643c to 0ca9e5f1dacd
   Current version of the DB is 0ca9e5f1dacd
   
   Identifying models used in the migration:
   - ab_user (0 rows in table ab_user)
   - dbs (0 rows in table dbs)
   Benchmarking migration
   Migration on current DB took: 0.31 seconds
   Running with at least 10 entities of each model
   - Adding 10 entities to the ab_user model
   - Adding 10 entities to the dbs model
   Migration for 10+ entities took: 0.28 seconds
   Running with at least 100 entities of each model
   - Adding 90 entities to the ab_user model
   - Adding 90 entities to the dbs model
   Migration for 100+ entities took: 0.29 seconds
   Running with at least 1000 entities of each model
   - Adding 900 entities to the ab_user model
   - Adding 900 entities to the dbs model
   Migration for 1000+ entities took: 0.49 seconds
   
   Results:
   
   Current: 0.31 s
   10+: 0.28 s
   100+: 0.29 s
   1000+: 0.49 s
   Cleaning up DB
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to