Skip to content

Commit 2e8c7f0

Browse files
committed
re-tested using ubuntu-14.04.3-x86_64 + gcc-4.8.5 & graphs regenerated
1 parent 3ad7d2b commit 2e8c7f0

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ on a typical desktop computer with Intel Core i5 processor running Ubuntu 14.04.
5656

5757
| serializer | object's size | avg. total time |
5858
| -------------- | ------------- | --------------- |
59-
| thrift-binary | 17017 | 22815 |
60-
| thrift-compact | 11597 | 26427 |
61-
| protobuf | 12571 | 21034 |
62-
| boost | 17470 | 22471 |
63-
| msgpack | 11902 | 25931 |
64-
| cereal | 17416 | 10304 |
65-
| avro | 12288 | 31658 |
66-
| yas | 17416 | 4044 |
67-
| yas-compact | 12830 | 21928 |
59+
| thrift-binary | 17017 | 13748 |
60+
| thrift-compact | 11597 | 25947 |
61+
| protobuf | 12571 | 24196 |
62+
| boost | 17470 | 21717 |
63+
| msgpack | 11902 | 29597 |
64+
| cereal | 17416 | 11121 |
65+
| avro | 12288 | 31880 |
66+
| yas | 17416 | 5113 |
67+
| yas-compact | 12830 | 21858 |
6868

6969
###### Size
7070

@@ -80,8 +80,8 @@ serialize/deserialize cycle of the already built data structure.
8080

8181
| serializer | object's size | avg. total time |
8282
| -------------- | ------------- | --------------- |
83-
| capnproto | 17768 | 4259 |
84-
| flatbuffers | 17632 | 12762 |
83+
| capnproto | 17768 | 4460 |
84+
| flatbuffers | 17632 | 12755 |
8585

8686
![Time](images/time2.png)
8787

images/graphs.R

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ size <- c(
2020
)
2121
# for t in thrift-binary thrift-compact protobuf boost msgpack cereal avro yas yas-compact; do rm -f /tmp/$t.time; echo -n "$t: "; for i in `seq 1 50`; do ./benchmark 1000000 $t | grep time | awk '{print $4}' >>/tmp/$t.time; done; awk '{ sum += $1 } END { print sum/50}' /tmp/$t.time; done
2222
time <- c(
23-
22815 # thrift-binary
24-
,26427 # thrift-compact
25-
,22471 # protobuf
26-
,12272 # boost
27-
,25931 # msgpack
28-
,10304 # cereal
29-
,31658 # avro
30-
,4044 # yas
31-
,21928 # yas-compact
23+
13748 # thrift-binary
24+
,25947 # thrift-compact
25+
,24196 # protobuf
26+
,21717 # boost
27+
,29597 # msgpack
28+
,11121 # cereal
29+
,31880 # avro
30+
,5113 # yas
31+
,21858 # yas-compact
3232
)
3333
time2 <- c(
34-
4259 # capnproto
35-
,12762 # flatbuffers
34+
4460 # capnproto
35+
,12755 # flatbuffers
3636
)
3737

3838
data.size <- as.data.frame(list(serializer = names.size, size = size))

images/time.png

-187 Bytes
Loading

images/time2.png

-92 Bytes
Loading

0 commit comments

Comments
 (0)