2 lines
8.6 KiB
JSON
2 lines
8.6 KiB
JSON
{"type":"line","data":{"datasets":[{"id":"simplifyWASM","label":"Simplify.wasm","yAxisID":"performance","fill":false,"backgroundColor":"red","borderColor":"red","stack":"a","data":[23.240000000000002,22.56499999999999,21.615384615384613,22.215000000000007,22.385000000000005,22.315,22.770833333333332,22.235000000000007,22.185000000000006,21.813725490196088,21.700980392156865,21.671568627450988,21.55769230769231,21.365384615384613,21.042452830188683,20.92924528301888,20.820754716981146,20.569444444444443,20.388888888888882,20.29716981132075,20.163636363636368,20.06363636363637,19.713636363636354,19.63392857142857,19.316964285714278,19.1798245614035,19.587719298245613,18.821000000000005,18.730208333333337,18.74081632653061,18.729591836734688,18.591836734693864,18.538775510204072,18.419999999999987,18.27999999999999,18.27199999999999,18.176,17.92400000000001,17.95600000000001,17.92400000000001]},{"id":"simplifyJS","label":"Simplify.js","yAxisID":"performance","fill":false,"backgroundColor":"blue","borderColor":"blue","stack":"a","data":[61.04878048780488,56.75000000000002,54.363636363636395,54.64772727272727,54.443181818181834,54.53488372093024,54.78750000000003,55.76190476190477,53.433333333333344,52.18888888888892,51.25555555555556,51,51.9891304347826,52.670212765957466,48.86170212765956,48.44791666666667,48.13541666666668,47.31250000000001,47,46.591836734693864,46.295918367346935,45.98,46.26595744680851,44.50000000000001,43.598039215686285,43.26923076923075,43.70454545454544,42.19811320754717,42.09615384615385,41.89622641509435,41.8867924528302,41.35849056603776,41.28301886792454,41.12037037037037,40.638888888888886,40.57407407407407,40.250000000000014,39.55454545454549,39.169642857142854,39.48148148148151]},{"id":"simplifyJSAlt","label":"Simplify.js Alternative","yAxisID":"performance","fill":false,"backgroundColor":"green","borderColor":"green","stack":"a","data":[63.537499999999994,57.40476190476192,57.04761904761906,56.404761904761926,55.9166666666667,55.4883720930233,56.546511627907,54.56818181818182,56.693181818181856,54.04545454545453,52.111111111111136,51.84444444444447,52.21111111111114,50.739130434782616,49.80851063829792,49.21276595744682,48.63829787234043,48.297872340425556,47.750000000000014,47.29166666666668,47.14285714285715,46.244897959183675,45.5425531914894,45.25000000000001,44.421568627451,43.69607843137256,44.28846153846157,44.1826923076923,42.74999999999999,42.8076923076923,42.730769230769226,42.311320754716974,42.23584905660377,41.783018867924554,41.45283018867927,41.370370370370374,41.101851851851855,40.20000000000002,40.0909090909091,42.69000000000001]},{"id":"numberOfNodes","type":"line","label":"# of positions","yAxisID":"nodes","fill":false,"backgroundColor":"grey","borderColor":"grey","stack":"a","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]},{"label":"Dataset: Simplify.js example (73.752 points)","data":[]},{"label":"High quality mode: true","data":[]},{"label":"Platform: Firefox for iOS 18.2β15817 (like Safari 8+) on Apple iPad (iOS 12.4)","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":{}},"events":["mousemove","mouseout","click","touchstart","touchmove"],"hover":{"onHover":null,"mode":"nearest","intersect":false,"animationDuration":400},"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"}]}}}
|