Skip to content

Commit

Permalink
YAS updated to 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
niXman committed Dec 16, 2017
1 parent 5c20b33 commit 4ed2bdb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ set(yas_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/yas)
ExternalProject_Add(
yas
PREFIX ${yas_PREFIX}
URL "https://github.com/niXman/yas/archive/5.0.zip"
URL_MD5 "1acaef7cb8ab4178453dfa67a0112ea8"
URL "https://github.com/niXman/yas/archive/6.0.2.zip"
URL_MD5 "ed1c63a6a6bb2db2ad7f8547192d79a7"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND mkdir -p ${yas_PREFIX}/include/ && cp -r ${yas_PREFIX}/src/yas/include/yas ${yas_PREFIX}/include/
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ on a typical desktop computer with Intel Core i5 processor running Ubuntu 14.04.
* avro 1.8.2
* capnproto 0.6.1
* flatbuffers 1.7.1
* YAS 5.0.0
* YAS 6.0.2

| serializer | object's size | avg. total time |
| -------------- | ------------- | --------------- |
Expand All @@ -63,8 +63,8 @@ on a typical desktop computer with Intel Core i5 processor running Ubuntu 14.04.
| msgpack | 13402 | 33815 |
| cereal | 17416 | 11031 |
| avro | 16384 | 44187 |
| yas | 17416 | 3223 |
| yas-compact | 13553 | 21481 |
| yas | 17416 | 3152 |
| yas-compact | 13321 | 24878 |

###### Size

Expand Down
6 changes: 3 additions & 3 deletions images/graphs.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ size <- c(
,17768 # capnproto
,17632 # flatbuffers
,17416 # yas
,13553 # yas-compact
,13321 # yas-compact
)
# 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
time <- c(
Expand All @@ -27,8 +27,8 @@ time <- c(
,33815 # msgpack
,11031 # cereal
,44187 # avro
,3223 # yas
,21481 # yas-compact
,3152 # yas
,24878 # yas-compact
)
time2 <- c(
4849 # capnproto
Expand Down
Binary file modified images/size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ed2bdb

Please sign in to comment.