You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/11/17 22:43:35 UTC
[GitHub] [incubator-shardingsphere-benchmark] wqzwh commented on issue #24:
add serial number for data result
wqzwh commented on issue #24: add serial number for data result
URL: https://github.com/apache/incubator-shardingsphere-benchmark/issues/24#issuecomment-554796119
@nancyzrh
Take the following data as an example, three types of data data in select ensure that the length is consistent, and that the number of times corresponding to the subscript of the data array is null filled for no current number of times.
For example, the length of the following three types of data: MySQL, sharding proxy, and sharding JDBC is 2, but the second time MySQL does not have pressure test data, it needs to supplement null
```js
{
SELECT: [
{
data: [
{
'99.9th': '1909',
Err: '0.0%',
'95th': '1668',
'50th': '1420',
Max: '1909',
Min: '1147',
Throughout: '13.95',
Samples: 999,
Date: '2019.11.15 13:37:09 ',
Avg: '1432'
},
{
'99.9th': null,
Err: null,
'95th': null,
'50th': null,
Max: null,
Min: null,
Throughout: null,
Samples: null,
Date: null,
Avg: null
}
],
type: 'MySQL'
},
{
data: [
{
'99.9th': '493',
Err: '0.0%',
'95th': '352',
'50th': '311',
Max: '576',
Min: '163',
Throughout: '68.22',
Samples: 9999,
Date: '2019.11.15 13:23:55 ',
Avg: '293'
},
{
'99.9th': '493',
Err: '0.0%',
'95th': '352',
'50th': '311',
Max: '576',
Min: '163',
Throughout: '68.22',
Samples: 9999,
Date: '2019.11.15 13:23:55 ',
Avg: '293'
}
],
type: 'Sharding-Proxy'
},
{
data: [
{
'99.9th': '472',
Err: '0.0%',
'95th': '318',
'50th': '308',
Max: '581',
Min: '160',
Throughout: '70.79',
Samples: 9999,
Date: '2019.11.15 13:23:55 ',
Avg: '282'
},
{
'99.9th': '493',
Err: '0.0%',
'95th': '352',
'50th': '311',
Max: '576',
Min: '163',
Throughout: '68.22',
Samples: 9999,
Date: '2019.11.15 13:23:55 ',
Avg: '293'
}
],
type: 'Sharding-JDBC'
}
],
DESC: {
SELECT: {
ComparativeType: 'SELECT',
SqlExample: 'SELECT max(id) from t_test where id%4=1'
},
tableNumber: 'single table(e.g:t_test)',
sceneDescription:
'This is a Sharding model.We used id, k, c, pad fields in the table.',
mysqlVerison: '5.1.42'
}
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services