Page MenuHomePhabricator
Paste P8101

[WIP!][DomTreeUpdater] Benchmarks on Auto UpdateStrategy 3
ActivePublic

Authored by NutshellySima on Aug 7 2018, 9:50 AM.
$ time cset shield --exec ./opt-auto3 -- -O3 -disable-output < ./clang-5.0.0.0.preopt.bc
$ time cset shield --exec ./opt-auto3 -- -O3 -disable-output < ./clang-5.0.0.4.opt.bc
$ time cset shield --exec ./opt-auto3 -- -O3 -disable-output < ./oggenc.preopt.bc
cset: --> last message, executed args into cpuset "/user", new pid is: 28717
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 14.1509 seconds (14.2321 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
8.4341 ( 61.5%) 0.2126 ( 48.1%) 8.6466 ( 61.1%) 8.6477 ( 60.8%) apply-updates -- DomTree
3.4025 ( 24.8%) 0.1008 ( 22.8%) 3.5033 ( 24.8%) 3.4987 ( 24.6%) Snapshot
0.9837 ( 7.2%) 0.0735 ( 16.6%) 1.0572 ( 7.5%) 1.1383 ( 8.0%) PendPush
0.3892 ( 2.8%) 0.0338 ( 7.6%) 0.4230 ( 3.0%) 0.4237 ( 3.0%) HintPush
0.2831 ( 2.1%) 0.0168 ( 3.8%) 0.2999 ( 2.1%) 0.3025 ( 2.1%) Diff
0.1683 ( 1.2%) 0.0039 ( 0.9%) 0.1722 ( 1.2%) 0.1721 ( 1.2%) recalculate -- DomTree
0.0281 ( 0.2%) 0.0010 ( 0.2%) 0.0291 ( 0.2%) 0.0290 ( 0.2%) apply-updates -- PostDomTree
0.0112 ( 0.1%) 0.0000 ( 0.0%) 0.0113 ( 0.1%) 0.0113 ( 0.1%) delete-edge -- DomTree
0.0064 ( 0.0%) 0.0000 ( 0.0%) 0.0064 ( 0.0%) 0.0069 ( 0.0%) insert-edge -- DomTree
0.0008 ( 0.0%) 0.0000 ( 0.0%) 0.0008 ( 0.0%) 0.0008 ( 0.0%) recalculate -- PostDomTree
0.0006 ( 0.0%) 0.0000 ( 0.0%) 0.0006 ( 0.0%) 0.0006 ( 0.0%) insert-edge -- PostDomTree
0.0006 ( 0.0%) 0.0000 ( 0.0%) 0.0006 ( 0.0%) 0.0006 ( 0.0%) delete-edge -- PostDomTree
13.7085 (100.0%) 0.4423 (100.0%) 14.1509 (100.0%) 14.2321 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 28.2081 seconds (28.3947 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
16.6725 ( 60.0%) 0.1652 ( 40.5%) 16.8377 ( 59.7%) 17.0009 ( 59.9%) recalculate -- DomTree
8.9992 ( 32.4%) 0.2264 ( 55.5%) 9.2256 ( 32.7%) 9.2326 ( 32.5%) apply-updates -- DomTree
2.0958 ( 7.5%) 0.0158 ( 3.9%) 2.1115 ( 7.5%) 2.1280 ( 7.5%) recalculate -- PostDomTree
0.0153 ( 0.1%) 0.0003 ( 0.1%) 0.0156 ( 0.1%) 0.0155 ( 0.1%) delete-edge -- DomTree
0.0154 ( 0.1%) 0.0001 ( 0.0%) 0.0155 ( 0.1%) 0.0154 ( 0.1%) insert-edge -- DomTree
0.0012 ( 0.0%) 0.0000 ( 0.0%) 0.0013 ( 0.0%) 0.0013 ( 0.0%) apply-updates -- PostDomTree
0.0010 ( 0.0%) 0.0000 ( 0.0%) 0.0010 ( 0.0%) 0.0010 ( 0.0%) delete-edge -- PostDomTree
27.8004 (100.0%) 0.4077 (100.0%) 28.2081 (100.0%) 28.3947 (100.0%) Total
real 12m46.008s
user 12m40.173s
sys 0m5.804s
cset: --> last message, executed args into cpuset "/user", new pid is: 28758
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 11.3362 seconds (11.4023 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
6.0047 ( 54.3%) 0.1326 ( 47.7%) 6.1373 ( 54.1%) 6.1379 ( 53.8%) apply-updates -- DomTree
3.7308 ( 33.7%) 0.0700 ( 25.1%) 3.8007 ( 33.5%) 3.7963 ( 33.3%) Snapshot
0.6992 ( 6.3%) 0.0453 ( 16.3%) 0.7445 ( 6.6%) 0.8108 ( 7.1%) PendPush
0.2553 ( 2.3%) 0.0212 ( 7.6%) 0.2765 ( 2.4%) 0.2773 ( 2.4%) HintPush
0.1943 ( 1.8%) 0.0086 ( 3.1%) 0.2029 ( 1.8%) 0.2051 ( 1.8%) Diff
0.1425 ( 1.3%) 0.0000 ( 0.0%) 0.1425 ( 1.3%) 0.1425 ( 1.3%) recalculate -- DomTree
0.0207 ( 0.2%) 0.0005 ( 0.2%) 0.0212 ( 0.2%) 0.0214 ( 0.2%) apply-updates -- PostDomTree
0.0069 ( 0.1%) 0.0000 ( 0.0%) 0.0069 ( 0.1%) 0.0069 ( 0.1%) delete-edge -- DomTree
0.0028 ( 0.0%) 0.0000 ( 0.0%) 0.0028 ( 0.0%) 0.0031 ( 0.0%) insert-edge -- DomTree
0.0004 ( 0.0%) 0.0000 ( 0.0%) 0.0004 ( 0.0%) 0.0004 ( 0.0%) insert-edge -- PostDomTree
0.0004 ( 0.0%) 0.0000 ( 0.0%) 0.0004 ( 0.0%) 0.0004 ( 0.0%) delete-edge -- PostDomTree
0.0001 ( 0.0%) 0.0000 ( 0.0%) 0.0001 ( 0.0%) 0.0001 ( 0.0%) recalculate -- PostDomTree
11.0579 (100.0%) 0.2782 (100.0%) 11.3362 (100.0%) 11.4023 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 26.5601 seconds (26.7163 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
17.9093 ( 68.2%) 0.1484 ( 48.9%) 18.0577 ( 68.0%) 18.1982 ( 68.1%) recalculate -- DomTree
6.3645 ( 24.2%) 0.1394 ( 46.0%) 6.5039 ( 24.5%) 6.5058 ( 24.4%) apply-updates -- DomTree
1.9565 ( 7.5%) 0.0153 ( 5.0%) 1.9718 ( 7.4%) 1.9857 ( 7.4%) recalculate -- PostDomTree
0.0137 ( 0.1%) 0.0001 ( 0.0%) 0.0138 ( 0.1%) 0.0137 ( 0.1%) insert-edge -- DomTree
0.0125 ( 0.0%) 0.0000 ( 0.0%) 0.0125 ( 0.0%) 0.0125 ( 0.0%) delete-edge -- DomTree
0.0003 ( 0.0%) 0.0000 ( 0.0%) 0.0003 ( 0.0%) 0.0003 ( 0.0%) apply-updates -- PostDomTree
0.0001 ( 0.0%) 0.0000 ( 0.0%) 0.0001 ( 0.0%) 0.0001 ( 0.0%) delete-edge -- PostDomTree
26.2569 (100.0%) 0.3032 (100.0%) 26.5601 (100.0%) 26.7163 (100.0%) Total
real 11m36.403s
user 11m30.896s
sys 0m5.492s
cset: --> last message, executed args into cpuset "/user", new pid is: 28774
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 0.0250 seconds (0.0253 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.0150 ( 63.2%) 0.0012 ( 85.9%) 0.0161 ( 64.4%) 0.0161 ( 63.8%) apply-updates -- DomTree
0.0029 ( 12.4%) 0.0001 ( 5.8%) 0.0030 ( 12.0%) 0.0033 ( 13.0%) PendPush
0.0027 ( 11.6%) 0.0000 ( 3.5%) 0.0028 ( 11.2%) 0.0028 ( 11.0%) Snapshot
0.0012 ( 5.3%) 0.0000 ( 1.7%) 0.0013 ( 5.1%) 0.0012 ( 4.8%) HintPush
0.0009 ( 3.7%) 0.0000 ( 2.7%) 0.0009 ( 3.6%) 0.0009 ( 3.7%) Diff
0.0004 ( 1.5%) 0.0000 ( 0.0%) 0.0004 ( 1.4%) 0.0004 ( 1.4%) delete-edge -- DomTree
0.0003 ( 1.2%) 0.0000 ( 0.0%) 0.0003 ( 1.1%) 0.0003 ( 1.3%) insert-edge -- DomTree
0.0002 ( 0.8%) 0.0000 ( 0.4%) 0.0002 ( 0.8%) 0.0002 ( 0.7%) apply-updates -- PostDomTree
0.0000 ( 0.2%) 0.0000 ( 0.0%) 0.0000 ( 0.2%) 0.0000 ( 0.2%) insert-edge -- PostDomTree
0.0000 ( 0.2%) 0.0000 ( 0.0%) 0.0000 ( 0.2%) 0.0000 ( 0.2%) delete-edge -- PostDomTree
0.0237 (100.0%) 0.0014 (100.0%) 0.0250 (100.0%) 0.0253 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 0.0698 seconds (0.0709 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.0423 ( 62.4%) 0.0007 ( 34.8%) 0.0430 ( 61.6%) 0.0440 ( 62.0%) recalculate -- DomTree
0.0200 ( 29.5%) 0.0012 ( 58.3%) 0.0212 ( 30.4%) 0.0212 ( 29.9%) apply-updates -- DomTree
0.0048 ( 7.0%) 0.0001 ( 6.4%) 0.0049 ( 7.0%) 0.0050 ( 7.0%) recalculate -- PostDomTree
0.0004 ( 0.6%) 0.0000 ( 0.0%) 0.0004 ( 0.6%) 0.0004 ( 0.6%) insert-edge -- DomTree
0.0003 ( 0.4%) 0.0000 ( 0.4%) 0.0003 ( 0.4%) 0.0003 ( 0.4%) delete-edge -- DomTree
0.0000 ( 0.0%) 0.0000 ( 0.0%) 0.0000 ( 0.0%) 0.0000 ( 0.0%) apply-updates -- PostDomTree
0.0000 ( 0.0%) 0.0000 ( 0.0%) 0.0000 ( 0.0%) 0.0000 ( 0.0%) delete-edge -- PostDomTree
0.0678 (100.0%) 0.0020 (100.0%) 0.0698 (100.0%) 0.0709 (100.0%) Total
real 0m2.553s
user 0m2.525s
sys 0m0.028s

Event Timeline

NutshellySima created this object with visibility "Public (No Login Required)".
NutshellySima created this object with edit policy "NutshellySima (Chijun Sima)".