Github user 1ambda commented on the issue:

    https://github.com/apache/zeppelin/pull/1648
  
    @bzz 
    
    Could you review this PR? 
    
    This comment is result summary for this PR (how much time we can save)
    
    ### 1. APT cache (almost 15 secs per
    
    (before)
    <img width="657" alt="screen shot 2016-11-17 at 11 39 39 am" 
src="https://cloud.githubusercontent.com/assets/4968473/20375553/2b306884-acc3-11e6-995b-045dec268e0a.png";>
    
    (after)
    <img width="663" alt="screen shot 2016-11-17 at 11 39 51 am" 
src="https://cloud.githubusercontent.com/assets/4968473/20375557/2ec0c7aa-acc3-11e6-8468-f672be52826e.png";>
    
    ### 2. R cache (almost 250 secs per build)
    
    (before)
    <img width="1131" alt="screen shot 2016-11-17 at 12 04 20 pm" 
src="https://cloud.githubusercontent.com/assets/4968473/20375573/4c9cbc84-acc3-11e6-9717-ce6a6d9ad360.png";>
    
    (after)
    <img width="1134" alt="screen shot 2016-11-17 at 12 37 19 pm" 
src="https://cloud.githubusercontent.com/assets/4968473/20375585/526ccc58-acc3-11e6-95a9-8446a298597a.png";>
    <img width="340" alt="screen shot 2016-11-17 at 12 37 34 pm" 
src="https://cloud.githubusercontent.com/assets/4968473/20375588/57227f68-acc3-11e6-8ef7-9a86b125c00d.png";>
    
    ### 3. Log size is reduced (almost 30%, removing useless maven info logs)
    
    ```bash
    // (before result) 
https://api.travis-ci.org/jobs/176574582/log.txt?deansi=true
    // (before build) https://travis-ci.org/apache/zeppelin/builds/176574580
    
    // (after result) 
https://api.travis-ci.org/jobs/176576354/log.txt?deansi=true
    // (after build) https://travis-ci.org/apache/zeppelin/builds/176576351
    
    $ ls
    build8414_profile2.log build8416_profile2.log
    
    $ ls -alh
    total 10232
    drwxr-xr-x   4 lambda  staff   136B Nov 17 12:47 .
    drwxr-xr-x  13 lambda  staff   442B Nov 17 02:49 ..
    -rw-r--r--   1 lambda  staff   3.0M Nov 17 12:46 build8414_profile2.log
    -rw-r--r--   1 lambda  staff   2.0M Nov 17 12:47 build8416_profile2.log
    
    $ cat build8414_profile2.log | grep Download | wc -l
        7186
    $ cat build8416_profile2.log | grep Download | wc -l
           6
    ```
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to