update benchmark result

This commit is contained in:
c9s 2015-11-10 19:35:09 +08:00
parent 659dc19b1b
commit 0d9fbdbff7
2 changed files with 11 additions and 0 deletions

View file

@ -11,6 +11,8 @@
<script> <script>
$.get('bench_str.csv', function(data) { $.get('bench_str.csv', function(data) {
var options = { var options = {
chart: { chart: {
zoomType: 'x', zoomType: 'x',
@ -147,6 +149,11 @@
}; };
var lines = data.split(/\n/); var lines = data.split(/\n/);
// keep window size to 30 records
lines.splice(-30);
lines = lines.splice(lines.length - 30);
$(lines).each(function(i,line) { $(lines).each(function(i,line) {
var columns = line.split(/,/); var columns = line.split(/,/);
var a; var a;

View file

@ -614,3 +614,7 @@
1447154388,13619724.42,5891895.35,66576.25,2542931.44 1447154388,13619724.42,5891895.35,66576.25,2542931.44
1447154397,13274559.00,5736176.87,66576.25,2538733.05 1447154397,13274559.00,5736176.87,66576.25,2538733.05
1447154407,13445232.76,5381001.80,89240.51,2576233.33 1447154407,13445232.76,5381001.80,89240.51,2576233.33
1447155008,13277391.26,5722360.39,71089.90,2475000.02
1447155019,13581101.21,5484972.04,45100.04,2192286.64
1447155029,13116025.99,5830570.40,52428.80,2522486.73
1447155066,13645222.60,5724509.20,62601.55,2514659.99

Can't render this file because it has a wrong number of fields in line 447.