diff --git a/thesis/chapters.tex b/thesis/chapters.tex index d1ce37a..064dfd2 100644 --- a/thesis/chapters.tex +++ b/thesis/chapters.tex @@ -7,6 +7,8 @@ \input{chapters/03.00-methodology.tex} \input{chapters/03.01-benchmark.tex} \input{chapters/03.02-integration.tex} -\input{chapters/04-results.tex} +\input{chapters/04.00-results.tex} +\input{chapters/04.01-results-benchmark.tex} +\input{chapters/04.02-results-integration.tex} \input{chapters/05-conclusion.tex} \input{chapters/06-conclusion.tex} diff --git a/thesis/chapters/03.01-benchmark.tex b/thesis/chapters/03.01-benchmark.tex index 5770ebe..e77d9b2 100644 --- a/thesis/chapters/03.01-benchmark.tex +++ b/thesis/chapters/03.01-benchmark.tex @@ -152,7 +152,7 @@ For running multiple benchmarks the class \texttt{BenchmarkSuite} was created. I \centering \fbox{\includegraphics[width=.9\linewidth]{images/benchmark-ui.png}} \caption{The user interface for benchmarking application. (not final)} - \label{fig:integration-ui} + \label{fig:benchmart-ui} \end{figure} The user interface has three regions. One for configuring input parameters. One for controlling the benchmark process and at last a diagram of the results. diff --git a/thesis/chapters/04-results.tex b/thesis/chapters/04-results.tex deleted file mode 100644 index 5a8bd16..0000000 --- a/thesis/chapters/04-results.tex +++ /dev/null @@ -1,5 +0,0 @@ -\section{Results} - -\subsection{Benchmark results} - -\subsection{Comparing the results of different algorithms} \ No newline at end of file diff --git a/thesis/chapters/04.00-results.tex b/thesis/chapters/04.00-results.tex new file mode 100644 index 0000000..61bf57b --- /dev/null +++ b/thesis/chapters/04.00-results.tex @@ -0,0 +1 @@ +\section{Results} diff --git a/thesis/chapters/04.01-results-benchmark.tex b/thesis/chapters/04.01-results-benchmark.tex new file mode 100644 index 0000000..f231eb3 --- /dev/null +++ b/thesis/chapters/04.01-results-benchmark.tex @@ -0,0 +1,55 @@ +\subsection{Benchmark results} + +Problem dimensions: +\begin{itemize} + \item Device: desktop, smartphone + \item Browser: Chrome, Firefox, Edge, Safari, mobile variants + \item Datasets: Simplify.js example, bavaria outline + \item High quality: on off + \item Chart: wasm vs. js, wasm analysis, js analysis +\end{itemize} + +Questions to answer: +\begin{itemize} + \item Differences between browsers? + \item How much influence does the environment change has (storeCoords)? + \item What is faster? js or wasm. In which cases? + \item Is turf making sense? + \item How much influence does high Quality mode has. + \item Difference between devices? +\end{itemize} + +\todo[inline]{Highlight for each case which dimension is active and which questions it tackles} + +\subsubsection{Device 1 - Windows - wasm vs js} + +\todo[inline]{desktop | chrome, ff, edge | simplify.js | on, off | wasm vs js = 6 charts} +\todo[inline]{questions: 1, 3, 5} + +Benchmark of dataset "Simplify.js example" using the web browsers of Google, Microsoft and Mozilla. + +\input{./results-benchmark/win_chro_simplify_vs_false} +\input{./results-benchmark/win_ffox_simplify_vs_false} +\input{./results-benchmark/win_edge_simplify_vs_false} +\input{./results-benchmark/win_chro_simplify_vs_true} +\input{./results-benchmark/win_ffox_simplify_vs_true} +% \input{./results-benchmark/win_edge_simplify_vs_true} +\clearpage + +\subsubsection{Device 1 - Windows - wasm stack analysis} +\todo[inline]{desktop | edge, firefox | simplify.js | on, off | wasm stack = 6 charts} +\todo[inline]{1, 2, 3, 5} + +\input{./results-benchmark/win_edge_simplify_stack_false} +\clearpage + +\subsubsection{Device 2 - iMac - wasm vs js} + +For safari browser. + + +\subsubsection{Device 3 - Ubuntu - turf.js analysis} + +Check if turf makes sense + +\subsubsection{Device 4 - iPhone - mobile testing} diff --git a/thesis/chapters/04.02-results-integration.tex b/thesis/chapters/04.02-results-integration.tex new file mode 100644 index 0000000..e773581 --- /dev/null +++ b/thesis/chapters/04.02-results-integration.tex @@ -0,0 +1 @@ +\subsection{Comparing the results of different algorithms} diff --git a/thesis/main.lof b/thesis/main.lof index f923d77..35c54cf 100644 --- a/thesis/main.lof +++ b/thesis/main.lof @@ -2,3 +2,9 @@ \contentsline {figure}{\numberline {2}{\ignorespaces The user interface for benchmarking application. (not final)}}{19}{figure.2}% \contentsline {figure}{\numberline {3}{\ignorespaces The state model of the application}}{24}{figure.3}% \contentsline {figure}{\numberline {4}{\ignorespaces The user interface for the algorithm comparison. (not final)}}{25}{figure.4}% +\contentsline {figure}{\numberline {5}{\ignorespaces Simplify.wasm vs. Simplify.js benchmark result of Windows device with Chrome browser on dataset "Simplify.js example" without high Quality mode.}}{28}{figure.5}% +\contentsline {figure}{\numberline {6}{\ignorespaces Simplify.wasm vs. Simplify.js benchmark result of Windows device with Firefox browser on dataset "Simplify.js example" without high Quality mode.}}{28}{figure.6}% +\contentsline {figure}{\numberline {7}{\ignorespaces Simplify.wasm vs. Simplify.js benchmark result of Windows device with Edge browser on dataset "Simplify.js example" without high Quality mode.}}{29}{figure.7}% +\contentsline {figure}{\numberline {8}{\ignorespaces Simplify.wasm vs. Simplify.js benchmark result of Windows device with Chrome browser on dataset "Simplify.js example" with high Quality mode.}}{29}{figure.8}% +\contentsline {figure}{\numberline {9}{\ignorespaces Simplify.wasm vs. Simplify.js benchmark result of Windows device with Firefox browser on dataset "Simplify.js example" with high Quality mode.}}{30}{figure.9}% +\contentsline {figure}{\numberline {10}{\ignorespaces Simplify.wasm runtime analysis benchmark result of Windows device with Edge browser on dataset "Simplify.js example" without high Quality mode.}}{31}{figure.10}% diff --git a/thesis/main.pdf b/thesis/main.pdf index 617676c..20c62fd 100644 Binary files a/thesis/main.pdf and b/thesis/main.pdf differ diff --git a/thesis/results-benchmark/gen-tex.py b/thesis/results-benchmark/gen-tex.py new file mode 100644 index 0000000..2c1217f --- /dev/null +++ b/thesis/results-benchmark/gen-tex.py @@ -0,0 +1,58 @@ +import os + +tex_template = """ +\\begin{{figure}}[!htb] + \\centering + \\includegraphics[width=.75\\linewidth]{{./results-benchmark/{filename}}} + \\caption{{{caption}}} + \\label{{fig:{label}}} +\\end{{figure}} +""" + +caption_template = '{chart} benchmark result of {device} device with {browser} browser on dataset "{data}" {highQual}.' + +devices = { + 'win': 'Windows', +} + +browsers = { + 'ffox': 'Firefox', + 'chro': 'Chrome', + 'edge': 'Edge', + 'safa': 'Safari' +} + +data = { + 'simplify': 'Simplify.js example', + 'bavaria': 'Bavaria outline' +} + +chart = { + 'vs': 'Simplify.wasm vs. Simplify.js', + 'stack': 'Simplify.wasm runtime analysis' +} + +highQual = { + 'true': 'with high Quality mode', + 'false': 'without high Quality mode' +} + + +for filename in os.listdir(os.path.dirname(os.path.realpath(__file__))): + if not filename.endswith('.png'): + continue + label = filename.split('.')[0] + + parts = label.split('_') + caption = caption_template.format( + device=devices[parts[0]], + browser=browsers[parts[1]], + data=data[parts[2]], + chart=chart[parts[3]], + highQual=highQual[parts[4]] + ) + + content = tex_template.format( + filename=filename, caption=caption, label=label) + with open(label + '.tex', 'w') as file: + file.write(content) diff --git a/thesis/results-benchmark/win_chro_simplify_vs_false.json b/thesis/results-benchmark/win_chro_simplify_vs_false.json new file mode 100644 index 0000000..a5a6979 --- /dev/null +++ b/thesis/results-benchmark/win_chro_simplify_vs_false.json @@ -0,0 +1 @@ +{"type":"line","data":{"datasets":[{"id":"simplifyWASM","label":"Simplify.wasm","yAxisID":"performance","fill":false,"backgroundColor":"red","borderColor":"red","data":[2.1181992793834894,1.3733103249928094,1.1106432748538013,0.9598574430193257,0.877952897973913,0.7813645836202227,0.7337682510096303,0.7103200479073786,0.67864179533856,0.6544682017543861,0.6394447843815932,0.6247250268528467,0.6004781330973432,0.5992679540578063,0.5941256660006655,0.5828564823838207,0.5800977142879027,0.5174180327868853,0.5617214851338537,0.5548098434004474,0.544318444804443,0.5417732310315431,0.5511007591442375,0.560610379138671,0.5237469974690077,0.5311859543623194,0.5429435458707896,0.5484424157774452,0.5318390363428187,0.522137149390835,0.5235398623140126,0.5182236649232569,0.5201457093120713,0.5279017857142854,0.4944672131147541,0.5076549802328135,0.5158381393149319,0.5152500548698067,0.5147233843535439,0.5080185125390163],"stack":"a"},{"id":"simplifyJS","label":"Simplify.js","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","data":[3.930659983291564,3.136910808489756,2.5736161524500916,2.220531166626243,1.9503083823941703,1.4872507355344886,1.1747660652432403,1.4771159874608153,0.9435370034281113,1.2202147158942136,1.2835249042145587,1.3758987633016968,0.9095543063687099,0.8341585739841557,0.9793520097788398,0.775126198933923,0.9222222222222223,1.245128205128205,0.7551380809908681,0.8738358241282217,0.7453115547489414,0.8453649003461035,0.9418581418581414,0.9538032656312234,1.189980158730159,0.861535232354755,0.9375872382851447,0.5254639228695832,0.7354391371340522,1.0350529100529107,0.8746075715604804,0.9118364386418242,0.7970655848546312,0.7152699124476394,0.8741379310344825,1.013576494427558,0.8290598290598289,0.6411229975563396,1.0720035778175305,0.4428150614754099],"stack":"a"},{"id":"simplifyJSAlt","label":"Simplify.js Alternative","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","data":[3.1137566137566135,1.869617224880382,1.3891812865497075,1.125889046941678,0.9673577056058261,0.846439014202172,0.7575642791551882,0.696848404433544,0.646594684385382,0.604594888139516,0.5622027646934672,0.5408244866801911,0.5045999144201971,0.4906960073660726,0.476995571142577,0.4692633602669499,0.45087243837243834,0.4392140816751872,0.4350172833128625,0.42564193016458657,0.4076125511333186,0.41073348497494755,0.3952546373136113,0.3906403940886699,0.3897215397215397,0.37573612423227754,0.375654948499776,0.3767455464416593,0.3330457290767903,0.3622340425531917,0.3537723619393311,0.3586842713961251,0.3496462689350769,0.3389416163359217,0.3434233449477352,0.31987704918032794,0.33579933770168396,0.33303321328531393,0.3177254098360656,0.3316823805545608],"stack":"a"},{"id":"numberOfNodes","type":"line","label":"# of positions","yAxisID":"nodes","fill":false,"backgroundColor":"grey","borderColor":"grey","data":[1875,1013,728,564,446,381,327,283,262,241,224,208,188,175,155,154,150,141,132,129,127,114,104,103,100,97,96,96,91,89,90,86,84,79,71,72,71,69,66,64],"stack":"a"},{"label":"Dataset: Simplify.js example (73.752 points)","data":[]},{"label":"High quality mode: false","data":[]},{"label":"Platform: Chrome 75.0.3770.142 on Windows 10 64-bit","data":[]}],"labels":[0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1,1.05,1.1,1.15,1.2,1.25,1.3,1.35,1.4,1.45,1.5,1.55,1.6,1.65,1.7,1.75,1.8,1.85,1.9,1.95,2]},"options":{"defaultColor":"rgba(0,0,0,0.1)","defaultFontColor":"#666","defaultFontFamily":"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif","defaultFontSize":12,"defaultFontStyle":"normal","defaultLineHeight":1.2,"showLines":true,"animation":{"duration":0,"easing":"easeOutQuart"},"elements":{"arc":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"#fff","borderWidth":2,"borderAlign":"center"},"line":{"tension":0.4,"backgroundColor":"rgba(0,0,0,0.1)","borderWidth":3,"borderColor":"rgba(0,0,0,0.1)","borderCapStyle":"butt","borderDash":[],"borderDashOffset":0,"borderJoinStyle":"miter","capBezierPoints":true,"fill":true},"point":{"radius":3,"pointStyle":"circle","backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderWidth":1,"hitRadius":1,"hoverRadius":4,"hoverBorderWidth":1},"rectangle":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderSkipped":"bottom","borderWidth":0}},"layout":{"padding":{"top":0,"right":0,"bottom":0,"left":0}},"plugins":{"filler":{"propagate":true}},"tooltips":{"enabled":true,"custom":null,"mode":"index","position":"average","intersect":false,"backgroundColor":"rgba(0,0,0,0.8)","titleFontStyle":"bold","titleSpacing":2,"titleMarginBottom":6,"titleFontColor":"#fff","titleAlign":"left","bodySpacing":2,"bodyFontColor":"#fff","bodyAlign":"left","footerFontStyle":"bold","footerSpacing":2,"footerMarginTop":6,"footerFontColor":"#fff","footerAlign":"left","yPadding":6,"xPadding":6,"caretPadding":2,"caretSize":5,"cornerRadius":6,"multiKeyBackground":"#fff","displayColors":true,"borderColor":"rgba(0,0,0,0)","borderWidth":0,"callbacks":{},"axis":"x"},"events":["mousemove","mouseout","click","touchstart","touchmove"],"hover":{"onHover":null,"mode":"nearest","intersect":false,"animationDuration":400,"axis":"xy"},"onClick":null,"maintainAspectRatio":true,"responsive":true,"responsiveAnimationDuration":0,"legend":{"display":true,"position":"bottom","fullWidth":true,"reverse":false,"weight":1000,"onHover":null,"onLeave":null,"labels":{"boxWidth":40,"padding":10}},"title":{"display":true,"fontStyle":"bold","fullWidth":true,"padding":10,"position":"top","text":"Simplify.wasm vs. Simplify.js","weight":2000},"spanGaps":false,"scales":{"xAxes":[{"display":true,"position":"bottom","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Tolerance (length)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0}},"type":"category","id":"x-axis-0","stacked":false}],"yAxes":[{"display":true,"position":"left","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Performance - Milliseconds per operation (ms)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"type":"linear","id":"performance","stacked":false},{"display":true,"position":"right","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":false,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Number of positions in result (#)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"id":"nodes","type":"linear"}]}}} \ No newline at end of file diff --git a/thesis/results-benchmark/win_chro_simplify_vs_false.png b/thesis/results-benchmark/win_chro_simplify_vs_false.png new file mode 100644 index 0000000..528eb7d Binary files /dev/null and b/thesis/results-benchmark/win_chro_simplify_vs_false.png differ diff --git a/thesis/results-benchmark/win_chro_simplify_vs_false.tex b/thesis/results-benchmark/win_chro_simplify_vs_false.tex new file mode 100644 index 0000000..89a44be --- /dev/null +++ b/thesis/results-benchmark/win_chro_simplify_vs_false.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_chro_simplify_vs_false.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Chrome browser on dataset "Simplify.js example" without high Quality mode.} + \label{fig:win_chro_simplify_vs_false} +\end{figure} diff --git a/thesis/results-benchmark/win_chro_simplify_vs_true.json b/thesis/results-benchmark/win_chro_simplify_vs_true.json new file mode 100644 index 0000000..c22dfca --- /dev/null +++ b/thesis/results-benchmark/win_chro_simplify_vs_true.json @@ -0,0 +1 @@ +{"type":"line","data":{"datasets":[{"id":"simplifyWASM","label":"Simplify.wasm","yAxisID":"performance","fill":false,"backgroundColor":"red","borderColor":"red","data":[8.028619528619528,7.40151515151515,7.0188980716253475,6.758904837852206,6.485139860139862,6.249336870026523,6.124607535321822,5.981203007518795,5.889724310776942,5.80021312021312,5.660714285714285,5.693100290514084,5.61207482993197,5.4689655172413785,5.42873563218391,5.392339580062794,5.366772959183676,5.357538295038295,5.292187500000001,5.243303571428573,5.22767857142857,5.170029239766083,5.10802139037433,5.163304093567255,4.947368421052631,4.930856553147576,4.907120743034056,4.934436274509806,4.84178498985801,4.936296393557423,4.884348125214996,4.7514619883040945,4.793238674780258,4.753968253968253,4.774497071555896,4.707266865079364,4.755473856209148,4.633648861843588,4.6081871345029235,4.637491548343477],"stack":"a"},{"id":"simplifyJS","label":"Simplify.js","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","data":[18.576415094339623,15.544025157232706,15.270440251572325,16.320689655172416,16.406896551724138,16.424137931034473,15.701257861635229,16.43563218390804,16.037288135593215,14.226900584795327,17.30060606060606,12.035087719298241,12.451948051948056,14.924528301886795,14.266666666666664,13.172727272727272,14.66604938271605,12.355017006802722,12.55503512880562,13.495655806182114,13.381355932203391,11.893462469733656,13.864942528735632,12.720458553791888,13.99122807017544,14.398809523809526,14.34226190476191,14.993209876543212,16.488793103448273,14.12280701754386,13.649122807017541,13.238634321653189,12.488311688311684,15.795321637426897,15.209876543209877,11.125877192982458,13.091194968553454,11.706896551724137,12.74137931034483,12.732900432900433],"stack":"a"},{"id":"simplifyJSAlt","label":"Simplify.js Alternative","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","data":[11.373315363881403,10.515350877192983,9.833186360964142,9.392857142857139,9.155945419103316,8.794545454545453,8.508928571428564,8.410267857142859,8.29473684210526,8.147493112947659,7.986776859504135,7.8829935720844855,7.930583613916953,7.748417207792209,7.6461038961039005,7.5578947368421066,7.448275862068967,7.433811802232848,7.337962962962965,7.331790123456793,7.277272727272729,7.259504132231407,7.107603305785123,6.973684210526318,6.869883040935673,7.038149350649351,6.92483596650263,6.882438316400578,6.837941379608044,6.797731589398254,6.794405594405595,6.69441377336114,6.597728295096718,6.479395604395608,6.443994601889341,6.532967032967033,6.5467032967032965,6.329284750337384,6.306366047745358,6.315881486934118],"stack":"a"},{"id":"numberOfNodes","type":"line","label":"# of positions","yAxisID":"nodes","fill":false,"backgroundColor":"grey","borderColor":"grey","data":[2041,1118,799,624,504,413,364,314,287,257,238,225,214,197,179,168,160,155,147,144,136,132,125,119,111,107,103,97,96,95,94,91,90,88,85,85,83,76,73,71],"stack":"a"},{"label":"Dataset: Simplify.js example (73.752 points)","data":[]},{"label":"High quality mode: true","data":[]},{"label":"Platform: Chrome 75.0.3770.142 on Windows 10 64-bit","data":[]}],"labels":[0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1,1.05,1.1,1.15,1.2,1.25,1.3,1.35,1.4,1.45,1.5,1.55,1.6,1.65,1.7,1.75,1.8,1.85,1.9,1.95,2]},"options":{"defaultColor":"rgba(0,0,0,0.1)","defaultFontColor":"#666","defaultFontFamily":"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif","defaultFontSize":12,"defaultFontStyle":"normal","defaultLineHeight":1.2,"showLines":true,"animation":{"duration":0,"easing":"easeOutQuart"},"elements":{"arc":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"#fff","borderWidth":2,"borderAlign":"center"},"line":{"tension":0.4,"backgroundColor":"rgba(0,0,0,0.1)","borderWidth":3,"borderColor":"rgba(0,0,0,0.1)","borderCapStyle":"butt","borderDash":[],"borderDashOffset":0,"borderJoinStyle":"miter","capBezierPoints":true,"fill":true},"point":{"radius":3,"pointStyle":"circle","backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderWidth":1,"hitRadius":1,"hoverRadius":4,"hoverBorderWidth":1},"rectangle":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderSkipped":"bottom","borderWidth":0}},"layout":{"padding":{"top":0,"right":0,"bottom":0,"left":0}},"plugins":{"filler":{"propagate":true}},"tooltips":{"enabled":true,"custom":null,"mode":"index","position":"average","intersect":false,"backgroundColor":"rgba(0,0,0,0.8)","titleFontStyle":"bold","titleSpacing":2,"titleMarginBottom":6,"titleFontColor":"#fff","titleAlign":"left","bodySpacing":2,"bodyFontColor":"#fff","bodyAlign":"left","footerFontStyle":"bold","footerSpacing":2,"footerMarginTop":6,"footerFontColor":"#fff","footerAlign":"left","yPadding":6,"xPadding":6,"caretPadding":2,"caretSize":5,"cornerRadius":6,"multiKeyBackground":"#fff","displayColors":true,"borderColor":"rgba(0,0,0,0)","borderWidth":0,"callbacks":{},"axis":"x"},"events":["mousemove","mouseout","click","touchstart","touchmove"],"hover":{"onHover":null,"mode":"nearest","intersect":false,"animationDuration":400,"axis":"xy"},"onClick":null,"maintainAspectRatio":true,"responsive":true,"responsiveAnimationDuration":0,"legend":{"display":true,"position":"bottom","fullWidth":true,"reverse":false,"weight":1000,"onHover":null,"onLeave":null,"labels":{"boxWidth":40,"padding":10}},"title":{"display":true,"fontStyle":"bold","fullWidth":true,"padding":10,"position":"top","text":"Simplify.wasm vs. Simplify.js","weight":2000},"spanGaps":false,"scales":{"xAxes":[{"display":true,"position":"bottom","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Tolerance (length)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0}},"type":"category","id":"x-axis-0","stacked":false}],"yAxes":[{"display":true,"position":"left","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Performance - Milliseconds per operation (ms)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"type":"linear","id":"performance","stacked":false},{"display":true,"position":"right","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":false,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Number of positions in result (#)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"id":"nodes","type":"linear"}]}}} \ No newline at end of file diff --git a/thesis/results-benchmark/win_chro_simplify_vs_true.png b/thesis/results-benchmark/win_chro_simplify_vs_true.png new file mode 100644 index 0000000..989c232 Binary files /dev/null and b/thesis/results-benchmark/win_chro_simplify_vs_true.png differ diff --git a/thesis/results-benchmark/win_chro_simplify_vs_true.tex b/thesis/results-benchmark/win_chro_simplify_vs_true.tex new file mode 100644 index 0000000..3717a71 --- /dev/null +++ b/thesis/results-benchmark/win_chro_simplify_vs_true.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_chro_simplify_vs_true.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Chrome browser on dataset "Simplify.js example" with high Quality mode.} + \label{fig:win_chro_simplify_vs_true} +\end{figure} diff --git a/thesis/results-benchmark/win_edge_simplify_stack_false.json b/thesis/results-benchmark/win_edge_simplify_stack_false.json new file mode 100644 index 0000000..600319d --- /dev/null +++ b/thesis/results-benchmark/win_edge_simplify_stack_false.json @@ -0,0 +1 @@ +{"type":"bar","data":{"datasets":[{"id":"storeCoords","label":"Store coordinates","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","data":[0.6766862497211272,0.6950407828522334,0.6763661202185792,0.6665311653116533,0.6743833540030318,0.6716273942400444,0.677134986225895,0.6711724137931034,0.6254728877679697,0.6702185792349725,0.6710508474576271,0.6771393137660192,0.678517293647513,0.6695355191256831,0.6247635561160152,0.677826026054069,0.6787862219792237,0.675623535896376,0.6274432534678436,0.6781944444444442,0.6705962059620599,0.67059620596206,0.6789617486338797,0.6783761618370691,0.6815488493867992,0.6760928961748632,0.6809917355371897,0.6774193548387095,0.6774149097423177,0.6741077580267331,0.6756830601092895,0.6859583850075788,0.6794765840220387,0.6243694829760403,0.6793388429752067,0.6863204298112687,0.6798898071625348,0.6760677966101692,0.682758620689655,0.6811034482758621],"stack":"a"},{"id":"execution","backgroundColor":"red","borderColor":"red","label":"Simplification","data":[1.615532583062594,0.9301477417609947,0.7145185855025521,0.586161455253188,0.48022071995348125,0.41724476664616805,0.3767060927555328,0.3521715868616827,0.3631178375674122,0.3123751828503213,0.29749600280811516,0.27472832392753365,0.26485784377443344,0.27369457407391206,0.2973724997953334,0.2518791922287419,0.22546098323629993,0.22294055940858748,0.264351983661282,0.22182315444669842,0.21556528288491938,0.20967100333511723,0.21270751571259494,0.2002275466704322,0.1886082014071111,0.1392191226192312,0.1839855891843406,0.185321320780525,0.1288653621123489,0.18335124780210898,0.19230230101535983,0.1702639600322342,0.12273506500572828,0.23086653325781647,0.1877879617947409,0.16893664038658995,0.17438205876484725,0.17537540719688627,0.17203024405569367,0.16924310731000502],"stack":"a"},{"id":"simplifyWASM","label":"Total execution time","yAxisID":"performance","fill":false,"backgroundColor":"#ff7a6b","borderColor":"#ff7a6b","data":[2.394266917293233,1.6892043118511657,1.44327922077922,1.291534391534391,1.188718173836699,1.1209016393442623,1.083555555555556,1.049337989233231,1.0140395021645023,1.0074074074074084,0.9922764227642282,0.9750099960016001,0.9658730158730168,0.9649224806201554,0.9431034482758629,0.9505162672900844,0.9249999999999997,0.9178464977645307,0.9105820105820105,0.9190284547002734,0.9047619047619043,0.8987249544626596,0.9095238095238092,0.8963369963369958,0.8880434782608697,0.8328055141579732,0.8825436858223739,0.8804590570719613,0.8240499254843518,0.874732715609408,0.8853260869565211,0.8735507246376806,0.8194858420268256,0.8723404255319148,0.8829749103942662,0.8722222222222228,0.8701754385964914,0.8671575670498082,0.8707017543859649,0.8660070921985813],"stack":"b"},{"id":"loadResult","label":"Load result","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","data":[0.10204808450951171,0.06401578723793762,0.05239451505808872,0.03884177096954979,0.034114099880185905,0.03202947845804988,0.029714476574128293,0.025993988578444954,0.02544877682912039,0.024813645322114653,0.023729572498485993,0.023142358308047263,0.02249787845107033,0.02169238742056025,0.020967392364514295,0.020811049007273492,0.02075279478447612,0.019282402459567225,0.018786773452884975,0.01901085580913078,0.018600415914924978,0.018457745165482396,0.01785454517733451,0.01773328782949459,0.017886427466959495,0.017493495363878737,0.017566361100843482,0.017718381452726778,0.01776965362968527,0.017273709780565978,0.017340725831871895,0.017328379597867597,0.01727419299905863,0.017104409298058037,0.01584810562431865,0.016965152024364133,0.015903572669109373,0.01571436324275268,0.01591288964061624,0.01566053661271421],"stack":"a"},{"id":"numberOfNodes","type":"line","label":"# of positions","yAxisID":"nodes","fill":false,"backgroundColor":"grey","borderColor":"grey","data":[1875,1013,728,564,446,381,327,283,262,241,224,208,188,175,155,154,150,141,132,129,127,114,104,103,100,97,96,96,91,89,90,86,84,79,71,72,71,69,66,64],"stack":"a"},{"label":"Dataset: Simplify.js example (73.752 points)","data":[]},{"label":"High quality mode: false","data":[]},{"label":"Platform: Microsoft Edge 18.18362 on Windows 10 64-bit","data":[]}],"labels":[0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1,1.05,1.1,1.15,1.2,1.25,1.3,1.35,1.4,1.45,1.5,1.55,1.6,1.65,1.7,1.75,1.8,1.85,1.9,1.95,2]},"options":{"defaultColor":"rgba(0,0,0,0.1)","defaultFontColor":"#666","defaultFontFamily":"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif","defaultFontSize":12,"defaultFontStyle":"normal","defaultLineHeight":1.2,"showLines":true,"animation":{"duration":0,"easing":"easeOutQuart"},"elements":{"arc":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"#fff","borderWidth":2,"borderAlign":"center"},"line":{"tension":0.4,"backgroundColor":"rgba(0,0,0,0.1)","borderWidth":3,"borderColor":"rgba(0,0,0,0.1)","borderCapStyle":"butt","borderDash":[],"borderDashOffset":0,"borderJoinStyle":"miter","capBezierPoints":true,"fill":true},"point":{"radius":3,"pointStyle":"circle","backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderWidth":1,"hitRadius":1,"hoverRadius":4,"hoverBorderWidth":1},"rectangle":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderSkipped":"bottom","borderWidth":0}},"layout":{"padding":{"top":0,"right":0,"bottom":0,"left":0}},"plugins":{"filler":{"propagate":true}},"tooltips":{"enabled":true,"custom":null,"mode":"index","position":"average","intersect":false,"backgroundColor":"rgba(0,0,0,0.8)","titleFontStyle":"bold","titleSpacing":2,"titleMarginBottom":6,"titleFontColor":"#fff","titleAlign":"left","bodySpacing":2,"bodyFontColor":"#fff","bodyAlign":"left","footerFontStyle":"bold","footerSpacing":2,"footerMarginTop":6,"footerFontColor":"#fff","footerAlign":"left","yPadding":6,"xPadding":6,"caretPadding":2,"caretSize":5,"cornerRadius":6,"multiKeyBackground":"#fff","displayColors":true,"borderColor":"rgba(0,0,0,0)","borderWidth":0,"callbacks":{},"axis":"x"},"events":["mousemove","mouseout","click","touchstart","touchmove"],"hover":{"onHover":null,"mode":"nearest","intersect":false,"animationDuration":400,"axis":"xy"},"onClick":null,"maintainAspectRatio":true,"responsive":true,"responsiveAnimationDuration":0,"legend":{"display":true,"position":"bottom","fullWidth":true,"reverse":false,"weight":1000,"onHover":null,"onLeave":null,"labels":{"boxWidth":40,"padding":10}},"title":{"display":true,"fontStyle":"bold","fullWidth":true,"padding":10,"position":"top","text":"Simplify.wasm runtime insights","weight":2000},"scales":{"xAxes":[{"display":true,"position":"bottom","offset":true,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":true,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Tolerance (length)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0}},"type":"category","categoryPercentage":0.8,"barPercentage":0.9,"stacked":true,"id":"x-axis-0"}],"yAxes":[{"display":true,"position":"left","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Performance - Milliseconds per operation (ms)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"type":"linear","id":"performance","stacked":true},{"display":true,"position":"right","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":false,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Number of positions in result (#)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"id":"nodes","type":"linear"}]}}} \ No newline at end of file diff --git a/thesis/results-benchmark/win_edge_simplify_stack_false.png b/thesis/results-benchmark/win_edge_simplify_stack_false.png new file mode 100644 index 0000000..1fb4322 Binary files /dev/null and b/thesis/results-benchmark/win_edge_simplify_stack_false.png differ diff --git a/thesis/results-benchmark/win_edge_simplify_stack_false.tex b/thesis/results-benchmark/win_edge_simplify_stack_false.tex new file mode 100644 index 0000000..92eeb16 --- /dev/null +++ b/thesis/results-benchmark/win_edge_simplify_stack_false.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_edge_simplify_stack_false.png} + \caption{Simplify.wasm runtime analysis benchmark result of Windows device with Edge browser on dataset "Simplify.js example" without high Quality mode.} + \label{fig:win_edge_simplify_stack_false} +\end{figure} diff --git a/thesis/results-benchmark/win_edge_simplify_vs_false.json b/thesis/results-benchmark/win_edge_simplify_vs_false.json new file mode 100644 index 0000000..d78beec --- /dev/null +++ b/thesis/results-benchmark/win_edge_simplify_vs_false.json @@ -0,0 +1 @@ +{"type":"line","data":{"datasets":[{"id":"simplifyWASM","label":"Simplify.wasm","yAxisID":"performance","fill":false,"backgroundColor":"red","borderColor":"red","data":[2.451456578456225,1.6919398907103817,1.445843091334895,1.2906583398386677,1.1968599033816425,1.136045197740113,1.0846565253344922,1.0438818565400838,1.0129098360655737,1.0063304063712483,0.9931726907630527,0.9737254901960783,0.9626436781609203,0.9549191505941953,0.9409090909090902,0.9248148148148151,0.9299625468164788,0.9280898876404493,0.9150856511328054,0.9237153865045746,0.9120370370370373,0.8415611028315947,0.9088061901252761,0.9027472527472522,0.8931159420289852,0.8868496079828931,0.8792526000352555,0.889673913043478,0.9018748604421196,0.8873768715524035,0.8818218085106383,0.8925351604760184,0.881560283687943,0.8774193548387101,0.8707446808510634,0.8846169095054018,0.8757271285034378,0.8797502230151651,0.8817127564674397],"stack":"a"},{"id":"simplifyJS","label":"Simplify.js","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","data":[5.050204918032787,3.0206259528293424,2.2931034482758616,1.8718696623308375,1.6095215791234525,1.4130613418792892,1.2996673185991012,1.2019047619047618,1.1322858446978168,1.0791256830601088,1.023178418803418,0.9706923682140055,0.9521697203471552,0.9154498087114118,0.8974797536226893,0.8700569951230983,0.8538091969800959,0.8312271366810776,0.8154967320261437,0.7947619047619046,0.8021035598705497,0.7807377049180326,0.7370529061102832,0.7593050829982474,0.719518442622951,0.7589506172839506,0.7433894500561163,0.7006489071038251,0.733682359307359,0.7318501170960187,0.7116581777023201,0.7226608187134501,0.6941291859324649,0.6956704497688108,0.6930082667787588,0.6883702001340611,0.6785218116143377,0.6877495291902076,0.6752323674138878],"stack":"a"},{"id":"simplifyJSAlt","label":"Simplify.js Alternative","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","data":[4.252495462794918,2.5254237288135592,1.9291217257318948,1.5905040221216686,1.408757062146893,1.2295081967213115,1.1557870370370371,1.0754273504273506,1.0430041152263378,0.9707259953161595,0.9267883755588668,0.921888888888889,0.878014184397163,0.8535593220338983,0.8481355932203389,0.8194719471947202,0.8167505275117682,0.7967948717948718,0.7830218068535825,0.7863139553302709,0.766820987654321,0.7636065239551479,0.7510593220338982,0.7465193704600485,0.7391304347826089,0.7460600654177817,0.7237585489146594,0.6763148907103826,0.6688012295081968,0.7120689655172413,0.7073446327683619,0.697427925381572,0.6429303278688524,0.69590395480226,0.6761291716834925,0.6730874316939891,0.6765992345544014,0.6795392953929542,0.6907474298416225],"stack":"a"},{"id":"numberOfNodes","type":"line","label":"# of positions","yAxisID":"nodes","fill":false,"backgroundColor":"grey","borderColor":"grey","data":[1875,1013,728,564,446,381,327,283,262,241,224,208,188,175,155,154,150,141,132,129,127,114,104,103,100,97,96,96,91,89,90,86,84,79,71,72,71,69,66],"stack":"a"},{"label":"Dataset: Simplify.js example (73.752 points)","data":[]},{"label":"High quality mode: false","data":[]},{"label":"Platform: Microsoft Edge 18.18362 on Windows 10 64-bit","data":[]}],"labels":[0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1,1.05,1.1,1.15,1.2,1.25,1.3,1.35,1.4,1.45,1.5,1.55,1.6,1.65,1.7,1.75,1.8,1.85,1.9,1.95]},"options":{"defaultColor":"rgba(0,0,0,0.1)","defaultFontColor":"#666","defaultFontFamily":"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif","defaultFontSize":12,"defaultFontStyle":"normal","defaultLineHeight":1.2,"showLines":true,"animation":{"duration":0,"easing":"easeOutQuart"},"elements":{"arc":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"#fff","borderWidth":2,"borderAlign":"center"},"line":{"tension":0.4,"backgroundColor":"rgba(0,0,0,0.1)","borderWidth":3,"borderColor":"rgba(0,0,0,0.1)","borderCapStyle":"butt","borderDash":[],"borderDashOffset":0,"borderJoinStyle":"miter","capBezierPoints":true,"fill":true},"point":{"radius":3,"pointStyle":"circle","backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderWidth":1,"hitRadius":1,"hoverRadius":4,"hoverBorderWidth":1},"rectangle":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderSkipped":"bottom","borderWidth":0}},"layout":{"padding":{"top":0,"right":0,"bottom":0,"left":0}},"plugins":{"filler":{"propagate":true}},"tooltips":{"enabled":true,"custom":null,"mode":"index","position":"average","intersect":false,"backgroundColor":"rgba(0,0,0,0.8)","titleFontStyle":"bold","titleSpacing":2,"titleMarginBottom":6,"titleFontColor":"#fff","titleAlign":"left","bodySpacing":2,"bodyFontColor":"#fff","bodyAlign":"left","footerFontStyle":"bold","footerSpacing":2,"footerMarginTop":6,"footerFontColor":"#fff","footerAlign":"left","yPadding":6,"xPadding":6,"caretPadding":2,"caretSize":5,"cornerRadius":6,"multiKeyBackground":"#fff","displayColors":true,"borderColor":"rgba(0,0,0,0)","borderWidth":0,"callbacks":{},"axis":"x"},"events":["mousemove","mouseout","click","touchstart","touchmove"],"hover":{"onHover":null,"mode":"nearest","intersect":false,"animationDuration":400,"axis":"xy"},"onClick":null,"maintainAspectRatio":true,"responsive":true,"responsiveAnimationDuration":0,"legend":{"display":true,"position":"bottom","fullWidth":true,"reverse":false,"weight":1000,"onHover":null,"onLeave":null,"labels":{"boxWidth":40,"padding":10}},"title":{"display":true,"fontStyle":"bold","fullWidth":true,"padding":10,"position":"top","text":"Simplify.wasm vs. Simplify.js","weight":2000},"spanGaps":false,"scales":{"xAxes":[{"display":true,"position":"bottom","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Tolerance (length)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0}},"type":"category","id":"x-axis-0","stacked":false}],"yAxes":[{"display":true,"position":"left","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Performance - Milliseconds per operation (ms)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"type":"linear","id":"performance","stacked":false},{"display":true,"position":"right","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":false,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Number of positions in result (#)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"id":"nodes","type":"linear"}]}}} \ No newline at end of file diff --git a/thesis/results-benchmark/win_edge_simplify_vs_false.png b/thesis/results-benchmark/win_edge_simplify_vs_false.png new file mode 100644 index 0000000..cae9bee Binary files /dev/null and b/thesis/results-benchmark/win_edge_simplify_vs_false.png differ diff --git a/thesis/results-benchmark/win_edge_simplify_vs_false.tex b/thesis/results-benchmark/win_edge_simplify_vs_false.tex new file mode 100644 index 0000000..91fdfb6 --- /dev/null +++ b/thesis/results-benchmark/win_edge_simplify_vs_false.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_edge_simplify_vs_false.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Edge browser on dataset "Simplify.js example" without high Quality mode.} + \label{fig:win_edge_simplify_vs_false} +\end{figure} diff --git a/thesis/results-benchmark/win_ffox_simplify_vs_false.json b/thesis/results-benchmark/win_ffox_simplify_vs_false.json new file mode 100644 index 0000000..aa650ed --- /dev/null +++ b/thesis/results-benchmark/win_ffox_simplify_vs_false.json @@ -0,0 +1 @@ +{"type":"line","data":{"datasets":[{"id":"simplifyWASM","label":"Simplify.wasm","yAxisID":"performance","fill":false,"backgroundColor":"red","borderColor":"red","data":[2.622043251520448,1.8615661115661115,1.5266776350334308,1.3860640301318266,1.27489114658926,1.266317016317017,1.1972506393861893,1.1875757231453556,1.15,1.0854320987654325,1.1046453546453545,1.0827006327006328,1.0358649789029535,1.0248807057920986,1.0413992257742253,1.0074999999999996,1.0454328072692498,1.0450123325940326,0.991769547325103,0.9946887897611205,1.0032865102932842,0.9691369655663018,0.9662673657621802,0.9706011408512506,0.9711538461538467,0.9566895368782166,0.9441099556042091,0.97160107334526,0.9496140651801034,0.922455646916451,0.9436692878148578,0.9516461518592483,0.9562818282420803,0.8905843065626096,0.9676946919798535,0.8537909836065573,0.933856264574942,0.9309196837286722,0.8773266629054881,0.9753725490196082],"stack":"a"},{"id":"simplifyJS","label":"Simplify.js","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","data":[3.033156498673739,1.766779326179537,1.3012246291959402,1.1164383561643838,1.4111012453356118,1.2227750138197895,0.8331447963800906,0.7702290764790765,0.7442984889285066,0.917773561037319,0.808264462809917,0.6173767752715121,0.6003540305010894,0.6025110663983899,0.5851329792371545,0.5755635587568357,0.5669682186302173,0.5498640697910328,0.5564782775855439,0.5523300229182582,0.4767759562841529,0.5123879188296364,0.5027468034337139,0.4931098395201366,0.5023030861354217,0.49460916442048547,0.4840051517683096,0.4446080942622951,0.5142822561123215,0.5115384615384615,0.5095571095571093,0.5104142011834318,0.4890873015873019,0.45116120218579236,0.49774506309260697,0.445888831967213,0.4953560371517029,0.4954520434842438,0.44012551229508207,0.48782658216297],"stack":"a"},{"id":"simplifyJSAlt","label":"Simplify.js Alternative","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","data":[8.024356775300172,4.706313972129734,3.6137123745819384,3.0980392156862737,2.518406511350061,2.283270277445904,2.102564102564105,1.8882144385353634,1.9007867132867147,1.751687356388841,1.687692307692308,1.6596171433000082,1.4827249022164266,1.513170731707317,1.4558213716108446,1.5077474252112182,1.44488579940417,1.4267241379310345,1.4041751330430572,1.3961290322580644,1.3507578100835134,1.3004115226337452,1.3325908875584584,1.2718855218855216,1.2692764751588281,1.2674018289402904,1.2892445464982778,1.2151967435549524,1.2627986686706052,1.2534443168771527,1.2629233511586448,1.2188914027149318,1.2282239819004526,1.1995171814545214,1.2027064346865504,1.198563932615299,1.175314465408805,1.187526197400286,1.1482479784366575,1.1486792452830186],"stack":"a"},{"id":"numberOfNodes","type":"line","label":"# of positions","yAxisID":"nodes","fill":false,"backgroundColor":"grey","borderColor":"grey","data":[1875,1013,728,564,446,381,327,283,262,241,224,208,188,175,155,154,150,141,132,129,127,114,104,103,100,97,96,96,91,89,90,86,84,79,71,72,71,69,66,64],"stack":"a"},{"label":"Dataset: Simplify.js example (73.752 points)","data":[]},{"label":"High quality mode: false","data":[]},{"label":"Platform: Firefox 68.0 on Windows 10 64-bit","data":[]}],"labels":[0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1,1.05,1.1,1.15,1.2,1.25,1.3,1.35,1.4,1.45,1.5,1.55,1.6,1.65,1.7,1.75,1.8,1.85,1.9,1.95,2]},"options":{"defaultColor":"rgba(0,0,0,0.1)","defaultFontColor":"#666","defaultFontFamily":"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif","defaultFontSize":12,"defaultFontStyle":"normal","defaultLineHeight":1.2,"showLines":true,"animation":{"duration":0,"easing":"easeOutQuart"},"elements":{"arc":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"#fff","borderWidth":2,"borderAlign":"center"},"line":{"tension":0.4,"backgroundColor":"rgba(0,0,0,0.1)","borderWidth":3,"borderColor":"rgba(0,0,0,0.1)","borderCapStyle":"butt","borderDash":[],"borderDashOffset":0,"borderJoinStyle":"miter","capBezierPoints":true,"fill":true},"point":{"radius":3,"pointStyle":"circle","backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderWidth":1,"hitRadius":1,"hoverRadius":4,"hoverBorderWidth":1},"rectangle":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderSkipped":"bottom","borderWidth":0}},"layout":{"padding":{"top":0,"right":0,"bottom":0,"left":0}},"plugins":{"filler":{"propagate":true}},"tooltips":{"enabled":true,"custom":null,"mode":"index","position":"average","intersect":false,"backgroundColor":"rgba(0,0,0,0.8)","titleFontStyle":"bold","titleSpacing":2,"titleMarginBottom":6,"titleFontColor":"#fff","titleAlign":"left","bodySpacing":2,"bodyFontColor":"#fff","bodyAlign":"left","footerFontStyle":"bold","footerSpacing":2,"footerMarginTop":6,"footerFontColor":"#fff","footerAlign":"left","yPadding":6,"xPadding":6,"caretPadding":2,"caretSize":5,"cornerRadius":6,"multiKeyBackground":"#fff","displayColors":true,"borderColor":"rgba(0,0,0,0)","borderWidth":0,"callbacks":{},"axis":"x"},"events":["mousemove","mouseout","click","touchstart","touchmove"],"hover":{"onHover":null,"mode":"nearest","intersect":false,"animationDuration":400,"axis":"xy"},"onClick":null,"maintainAspectRatio":true,"responsive":true,"responsiveAnimationDuration":0,"legend":{"display":true,"position":"bottom","fullWidth":true,"reverse":false,"weight":1000,"onHover":null,"onLeave":null,"labels":{"boxWidth":40,"padding":10}},"title":{"display":true,"fontStyle":"bold","fullWidth":true,"padding":10,"position":"top","text":"Simplify.wasm vs. Simplify.js","weight":2000},"spanGaps":false,"scales":{"xAxes":[{"display":true,"position":"bottom","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Tolerance (length)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0}},"type":"category","id":"x-axis-0","stacked":false}],"yAxes":[{"display":true,"position":"left","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Performance - Milliseconds per operation (ms)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"type":"linear","id":"performance","stacked":false},{"display":true,"position":"right","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":false,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Number of positions in result (#)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"id":"nodes","type":"linear"}]}}} \ No newline at end of file diff --git a/thesis/results-benchmark/win_ffox_simplify_vs_false.png b/thesis/results-benchmark/win_ffox_simplify_vs_false.png new file mode 100644 index 0000000..701f145 Binary files /dev/null and b/thesis/results-benchmark/win_ffox_simplify_vs_false.png differ diff --git a/thesis/results-benchmark/win_ffox_simplify_vs_false.tex b/thesis/results-benchmark/win_ffox_simplify_vs_false.tex new file mode 100644 index 0000000..b384848 --- /dev/null +++ b/thesis/results-benchmark/win_ffox_simplify_vs_false.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_ffox_simplify_vs_false.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Firefox browser on dataset "Simplify.js example" without high Quality mode.} + \label{fig:win_ffox_simplify_vs_false} +\end{figure} diff --git a/thesis/results-benchmark/win_ffox_simplify_vs_true.json b/thesis/results-benchmark/win_ffox_simplify_vs_true.json new file mode 100644 index 0000000..a7aba1d --- /dev/null +++ b/thesis/results-benchmark/win_ffox_simplify_vs_true.json @@ -0,0 +1 @@ +{"type":"line","data":{"datasets":[{"id":"simplifyWASM","label":"Simplify.wasm","yAxisID":"performance","fill":false,"backgroundColor":"red","borderColor":"red","data":[8.624279835390949,8.058319039451113,7.861888111888111,7.280594405594405,7.096483704974272,6.905303030303029,7.049679487179488,6.751479289940826,6.733727810650888,6.576923076923076,6.468795355587808,6.666666666666662,6.481857764876633,6.248626373626374,6.071428571428574,6.094339622641512,5.997499295576218,5.900359389038631,5.982479784366578,5.887179487179488,6.116013071895425,5.828007889546351,5.9019607843137285,5.92898610823139,5.667806267806267,5.664150943396229,5.657416666666667,5.5899371069182395,5.540172955974844,5.585250000000001,5.762091503267975,5.5584905660377375,5.516049382716049,5.371604938271602,5.303240740740743,5.518589743589745,5.442917899408286,5.6824761904761925,5.323503979994367,5.259433962264152],"stack":"a"},{"id":"simplifyJS","label":"Simplify.js","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","data":[10.431818181818182,9.910403050108938,9.519764957264957,9.062962962962962,8.91111111111111,8.009259259259258,8.57649572649572,8.061188811188813,8.05525846702317,7.861888111888109,7.421955403087477,7.676573426573431,7.415209790209793,7.2194110920525985,7.246340766152092,7.303921568627449,7.244755244755246,7.248752228163994,7.343606060606065,7.032161234991425,6.936728395061727,6.987733100233099,6.917667238421949,6.823333333333332,6.825897435897432,6.749696969696966,6.517094017094016,6.698752228163992,6.556213017751478,6.655285890580009,6.517186659494352,6.313390313390316,6.430473372781067,6.321428571428569,6.329635108481262,6.343304843304843,6.417554112554114,6.198358830711771,6.203171828171826,6.2367032967033],"stack":"a"},{"id":"simplifyJSAlt","label":"Simplify.js Alternative","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","data":[32.04861111111112,29.583333333333314,28.58641975308642,28.16981132075471,26.975308641975303,24.775000000000013,25.443262411347522,25.264492753623195,23.390000000000004,24.101063829787247,22.887254901960787,22.859375,22.28365384615386,22.60714285714286,22.108490566037734,22.558823529411764,22.17610062893081,21.80660377358491,22.392156862745104,22.14423076923077,22.043269230769226,21.177272727272733,21.39150943396227,21.273584905660385,20.796296296296298,20.87735849056604,20.72169811320755,20.010416666666664,20.453703703703702,21.343137254901965,21.06372549019609,20.115740740740748,20.589622641509433,21.20500000000001,19.41666666666666,18.94183673469387,19.030434782608687,18.331999999999987,18.244000000000003,18.023999999999987],"stack":"a"},{"id":"numberOfNodes","type":"line","label":"# of positions","yAxisID":"nodes","fill":false,"backgroundColor":"grey","borderColor":"grey","data":[2041,1118,799,624,504,413,364,314,287,257,238,225,214,197,179,168,160,155,147,144,136,132,125,119,111,107,103,97,96,95,94,91,90,88,85,85,83,76,73,71],"stack":"a"},{"label":"Dataset: Simplify.js example (73.752 points)","data":[]},{"label":"High quality mode: true","data":[]},{"label":"Platform: Firefox 68.0 on Windows 10 64-bit","data":[]}],"labels":[0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8,0.85,0.9,0.95,1,1.05,1.1,1.15,1.2,1.25,1.3,1.35,1.4,1.45,1.5,1.55,1.6,1.65,1.7,1.75,1.8,1.85,1.9,1.95,2]},"options":{"defaultColor":"rgba(0,0,0,0.1)","defaultFontColor":"#666","defaultFontFamily":"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif","defaultFontSize":12,"defaultFontStyle":"normal","defaultLineHeight":1.2,"showLines":true,"animation":{"duration":0,"easing":"easeOutQuart"},"elements":{"arc":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"#fff","borderWidth":2,"borderAlign":"center"},"line":{"tension":0.4,"backgroundColor":"rgba(0,0,0,0.1)","borderWidth":3,"borderColor":"rgba(0,0,0,0.1)","borderCapStyle":"butt","borderDash":[],"borderDashOffset":0,"borderJoinStyle":"miter","capBezierPoints":true,"fill":true},"point":{"radius":3,"pointStyle":"circle","backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderWidth":1,"hitRadius":1,"hoverRadius":4,"hoverBorderWidth":1},"rectangle":{"backgroundColor":"rgba(0,0,0,0.1)","borderColor":"rgba(0,0,0,0.1)","borderSkipped":"bottom","borderWidth":0}},"layout":{"padding":{"top":0,"right":0,"bottom":0,"left":0}},"plugins":{"filler":{"propagate":true}},"tooltips":{"enabled":true,"custom":null,"mode":"index","position":"average","intersect":false,"backgroundColor":"rgba(0,0,0,0.8)","titleFontStyle":"bold","titleSpacing":2,"titleMarginBottom":6,"titleFontColor":"#fff","titleAlign":"left","bodySpacing":2,"bodyFontColor":"#fff","bodyAlign":"left","footerFontStyle":"bold","footerSpacing":2,"footerMarginTop":6,"footerFontColor":"#fff","footerAlign":"left","yPadding":6,"xPadding":6,"caretPadding":2,"caretSize":5,"cornerRadius":6,"multiKeyBackground":"#fff","displayColors":true,"borderColor":"rgba(0,0,0,0)","borderWidth":0,"callbacks":{},"axis":"x"},"events":["mousemove","mouseout","click","touchstart","touchmove"],"hover":{"onHover":null,"mode":"nearest","intersect":false,"animationDuration":400,"axis":"xy"},"onClick":null,"maintainAspectRatio":true,"responsive":true,"responsiveAnimationDuration":0,"legend":{"display":true,"position":"bottom","fullWidth":true,"reverse":false,"weight":1000,"onHover":null,"onLeave":null,"labels":{"boxWidth":40,"padding":10}},"title":{"display":true,"fontStyle":"bold","fullWidth":true,"padding":10,"position":"top","text":"Simplify.wasm vs. Simplify.js","weight":2000},"spanGaps":false,"scales":{"xAxes":[{"display":true,"position":"bottom","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Tolerance (length)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0}},"type":"category","id":"x-axis-0","stacked":false}],"yAxes":[{"display":true,"position":"left","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":true,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Performance - Milliseconds per operation (ms)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"type":"linear","id":"performance","stacked":false},{"display":true,"position":"right","offset":false,"gridLines":{"display":true,"color":"rgba(0, 0, 0, 0.1)","lineWidth":1,"drawBorder":true,"drawOnChartArea":false,"drawTicks":true,"tickMarkLength":10,"zeroLineWidth":1,"zeroLineColor":"rgba(0,0,0,0.25)","zeroLineBorderDash":[],"zeroLineBorderDashOffset":0,"offsetGridLines":false,"borderDash":[],"borderDashOffset":0},"scaleLabel":{"display":true,"labelString":"Number of positions in result (#)","padding":{"top":4,"bottom":4},"fontStyle":"bold"},"ticks":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"minor":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"major":{"beginAtZero":false,"minRotation":0,"maxRotation":50,"mirror":false,"padding":0,"reverse":false,"display":true,"autoSkip":true,"autoSkipPadding":0,"labelOffset":0,"min":0},"min":0},"id":"nodes","type":"linear"}]}}} \ No newline at end of file diff --git a/thesis/results-benchmark/win_ffox_simplify_vs_true.png b/thesis/results-benchmark/win_ffox_simplify_vs_true.png new file mode 100644 index 0000000..cae325e Binary files /dev/null and b/thesis/results-benchmark/win_ffox_simplify_vs_true.png differ diff --git a/thesis/results-benchmark/win_ffox_simplify_vs_true.tex b/thesis/results-benchmark/win_ffox_simplify_vs_true.tex new file mode 100644 index 0000000..9e7a7f8 --- /dev/null +++ b/thesis/results-benchmark/win_ffox_simplify_vs_true.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_ffox_simplify_vs_true.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Firefox browser on dataset "Simplify.js example" with high Quality mode.} + \label{fig:win_ffox_simplify_vs_true} +\end{figure} diff --git a/win_chro_simplify_vs_false.tex b/win_chro_simplify_vs_false.tex new file mode 100644 index 0000000..89a44be --- /dev/null +++ b/win_chro_simplify_vs_false.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_chro_simplify_vs_false.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Chrome browser on dataset "Simplify.js example" without high Quality mode.} + \label{fig:win_chro_simplify_vs_false} +\end{figure} diff --git a/win_chro_simplify_vs_true.tex b/win_chro_simplify_vs_true.tex new file mode 100644 index 0000000..3717a71 --- /dev/null +++ b/win_chro_simplify_vs_true.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_chro_simplify_vs_true.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Chrome browser on dataset "Simplify.js example" with high Quality mode.} + \label{fig:win_chro_simplify_vs_true} +\end{figure} diff --git a/win_edge_simplify_stack_false.tex b/win_edge_simplify_stack_false.tex new file mode 100644 index 0000000..92eeb16 --- /dev/null +++ b/win_edge_simplify_stack_false.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_edge_simplify_stack_false.png} + \caption{Simplify.wasm runtime analysis benchmark result of Windows device with Edge browser on dataset "Simplify.js example" without high Quality mode.} + \label{fig:win_edge_simplify_stack_false} +\end{figure} diff --git a/win_edge_simplify_vs_false.tex b/win_edge_simplify_vs_false.tex new file mode 100644 index 0000000..91fdfb6 --- /dev/null +++ b/win_edge_simplify_vs_false.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_edge_simplify_vs_false.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Edge browser on dataset "Simplify.js example" without high Quality mode.} + \label{fig:win_edge_simplify_vs_false} +\end{figure} diff --git a/win_ffox_simplify_vs_false.tex b/win_ffox_simplify_vs_false.tex new file mode 100644 index 0000000..b384848 --- /dev/null +++ b/win_ffox_simplify_vs_false.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_ffox_simplify_vs_false.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Firefox browser on dataset "Simplify.js example" without high Quality mode.} + \label{fig:win_ffox_simplify_vs_false} +\end{figure} diff --git a/win_ffox_simplify_vs_true.tex b/win_ffox_simplify_vs_true.tex new file mode 100644 index 0000000..9e7a7f8 --- /dev/null +++ b/win_ffox_simplify_vs_true.tex @@ -0,0 +1,7 @@ + +\begin{figure}[!htb] + \centering + \includegraphics[width=.75\linewidth]{./results-benchmark/win_ffox_simplify_vs_true.png} + \caption{Simplify.wasm vs. Simplify.js benchmark result of Windows device with Firefox browser on dataset "Simplify.js example" with high Quality mode.} + \label{fig:win_ffox_simplify_vs_true} +\end{figure}