forked from AltSchool/dynamic-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenchmarks.html
More file actions
122 lines (118 loc) · 5.08 KB
/
benchmarks.html
File metadata and controls
122 lines (118 loc) · 5.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<head>
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
</head>
<script>
$(function () {
var Cubic_chart = new Highcharts.Chart({
chart: {
renderTo: 'Cubic',
type: 'line',
},
title: {
text: 'Cubic',
x: -20 //center
},
xAxis: {
title: {
text: '# of records'
}
},
yAxis: {
title: {
text: 'Response time (seconds)'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
borderWidth: 0
},
series: [{"name": "DREST 2.3.2", "data": [[3, 0.0030085], [14, 0.003375], [39, 0.0030005], [84, 0.0040055], [155, 0.00511], [258, 0.006], [399, 0.007497], [584, 0.010022], [819, 0.011992], [1110, 0.015133], [1463, 0.0179995], [1884, 0.022081], [2379, 0.026531], [2954, 0.033224000000000004], [3615, 0.037954], [4368, 0.0454325]]}, {"name": "DRF 3.14.0", "data": [[3, 0.001265], [14, 0.0020020000000000003], [39, 0.003999], [84, 0.0050385], [155, 0.008004], [258, 0.011002999999999999], [399, 0.0150025], [584, 0.0194905], [819, 0.023694], [1110, 0.030542], [1463, 0.036945], [1884, 0.0447635], [2379, 0.0521185], [2954, 0.061928], [3615, 0.072542], [4368, 0.0834965]]}]
});
});
</script>
<div id="Cubic" style="width:100%"></div>
<br/>
<script>
$(function () {
var Linear_chart = new Highcharts.Chart({
chart: {
renderTo: 'Linear',
type: 'line',
},
title: {
text: 'Linear',
x: -20 //center
},
xAxis: {
title: {
text: '# of records'
}
},
yAxis: {
title: {
text: 'Response time (seconds)'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
borderWidth: 0
},
series: [{"name": "DREST 2.3.2", "data": [[256, 0.002999], [512, 0.005], [768, 0.006944499999999999], [1024, 0.009], [1280, 0.010038], [1536, 0.0130005], [1792, 0.014165], [2048, 0.016439], [2304, 0.018273499999999998], [2560, 0.020115], [2816, 0.0222655], [3072, 0.024291], [3328, 0.027044], [3584, 0.028179], [3840, 0.029852499999999997], [4096, 0.032271499999999995]]}, {"name": "DRF 3.14.0", "data": [[256, 0.0502495], [512, 0.1008995], [768, 0.151678], [1024, 0.2022925], [1280, 0.2504225], [1536, 0.300515], [1792, 0.34819849999999997], [2048, 0.40049250000000003], [2304, 0.448616], [2560, 0.502032], [2816, 0.550988], [3072, 0.6014265000000001], [3328, 0.6494635], [3584, 0.6981525], [3840, 0.750043], [4096, 0.798552]]}]
});
});
</script>
<div id="Linear" style="width:100%"></div>
<br/>
<script>
$(function () {
var Quadratic_chart = new Highcharts.Chart({
chart: {
renderTo: 'Quadratic',
type: 'line',
},
title: {
text: 'Quadratic',
x: -20 //center
},
xAxis: {
title: {
text: '# of records'
}
},
yAxis: {
title: {
text: 'Response time (seconds)'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
borderWidth: 0
},
series: [{"name": "DREST 2.3.2", "data": [[20, 0.0029909999999999997], [72, 0.0030020000000000003], [156, 0.0032975], [272, 0.0049995000000000005], [420, 0.0059995], [600, 0.007981499999999999], [812, 0.009933500000000001], [1056, 0.012049500000000001], [1332, 0.013996], [1640, 0.016935], [1980, 0.0193355], [2352, 0.023002500000000002], [2756, 0.0259575], [3192, 0.029066], [3660, 0.0348515], [4160, 0.037692500000000004]]}, {"name": "DRF 3.14.0", "data": [[20, 0.001999], [72, 0.003001], [156, 0.004061], [272, 0.006054], [420, 0.008003], [600, 0.009007000000000001], [812, 0.0120035], [1056, 0.014584], [1332, 0.017082], [1640, 0.019515499999999998], [1980, 0.022461000000000002], [2352, 0.025667500000000003], [2756, 0.02902], [3192, 0.0330005], [3660, 0.0360005], [4160, 0.040278]]}]
});
});
</script>
<div id="Quadratic" style="width:100%"></div>
<br/>