{"type":"line","data":{"datasets":[{"id":"simplifyWASM","label":"Simplify.wasm","yAxisID":"performance","fill":false,"backgroundColor":"red","borderColor":"red","data":[2.485539488320357,1.743301435406699,1.4887267904509287,1.3428216639602637,1.2349333333333332,1.181697612732096,1.1222185219944902,1.0647290173791277,1.039770114942529,1.009655172413793,1.001760950913494,1.0033156498673745,0.9851127320954901,0.9683667678337899,0.9763422464584655,1.004769163763067,0.9685123784261708,0.9706401322254987,0.9581896551724131,0.9487015751383561,0.9280737704918033,0.9364754098360655,0.9326450117199324,0.935660218671153,0.928938199156429,0.9255914175683119,0.923640401817553,0.9250821018062408,0.9194017449106774,0.9210635646032408,0.9157614003455788,0.9335044929396662,0.9164614121510679,0.9143421985154239,0.9107830551989728,0.8959016393442623,0.9103077227526839,0.8956199719941791,0.8715614103060829,0.8733824815921856],"stack":"a"},{"id":"simplifyJS","label":"Simplify.js","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","data":[2.654733542319749,1.7019872472578297,1.261164499717354,1.0560919540229887,0.9190072985440211,0.8212154608365851,0.7526777989865561,0.6940438871473347,0.6595799180327869,0.6273947693135538,0.6032640026883447,0.599572306869821,0.5709791089856533,0.5498791972105538,0.5310967668874923,0.5318595228994036,0.5207209458609773,0.5066219470244241,0.49659565121897625,0.5049566785415842,0.4765474405654311,0.46634451594264553,0.48046448087431687,0.4505635245901638,0.44891651643729236,0.4598314613566181,0.46940706476030314,0.4611338797814207,0.4638661202185792,0.4673394780695113,0.4543970618241174,0.4483766888485584,0.44807420850978047,0.4456844369443476,0.45361968138737657,0.45039322444041163,0.4339989129756846,0.42756694278559015,0.41925758432259297,0.41554490134611854],"stack":"a"},{"id":"simplifyJSAlt","label":"Simplify.js Alternative","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","data":[7.388888888888883,4.555211558307535,3.364317841079461,2.740430622009569,2.3954741379310347,2.1384335154826943,1.9513704686118472,1.8119868637110021,1.7143333333333333,1.6309204440333014,1.5627906976744188,1.5178190574475403,1.4548484848484846,1.4217752234993613,1.3747424988804302,1.3659259259259262,1.325866666666667,1.3087999999999997,1.2672413793103443,1.2533333333333336,1.2325333333333335,1.2218666666666664,1.223453620357778,1.1906666666666665,1.1706666666666667,1.1714666666666664,1.1569737519300038,1.147016904865591,1.1375166249478885,1.1289655172413795,1.121149425287357,1.1185964912280708,1.111034482758621,1.1045977011494252,1.0853825136612023,1.0949425287356325,1.0903940886699506,1.0981058766391443,1.0811246791091367,1.0777881945958507],"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"}]}}}