You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/12/08 22:53:43 UTC

[GitHub] [airflow] potiuk commented on pull request #28244: Speed up airlfow role list command

potiuk commented on PR #28244:
URL: https://github.com/apache/airflow/pull/28244#issuecomment-1343476035

   Maybe not the "FINAL" fix but on my slow local DB:
   
   ```
    time airflow roles list
   ```
   
   
   Before: 
   
   ```
   name
   ======
   Admin
   Op
   Public
   User
   Viewer
   
   airflow roles list  5.49s user 1.79s system 136% cpu 5.339 total
   ```
   
   After:
   
   ```
   name
   ======
   Admin
   Op
   Public
   User
   Viewer
   
   airflow roles list  2.43s user 1.75s system 198% cpu 2.103 total
   ```
   
   @malthe - can you check it on your system please ?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org