Page MenuHomePhabricator
Paste P8100

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

Authored by NutshellySima on Aug 7 2018, 9:49 AM.
$ time cset shield --exec ./opt-auto2 -- -O3 -disable-output < ./clang-5.0.0.0.preopt.bc
$ time cset shield --exec ./opt-auto2 -- -O3 -disable-output < ./clang-5.0.0.4.opt.bc
$ time cset shield --exec ./opt-auto2 -- -O3 -disable-output < ./oggenc.preopt.bc
cset: --> last message, executed args into cpuset "/user", new pid is: 28408
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 22.7181 seconds (22.8015 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
12.6863 ( 56.3%) 0.1126 ( 55.3%) 12.7989 ( 56.3%) 12.7875 ( 56.1%) Snapshot
8.6371 ( 38.4%) 0.0654 ( 32.1%) 8.7025 ( 38.3%) 8.7041 ( 38.2%) apply-updates -- DomTree
0.7632 ( 3.4%) 0.0214 ( 10.5%) 0.7847 ( 3.5%) 0.8744 ( 3.8%) PendPush
0.2054 ( 0.9%) 0.0032 ( 1.6%) 0.2086 ( 0.9%) 0.2116 ( 0.9%) Diff
0.1744 ( 0.8%) 0.0002 ( 0.1%) 0.1746 ( 0.8%) 0.1746 ( 0.8%) recalculate -- DomTree
0.0286 ( 0.1%) 0.0006 ( 0.3%) 0.0292 ( 0.1%) 0.0291 ( 0.1%) apply-updates -- PostDomTree
0.0112 ( 0.0%) 0.0001 ( 0.0%) 0.0113 ( 0.0%) 0.0113 ( 0.0%) delete-edge -- DomTree
0.0063 ( 0.0%) 0.0001 ( 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%) delete-edge -- PostDomTree
0.0006 ( 0.0%) 0.0000 ( 0.0%) 0.0006 ( 0.0%) 0.0006 ( 0.0%) insert-edge -- PostDomTree
22.5146 (100.0%) 0.2035 (100.0%) 22.7181 (100.0%) 22.8015 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 28.1214 seconds (28.3155 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
16.5335 ( 59.3%) 0.1568 ( 64.7%) 16.6903 ( 59.4%) 16.8584 ( 59.5%) recalculate -- DomTree
9.2040 ( 33.0%) 0.0743 ( 30.6%) 9.2782 ( 33.0%) 9.2866 ( 32.8%) apply-updates -- DomTree
2.1086 ( 7.6%) 0.0111 ( 4.6%) 2.1197 ( 7.5%) 2.1373 ( 7.5%) recalculate -- PostDomTree
0.0156 ( 0.1%) 0.0001 ( 0.0%) 0.0157 ( 0.1%) 0.0156 ( 0.1%) delete-edge -- DomTree
0.0151 ( 0.1%) 0.0002 ( 0.1%) 0.0153 ( 0.1%) 0.0153 ( 0.1%) insert-edge -- DomTree
0.0012 ( 0.0%) 0.0000 ( 0.0%) 0.0012 ( 0.0%) 0.0012 ( 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.8790 (100.0%) 0.2425 (100.0%) 28.1214 (100.0%) 28.3155 (100.0%) Total
real 12m56.041s
user 12m51.367s
sys 0m4.596s
cset: --> last message, executed args into cpuset "/user", new pid is: 28687
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 21.7294 seconds (21.7946 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
14.5275 ( 67.3%) 0.0753 ( 55.2%) 14.6028 ( 67.2%) 14.5854 ( 66.9%) Snapshot
6.1821 ( 28.6%) 0.0474 ( 34.7%) 6.2296 ( 28.7%) 6.2302 ( 28.6%) apply-updates -- DomTree
0.5705 ( 2.6%) 0.0117 ( 8.5%) 0.5822 ( 2.7%) 0.6615 ( 3.0%) PendPush
0.1450 ( 0.7%) 0.0000 ( 0.0%) 0.1450 ( 0.7%) 0.1450 ( 0.7%) recalculate -- DomTree
0.1365 ( 0.6%) 0.0018 ( 1.3%) 0.1383 ( 0.6%) 0.1407 ( 0.6%) Diff
0.0209 ( 0.1%) 0.0003 ( 0.2%) 0.0213 ( 0.1%) 0.0212 ( 0.1%) apply-updates -- PostDomTree
0.0068 ( 0.0%) 0.0000 ( 0.0%) 0.0068 ( 0.0%) 0.0068 ( 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.0003 ( 0.0%) 0.0000 ( 0.0%) 0.0003 ( 0.0%) 0.0003 ( 0.0%) insert-edge -- PostDomTree
0.0001 ( 0.0%) 0.0000 ( 0.0%) 0.0001 ( 0.0%) 0.0001 ( 0.0%) recalculate -- PostDomTree
21.5929 (100.0%) 0.1365 (100.0%) 21.7294 (100.0%) 21.7946 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 26.5746 seconds (26.7394 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
17.8482 ( 67.6%) 0.1178 ( 65.2%) 17.9660 ( 67.6%) 18.1135 ( 67.7%) recalculate -- DomTree
6.5466 ( 24.8%) 0.0519 ( 28.7%) 6.5985 ( 24.8%) 6.6009 ( 24.7%) apply-updates -- DomTree
1.9727 ( 7.5%) 0.0109 ( 6.0%) 1.9836 ( 7.5%) 1.9985 ( 7.5%) recalculate -- PostDomTree
0.0137 ( 0.1%) 0.0001 ( 0.0%) 0.0138 ( 0.1%) 0.0137 ( 0.1%) insert-edge -- DomTree
0.0124 ( 0.0%) 0.0000 ( 0.0%) 0.0124 ( 0.0%) 0.0124 ( 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.3939 (100.0%) 0.1807 (100.0%) 26.5746 (100.0%) 26.7394 (100.0%) Total
real 11m54.852s
user 11m50.528s
sys 0m4.300s
cset: --> last message, executed args into cpuset "/user", new pid is: 28716
===-------------------------------------------------------------------------===
DTU timing
===-------------------------------------------------------------------------===
Total Execution Time: 0.0235 seconds (0.0239 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.0161 ( 69.7%) 0.0003 ( 70.5%) 0.0164 ( 69.7%) 0.0164 ( 68.8%) apply-updates -- DomTree
0.0030 ( 13.2%) 0.0000 ( 9.8%) 0.0031 ( 13.1%) 0.0031 ( 12.8%) Snapshot
0.0024 ( 10.4%) 0.0001 ( 11.4%) 0.0024 ( 10.4%) 0.0027 ( 11.4%) PendPush
0.0006 ( 2.8%) 0.0000 ( 3.3%) 0.0007 ( 2.8%) 0.0007 ( 2.8%) Diff
0.0004 ( 1.5%) 0.0000 ( 1.8%) 0.0004 ( 1.5%) 0.0004 ( 1.5%) delete-edge -- DomTree
0.0003 ( 1.2%) 0.0000 ( 1.3%) 0.0003 ( 1.2%) 0.0003 ( 1.3%) insert-edge -- DomTree
0.0002 ( 0.8%) 0.0000 ( 1.3%) 0.0002 ( 0.8%) 0.0002 ( 0.8%) apply-updates -- PostDomTree
0.0001 ( 0.2%) 0.0000 ( 0.2%) 0.0001 ( 0.2%) 0.0001 ( 0.2%) delete-edge -- PostDomTree
0.0001 ( 0.2%) 0.0000 ( 0.4%) 0.0001 ( 0.2%) 0.0000 ( 0.2%) insert-edge -- PostDomTree
0.0231 (100.0%) 0.0005 (100.0%) 0.0235 (100.0%) 0.0239 (100.0%) Total
===-------------------------------------------------------------------------===
DomTree Calculation
===-------------------------------------------------------------------------===
Total Execution Time: 0.0706 seconds (0.0717 wall clock)
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.0423 ( 61.4%) 0.0012 ( 70.9%) 0.0435 ( 61.6%) 0.0444 ( 62.0%) recalculate -- DomTree
0.0211 ( 30.6%) 0.0004 ( 20.9%) 0.0214 ( 30.4%) 0.0215 ( 30.0%) apply-updates -- DomTree
0.0048 ( 7.0%) 0.0001 ( 7.7%) 0.0050 ( 7.0%) 0.0050 ( 7.0%) recalculate -- PostDomTree
0.0004 ( 0.6%) 0.0000 ( 0.2%) 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.0689 (100.0%) 0.0017 (100.0%) 0.0706 (100.0%) 0.0717 (100.0%) Total
real 0m2.564s
user 0m2.528s
sys 0m0.036s

Event Timeline

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