remove capnp protocol for plugin... (#6421)

* remove capnp protocol for plugin...

* remove relative doc
This commit is contained in:
WindSoilder
2022-09-01 06:33:30 +08:00
committed by GitHub
parent c52d45cb97
commit 3ec53e544c
17 changed files with 6 additions and 1999 deletions

View File

@ -29,7 +29,7 @@ fn bench_encoding(c: &mut Criterion) {
(10000, 15),
];
for (row_cnt, col_cnt) in test_cnt_pairs.into_iter() {
for fmt in ["capnp", "json", "msgpack"] {
for fmt in ["json", "msgpack"] {
group.bench_function(&format!("{fmt} encode {row_cnt} * {col_cnt}"), |b| {
let mut res = vec![];
let test_data = PluginResponse::Value(Box::new(new_test_data(row_cnt, col_cnt)));
@ -55,7 +55,7 @@ fn bench_decoding(c: &mut Criterion) {
(10000, 15),
];
for (row_cnt, col_cnt) in test_cnt_pairs.into_iter() {
for fmt in ["capnp", "json", "msgpack"] {
for fmt in ["json", "msgpack"] {
group.bench_function(&format!("{fmt} decode for {row_cnt} * {col_cnt}"), |b| {
let mut res = vec![];
let test_data = PluginResponse::Value(Box::new(new_test_data(row_cnt, col_cnt)));