You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/10/02 03:24:25 UTC

[GitHub] [skywalking-eyes] kezhenxu94 opened a new pull request #75: Speed up the initialization phase

kezhenxu94 opened a new pull request #75:
URL: https://github.com/apache/skywalking-eyes/pull/75


   We have many license template files to load at initialization phase, this speeds up the initialization phase from 8s to 2s
   
   ```
   pwd                                                        
   /Users/kezhenxu94/workspace/skywalking-infra-e2e
   ```
   
   # Before                                                   
   
   ```shell
   time ~/workspace/skywalking-eyes/bin/darwin/license-eye h c
   INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request 
   INFO Loading configuration from file: .licenserc.yaml 
   INFO Totally checked 2336 files, valid: 59, invalid: 0, ignored: 2277, fixed: 0 
   
   ================
   CPU	108%
   user	8.451
   system	0.351
   total	8.146
   
   time ~/workspace/skywalking-eyes/bin/darwin/license-eye h c
   INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request 
   INFO Loading configuration from file: .licenserc.yaml 
   INFO Totally checked 2336 files, valid: 59, invalid: 0, ignored: 2277, fixed: 0 
   
   ================
   CPU	107%
   user	8.380
   system	0.337
   total	8.086
   
   time ~/workspace/skywalking-eyes/bin/darwin/license-eye h c
   INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request 
   INFO Loading configuration from file: .licenserc.yaml 
   INFO Totally checked 2336 files, valid: 59, invalid: 0, ignored: 2277, fixed: 0 
   
   ================
   CPU	107%
   user	8.921
   system	0.357
   total	8.661
   ```
   
   # After
   
   ```
   time ~/workspace/skywalking-eyes/bin/darwin/license-eye h c
   INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request 
   INFO Loading configuration from file: .licenserc.yaml 
   INFO Totally checked 2336 files, valid: 59, invalid: 0, ignored: 2277, fixed: 0 
   
   ================
   CPU	927%
   user	17.638
   system	0.511
   total	1.957
   
   time ~/workspace/skywalking-eyes/bin/darwin/license-eye h c
   INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request 
   INFO Loading configuration from file: .licenserc.yaml 
   INFO Totally checked 2336 files, valid: 59, invalid: 0, ignored: 2277, fixed: 0 
   
   ================
   CPU	1076%
   user	18.164
   system	0.517
   total	1.736
   
   time ~/workspace/skywalking-eyes/bin/darwin/license-eye h c
   INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request 
   INFO Loading configuration from file: .licenserc.yaml 
   INFO Totally checked 2336 files, valid: 59, invalid: 0, ignored: 2277, fixed: 0 
   
   ================
   CPU	994%
   user	17.888
   system	0.492
   total	1.847
   
   ```


-- 
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: notifications-unsubscribe@skywalking.apache.org

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



[GitHub] [skywalking-eyes] kezhenxu94 merged pull request #75: Speed up the initialization phase

Posted by GitBox <gi...@apache.org>.
kezhenxu94 merged pull request #75:
URL: https://github.com/apache/skywalking-eyes/pull/75


   


-- 
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: notifications-unsubscribe@skywalking.apache.org

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