Page MenuHomePhabricator
Paste P8099

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

Authored by NutshellySima on Aug 7 2018, 9:47 AM.
$ time cset shield --exec ./opt-auto1 -- -O3 -disable-output < ./clang-5.0.0.0.preopt.bc
$ time cset shield --exec ./opt-auto1 -- -O3 -disable-output < ./clang-5.0.0.4.opt.bc
$ time cset shield --exec ./opt-auto1 -- -O3 -disable-output < ./oggenc.preopt.bc
cset: --> last message, executed args into cpuset "/user", new pid is: 28364
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 19.2171 seconds (19.2733 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
10.7214 ( 56.0%) 0.0335 ( 56.7%) 10.7548 ( 56.0%) 10.8095 ( 56.1%) Snapshot
8.0810 ( 42.2%) 0.0245 ( 41.4%) 8.1055 ( 42.2%) 8.1064 ( 42.1%) apply-updates -- DomTree
0.1761 ( 0.9%) 0.0002 ( 0.3%) 0.1762 ( 0.9%) 0.1763 ( 0.9%) recalculate -- DomTree
0.1312 ( 0.7%) 0.0004 ( 0.6%) 0.1315 ( 0.7%) 0.1314 ( 0.7%) Diff
0.0290 ( 0.2%) 0.0005 ( 0.9%) 0.0295 ( 0.2%) 0.0297 ( 0.2%) apply-updates -- PostDomTree
0.0112 ( 0.1%) 0.0000 ( 0.1%) 0.0112 ( 0.1%) 0.0112 ( 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.0009 ( 0.0%) recalculate -- PostDomTree
0.0005 ( 0.0%) 0.0000 ( 0.0%) 0.0005 ( 0.0%) 0.0006 ( 0.0%) insert-edge -- PostDomTree
0.0006 ( 0.0%) 0.0000 ( 0.0%) 0.0006 ( 0.0%) 0.0005 ( 0.0%) delete-edge -- PostDomTree
19.1580 (100.0%) 0.0591 (100.0%) 19.2171 (100.0%) 19.2733 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 27.5937 seconds (27.7784 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
16.6900 ( 60.9%) 0.1226 ( 74.0%) 16.8126 ( 60.9%) 16.9726 ( 61.1%) recalculate -- DomTree
8.6441 ( 31.5%) 0.0376 ( 22.7%) 8.6817 ( 31.5%) 8.6894 ( 31.3%) apply-updates -- DomTree
2.0610 ( 7.5%) 0.0053 ( 3.2%) 2.0663 ( 7.5%) 2.0833 ( 7.5%) recalculate -- PostDomTree
0.0154 ( 0.1%) 0.0001 ( 0.0%) 0.0155 ( 0.1%) 0.0155 ( 0.1%) delete-edge -- DomTree
0.0153 ( 0.1%) 0.0000 ( 0.0%) 0.0153 ( 0.1%) 0.0153 ( 0.1%) insert-edge -- DomTree
0.0013 ( 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.4281 (100.0%) 0.1657 (100.0%) 27.5937 (100.0%) 27.7784 (100.0%) Total
real 12m47.862s
user 12m44.393s
sys 0m3.464s
cset: --> last message, executed args into cpuset "/user", new pid is: 28374
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 19.4373 seconds (19.4978 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
11.7235 ( 60.5%) 0.0460 ( 82.4%) 11.7694 ( 60.6%) 11.8259 ( 60.7%) Snapshot
7.3879 ( 38.1%) 0.0093 ( 16.7%) 7.3972 ( 38.1%) 7.4010 ( 38.0%) apply-updates -- DomTree
0.1449 ( 0.7%) 0.0000 ( 0.0%) 0.1449 ( 0.7%) 0.1449 ( 0.7%) recalculate -- DomTree
0.0934 ( 0.5%) 0.0002 ( 0.4%) 0.0937 ( 0.5%) 0.0936 ( 0.5%) Diff
0.0214 ( 0.1%) 0.0003 ( 0.5%) 0.0216 ( 0.1%) 0.0216 ( 0.1%) apply-updates -- PostDomTree
0.0070 ( 0.0%) 0.0000 ( 0.0%) 0.0070 ( 0.0%) 0.0070 ( 0.0%) 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%) delete-edge -- PostDomTree
0.0004 ( 0.0%) 0.0000 ( 0.0%) 0.0004 ( 0.0%) 0.0004 ( 0.0%) insert-edge -- PostDomTree
0.0001 ( 0.0%) 0.0000 ( 0.0%) 0.0001 ( 0.0%) 0.0001 ( 0.0%) recalculate -- PostDomTree
19.3816 (100.0%) 0.0558 (100.0%) 19.4373 (100.0%) 19.4978 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 27.7878 seconds (27.9541 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
17.9072 ( 64.8%) 0.1155 ( 83.2%) 18.0227 ( 64.9%) 18.1661 ( 65.0%) recalculate -- DomTree
7.7442 ( 28.0%) 0.0179 ( 12.9%) 7.7621 ( 27.9%) 7.7694 ( 27.8%) apply-updates -- DomTree
1.9707 ( 7.1%) 0.0054 ( 3.9%) 1.9761 ( 7.1%) 1.9917 ( 7.1%) recalculate -- PostDomTree
0.0140 ( 0.1%) 0.0000 ( 0.0%) 0.0140 ( 0.1%) 0.0140 ( 0.1%) insert-edge -- DomTree
0.0126 ( 0.0%) 0.0000 ( 0.0%) 0.0126 ( 0.0%) 0.0126 ( 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
27.6491 (100.0%) 0.1388 (100.0%) 27.7878 (100.0%) 27.9541 (100.0%) Total
real 11m38.535s
user 11m34.380s
sys 0m3.800s
cset: --> last message, executed args into cpuset "/user", new pid is: 28407
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 0.0199 seconds (0.0203 wall clock)
---User Time--- --User+System-- ---Wall Time--- --- Name ---
0.0146 ( 73.5%) 0.0146 ( 73.5%) 0.0146 ( 72.3%) apply-updates -- DomTree
0.0039 ( 19.8%) 0.0039 ( 19.8%) 0.0042 ( 20.7%) Snapshot
0.0004 ( 2.2%) 0.0004 ( 2.2%) 0.0005 ( 2.2%) Diff
0.0003 ( 1.8%) 0.0003 ( 1.8%) 0.0004 ( 1.7%) delete-edge -- DomTree
0.0003 ( 1.4%) 0.0003 ( 1.4%) 0.0003 ( 1.6%) insert-edge -- DomTree
0.0002 ( 1.0%) 0.0002 ( 1.0%) 0.0002 ( 1.0%) apply-updates -- PostDomTree
0.0000 ( 0.2%) 0.0000 ( 0.2%) 0.0000 ( 0.2%) delete-edge -- PostDomTree
0.0000 ( 0.2%) 0.0000 ( 0.2%) 0.0000 ( 0.2%) insert-edge -- PostDomTree
0.0199 (100.0%) 0.0199 (100.0%) 0.0203 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 0.0686 seconds (0.0697 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.0425 ( 62.8%) 0.0008 (100.0%) 0.0434 ( 63.2%) 0.0443 ( 63.6%) recalculate -- DomTree
0.0197 ( 29.0%) 0.0000 ( 0.0%) 0.0197 ( 28.7%) 0.0197 ( 28.3%) apply-updates -- DomTree
0.0048 ( 7.1%) 0.0000 ( 0.0%) 0.0048 ( 7.0%) 0.0049 ( 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.0%) 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.0677 (100.0%) 0.0008 (100.0%) 0.0686 (100.0%) 0.0697 (100.0%) Total
real 0m2.545s
user 0m2.529s
sys 0m0.016s

Event Timeline

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