Spreadsheet Speed Tutorial
-
Upload
stancu-lucian -
Category
Documents
-
view
224 -
download
0
Transcript of Spreadsheet Speed Tutorial
-
8/10/2019 Spreadsheet Speed Tutorial
1/39
Operations/sec 2871.767
0.719891456 0.998967 0.096488 0.205076 0.768126 0.0002 0.583136 0.633123 0.546018
0.709853989 0.843975 0.313691 0.692724 0.815439 0.392843 0.567104 0.475622 0.569692
0.21232786 0.307709 0.909739 0.166315 0.691462 0.249018 0.248317 0.375572 0.498401
0.007653513 0.475806 0.423429 0.504461 0.864916 0.283091 0.160582 0.998265 0.774462
0.128752593 0.70549 0.28437 0.081536 0.493842 0.52402 0.730405 0.201781 0.002948
Speed Test
-
8/10/2019 Spreadsheet Speed Tutorial
2/39
0.967968 0.770495 0.716014 0.957543 0.870611 0.359197 0.403738 0.855051 0.906308
0.976221 0.511026 0.959924 0.605232 0.937664 0.838249 0.796267 0.544341 0.343615
0.182815 0.840482 0.230003 0.725982 0.551928 0.024118 0.582075 0.148271 0.059442
0.808653 0.027699 0.740504 0.066984 0.283072 0.71201 0.518926 0.20452 0.480776
0.819077 0.64438 0.978083 0.324362 0.618694 0.094466 0.639568 0.607658 0.570642
-
8/10/2019 Spreadsheet Speed Tutorial
3/39
0.423131 0.743037 0.654908 0.803138 0.445534 0.375 0.998794 0.999582 0.990405
0.889627 0.011283 0.105774 0.193431 0.803504 0.69626 0.997656 0.306218 0.76875
0.094352 0.90167 0.338031 0.698706 0.344091 0.637058 0.351181 0.180993 0.793345
0.444028 0.473194 0.962846 0.875668 0.3784 0.711223 0.233438 0.466632 0.730944
0.317609 0.13846 0.929358 0.950043 0.571902 0.680759 0.37355 0.908428 0.924133
-
8/10/2019 Spreadsheet Speed Tutorial
4/39
0.685596 0.046349 0.883711 0.456063 0.547843 0.906684 0.130486 0.265487 0.26017
0.045549 0.444987 0.810179 0.076918 0.116784 0.87963 0.618273 0.57004 0.251132
0.921384 0.489755 0.252241 0.0533 0.368694 0.192116 0.496868 0.060821 0.768839
0.692192 0.729504 0.353726 0.366717 0.118972 0.29026 0.782588 0.618045 0.11524
0.854766 0.399762 0.887507 0.451736 0.939403 0.871923 0.074071 0.633359 0.267452
-
8/10/2019 Spreadsheet Speed Tutorial
5/39
0.367203 0.2324 0.874405 0.040219 0.62721 0.274207 0.89295 0.092595 0.85401
0.3734 0.724894 0.208629 0.385375 0.654985 0.042314 0.391237 0.189752 0.666887
0.565246 0.959311 0.248503 0.825562 0.234343 0.254582 0.522009 0.553599 0.135062
0.929012 0.473353 0.997001 0.433541 0.621872 0.715141 0.537167 0.369243 0.772939
0.578029 0.671515 0.82331 0.983496 0.871684 0.614415 0.311385 0.341829 0.205482
-
8/10/2019 Spreadsheet Speed Tutorial
6/39
0.816436 0.110597 0.894549 0.449569 0.805137 0.090983 0.928707 0.97879 0.418751
0.448607 0.836617 0.833204 0.655715 0.000236 0.04917 0.484527 0.989204 0.975085
0.392429 0.087298 0.735341 0.837825 0.051586 0.03348 0.692013 0.292989 0.070417
0.456263 0.907336 0.592148 0.786306 0.503639 0.427603 0.607349 0.773188 0.767511
0.450368 0.047464 0.755868 0.460317 0.678978 0.2096 0.124383 0.299342 0.902086
-
8/10/2019 Spreadsheet Speed Tutorial
7/39
0.95222 0.804187 0.638428 0.338092 0.722697 0.348814 0.605837 0.03585 0.527145
0.879715 0.25058 0.999423 0.931987 0.807858 0.987949 0.665121 0.943027 0.25408
0.847191 0.371548 0.340418 0.703967 0.336388 0.538062 0.692865 0.829943 0.10287
0.748331 0.530688 0.477922 0.940221 0.950297 0.473766 0.165518 0.532167 0.78635
0.606634 0.353707 0.586559 0.26256 0.41624 0.650024 0.360285 0.129728 0.053819
-
8/10/2019 Spreadsheet Speed Tutorial
8/39
0.758081 0.081867 0.171383 0.771095 0.628421 0.395672 0.511667 0.049556 0.218401
0.446571 0.647813 0.548146 0.780808 0.556827 0.213595 0.292022 0.551656 0.688833
0.179945 0.073266 0.873539 0.720188 0.168182 0.497056 0.57489 0.00857 0.483376
0.759389 0.676831 0.357904 0.226827 0.031732 0.604192 0.265466 0.621035 0.383485
0.934105 0.447512 0.343389 0.94385 0.054635 0.783492 0.194925 0.245387 0.264567
-
8/10/2019 Spreadsheet Speed Tutorial
9/39
0.780551 0.612614 0.97775 0.411856 0.919021 0.313848 0.537807 0.676038 0.954955
0.267477 0.282263 0.516902 0.072124 0.711489 0.835737 0.705323 0.060547 0.924292
0.703881 0.899759 0.488111 0.96512 0.995238 0.524345 0.32725 0.6452 0.51546
0.46321 0.240282 0.695737 0.095371 0.600202 0.090638 0.099701 0.027888 0.041704
0.903696 0.1378 0.531213 0.055558 0.166908 0.462922 0.849901 0.427914 0.553522
-
8/10/2019 Spreadsheet Speed Tutorial
10/39
0.67811 0.487255 0.26033 0.673283 0.32471 0.954255 0.178514 0.827211 0.866638
0.721521 0.104748 0.686042 0.230548 0.236418 0.189118 0.490784 0.119992 0.817595
0.686364 0.139119 0.285379 0.638303 0.832169 0.577885 0.889458 0.954188 0.563063
0.57021 0.888707 0.71492 0.105331 0.813496 0.325499 0.259766 0.219283 0.579668
0.041238 0.047284 0.69289 0.352355 0.891001 0.419875 0.193491 0.195243 0.29171
-
8/10/2019 Spreadsheet Speed Tutorial
11/39
0.555047 0.221883 0.644998 0.078286 0.767012 0.528312 0.364916 0.106355 0.090756
0.834565 0.104073 0.311417 0.883281 0.4807 0.13818 0.153326 0.084024 0.339466
0.836866 0.264895 0.349285 0.98236 0.367136 0.766362 0.450962 0.273781 0.035779
0.375647 0.729705 0.791436 0.04938 0.041065 0.348929 0.62004 0.157059 0.543754
0.833823 0.148136 0.339197 0.060361 0.499819 0.835851 0.547971 0.956118 0.261873
-
8/10/2019 Spreadsheet Speed Tutorial
12/39
0.017108 0.435756 0.737744 0.857574 0.163801 0.964533 0.784339 0.704675 0.519472
0.22575 0.205357 0.052849 0.110657 0.799534 0.477855 0.423177 0.923041 0.79776
0.719637 0.087686 0.320669 0.914062 0.433095 0.387096 0.928687 0.377723 0.789394
0.217113 0.714678 0.410872 0.549437 0.9481 0.436254 0.47601 0.571681 0.886855
0.215191 0.543818 0.910797 0.999241 0.276782 0.60799 0.25261 0.169846 0.270409
-
8/10/2019 Spreadsheet Speed Tutorial
13/39
0.367178 0.910277 0.763672 0.25195 0.140553 0.497213 0.84165 0.583478 0.230596
0.11074 0.467389 0.793017 0.583851 0.216321 0.618347 0.919076 0.852228 0.056907
0.51839 0.994758 0.04549 0.552233 0.168159 0.984151 0.209817 0.573579 0.456276
0.356016 0.21845 0.146343 0.737263 0.993604 0.213874 0.00182 0.945618 0.524728
0.366448 0.020171 0.054004 0.390252 0.261241 0.766878 0.719715 0.56066 0.22048
-
8/10/2019 Spreadsheet Speed Tutorial
14/39
0.43662 0.89788 0.654038 0.41541 0.935712 0.51977 0.598017 0.775569 0.14255
0.527145 0.432152 0.297593 0.924517 0.452678 0.339554 0.410394 0.661874 0.898325
0.89659 0.095162 0.978517 0.69488 0.525341 0.224939 0.51061 0.482902 0.91068
0.605259 0.680376 0.161014 0.933905 0.371703 0.561636 0.008513 0.592033 0.768065
0.692418 0.573266 0.054972 0.975424 0.75642 0.214592 0.469687 0.703374 0.720036
-
8/10/2019 Spreadsheet Speed Tutorial
15/39
0.870632 0.289049 0.755549 0.428185 0.184236 0.089755 0.891166 0.509367 0.384897
0.380367 0.298434 0.605685 0.701229 0.419396 0.171854 0.559507 0.542861 0.326039
0.773981 0.09175 0.825894 0.590467 0.236223 0.654578 0.579274 0.28089 0.185391
0.701685 0.488468 0.635305 0.618019 0.06921 0.350431 0.51146 0.976352 0.751028
0.363227 0.426647 0.632708 0.491019 0.96933 0.238342 0.511583 0.837403 0.785314
-
8/10/2019 Spreadsheet Speed Tutorial
16/39
-
8/10/2019 Spreadsheet Speed Tutorial
17/39
0.699321 0.488523 0.591068 0.70729 0.295421 0.074588 0.01692 0.315537 0.66614
0.416662 0.851938 0.335186 0.006475 0.486831 0.359555 0.984239 0.625604 0.810835
0.624101 0.619007 0.669303 0.504408 0.812219 0.82271 0.508131 0.051784 0.509084
0.91017 0.978295 0.114627 0.014593 0.172605 0.739831 0.299197 0.990421 0.465744
0.565958 0.484386 0.143995 0.134729 0.622613 0.491646 0.965206 0.573644 0.842377
-
8/10/2019 Spreadsheet Speed Tutorial
18/39
0.437057 0.261393 0.290262 0.607274 0.677839 0.225055 0.698559 0.253083 0.077158
0.227373 0.802935 0.953798 0.266543 0.482206 0.694206 0.967293 0.697271 0.947835
0.97184 0.908352 0.756077 0.63005 0.121818 0.273953 0.430233 0.98499 0.427569
0.050197 0.2764 0.817896 0.05231 0.715721 0.830773 0.678915 0.167516 0.650195
0.39563 0.982497 0.727374 0.591371 0.931785 0.095314 0.45296 0.961802 0.204427
-
8/10/2019 Spreadsheet Speed Tutorial
19/39
0.935539 0.248191 0.702239 0.369658 0.792086 0.586715 0.603856 0.74005 0.899167
0.182223 0.613976 0.28848 0.130641 0.468205 0.830694 0.710374 0.601711 0.275703
0.818673 0.176618 0.499661 0.011437 0.459111 0.166336 0.902651 0.310015 0.386761
0.059136 0.296279 0.692338 0.23658 0.33506 0.467976 0.416663 0.261653 0.6994
0.956664 0.407454 0.119875 0.515641 0.850427 0.02717 0.525729 0.567617 0.291236
-
8/10/2019 Spreadsheet Speed Tutorial
20/39
-
8/10/2019 Spreadsheet Speed Tutorial
21/39
0.529169 0.680166 0.530536 0.782371 0.874738 0.9757 0.179085 0.053188 0.276632
0.294565 0.090719 0.324267 0.732212 0.437922 0.96215 0.674713 0.313755 0.990948
0.911625 0.001379 0.994207 0.206179 0.725653 0.790199 0.69303 0.630657 0.899592
0.818851 0.771423 0.917165 0.804194 0.946293 0.217307 0.182269 0.358955 0.779985
0.493335 0.610943 0.619518 0.544506 0.353197 0.326498 0.255694 0.148838 0.012548
-
8/10/2019 Spreadsheet Speed Tutorial
22/39
0.294771 0.314531 0.110367 0.511015 0.471241 0.366942 0.210719 0.62198 0.468272
0.189011 0.694687 0.30442 0.07571 0.876975 0.290103 0.511338 0.287878 0.432244
0.533348 0.267337 0.356094 0.706866 0.199215 0.387389 0.810968 0.776057 0.101494
0.038833 0.239783 0.235967 0.232554 0.184382 0.548141 0.370831 0.024564 0.170626
0.086709 0.566915 0.526495 0.955976 0.027198 0.040349 0.286239 0.123323 0.914269
-
8/10/2019 Spreadsheet Speed Tutorial
23/39
0.787158 0.951465
0.140125 0.01535
0.898879 0.718633
0.552692 0.421995
0.342034 0.124723
-
8/10/2019 Spreadsheet Speed Tutorial
24/39
Small Window 1000 4000 10000 40000 100000 400000
Excel 2003 3372 1520 724 201 80.9 20.2
Excel 2007 337 304 254 146 80 31.2
Large Window 1000 4000 10000 40000 100000 400000Excel 2003 841 213 134.5 87.7 53.5 18
Excel 2007 210 99 75 58.28 41.1 23.7
# of formulas/1000 (kFormulas) 1 4 10 40 100 400
EXL2003-small window [MegOps/sec] 3.372 6.08 7.24 8.04 8.09 8.08
EXL2007-small window [MegOps/sec] 0.337 1.216 2.54 5.84 8 12.48
EXL2003-large window [MegOps/sec] 0.841 0.852 1.345 3.508 5.35 7.2
EXL2007-large window [MegOps/sec] 0.21 0.396 0.75 2.3312 4.11 9.48
0
1
23
4
5
6
7
8
9
10
11
12
13
14
15
1 10 10
MegaOperation/second
Number of kilo-f
Excel Comput
-
8/10/2019 Spreadsheet Speed Tutorial
25/39
1000000 10000000
8.07 0.807 Hardware: Gateway SX2840-01
13.4 1.42 Monitor resolution: 1280 x 1024
1000000 100000007.7 0.803
11.4 1.412
1000 10000
8.07 8.07
13.4 14.2
7.7 8.03
11.4 14.12
0 1000 10000
rmulas in the worksheet
tion Speed
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1
MegaOperation/second
-
8/10/2019 Spreadsheet Speed Tutorial
26/39
10 100 1000
Number of kilo-formulas in the worksheet
Excel Computation Speed
EXL2003-small window [MegOps/sec]
EXL2007-small window [MegOps/sec]
EXL2003-large window [MegOps/sec]
EXL2007-large window [MegOps/sec]
-
8/10/2019 Spreadsheet Speed Tutorial
27/39
10000
-
8/10/2019 Spreadsheet Speed Tutorial
28/39
Operations/sec 5.880064
Speed Test
-
8/10/2019 Spreadsheet Speed Tutorial
29/39
1 Million cells
Small Window 1_rand 2_rands 3_rands 4_rands 5_rands
Excel 2003 - LoopCycles/sec 8.02 4.59 3.23 2.5 2.05
Excel 2007 - LoopCycles/sec 13.31 9.22 7.01 5.81 4.88
1 Million cells
Small Window - Worksheet Calc Time 1 2 3 4 5
Excel 2003 0.124688 0.217865 0.309598 0.4 0.487805
Excel 2007 0.075131 0.10846 0.142653 0.172117 0.204918
1 Million cells
Small Window -Calculation time/function [ns] 1 2 3 4 5
Excel 2003 124.6883 108.9325 103.1992 100 97.56098
Excel 2007 75.13148 54.22993 47.55112 43.02926 40.98361
0
20
40
60
80
100
120
140
0 1 2 3 4 5
S
ingleFormulaCalculationTime[ns]
Number of "rand()" functions iCell formula: "=rand()*
The calculation time per function seems to
The number cells with formulas in the work
The size of the window is reduced (about 4"
Monitor resolution: 1280 x 1024
Hardware: Gateway SX2840-01
-
8/10/2019 Spreadsheet Speed Tutorial
30/39
-
8/10/2019 Spreadsheet Speed Tutorial
31/39
6_rands 7_rands 8_rands 9_rands 10_rands
1.73 1.5 1.32 1.184 1.07 Hardware: Gateway SX2840-01
4.22 3.72 3.31 3 2.74 Monitor resolution: 1280 x 1024
6 7 8 9 10
0.578035 0.666667 0.757576 0.844595 0.934579
0.236967 0.268817 0.302115 0.333333 0.364964
6 7 8 9 10
96.33911 95.2381 94.69697 93.84384 93.45794
39.49447 38.40246 37.76435 37.03704 36.49635
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 1 2
AverageLoopIteration
Period[sec.]
(averageworksheetcalculationtime)
The worksheet calculat
complexity
The number cells with
The size of the window
6 7 8 9 10
the product in each celland()*..*rand()"
tay relatively constant
sheet is constant = 1 Million
x4")
Excel 2003
Excel 2007
Monitor resolution: 12
Hardware: Gateway S
-
8/10/2019 Spreadsheet Speed Tutorial
32/39
-
8/10/2019 Spreadsheet Speed Tutorial
33/39
3 4 5 6 7 8 9 10
Number of "rand()" functions in the product in each cellCell formula: "=rand()*rand()*..*rand()"
ion time seems to scale proportionally to formula
formulas in the worksheet is constant = 1 Million
is reduced (about 4"x4")
Excel 2003
Excel 2007
0 x 1024
2840-01
-
8/10/2019 Spreadsheet Speed Tutorial
34/39
Operations/sec 6.547538
Speed Test
-
8/10/2019 Spreadsheet Speed Tutorial
35/39
1 Million cells
Small Window sqrt() exp() sin() tan() abs()
Excel 2003 - LoopCycles/sec 10.02 7.4 5.75 6.04 10.38
1 Million cellsSmall Window -Calculation time/function [ns] sqrt() exp() sin() tan() abs()
Excel 2003 99.8004 135.1351 173.913 165.5629 96.33911
0
20
40
60
80
100
120
140
160
180
200
sqrt() exp() sin() tan(
SingleFormulaCalculation
Time[ns]
Calculation time for various built-in
-
8/10/2019 Spreadsheet Speed Tutorial
36/39
-
8/10/2019 Spreadsheet Speed Tutorial
37/39
trunc() rand()
8.45 8.02 Hardware: Gateway SX2840-01
Monitor resolution: 1280 x 1024
trunc() rand()
118.3432 124.6883
) abs() trunc() rand()
mathematical functionsMonitor resolution: 12
Hardware: Gateway S
Monitor resolution: 1280 x 1024
Hardware: Gateway SX2840-01
-
8/10/2019 Spreadsheet Speed Tutorial
38/39
-
8/10/2019 Spreadsheet Speed Tutorial
39/39
0 x 1024
2840-01