You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,13 @@ For those in a hurry, feel free to only read the Abstract and Conclusion section
12
12
13
13
The following JavaScript serialization libraries and versions are compared with regards to performance, compression size and ease of use:
14
14
15
-
*`protobufjs` "6.10.1"
16
-
*`bson` "4.0.4"
17
-
*`pbf` "3.2.1"
18
-
*`google-protobuf` "4.0.0-rc.1"
19
-
*`avsc` "5.4.21"
20
-
*`protons` "1.2.1"
21
-
*`js-binary` "1.2.0"
15
+
*`protobufjs "6.10.1"`
16
+
*`bson "4.0.4"`
17
+
*`pbf "3.2.1"`
18
+
*`google-protobuf "4.0.0-rc.1"`
19
+
*`avsc "5.4.21"`
20
+
*`protons "1.2.1"`
21
+
*`js-binary "1.2.0"`
22
22
23
23
During encoding, `avsc` performed the fastest at 10 times faster than native JSON at most payload sizes, followed by `js-binary`, `protons` at 2 times faster. `protobufjs` and `bson` performed the slowest at about 3 times slower than native JSON.
24
24
@@ -84,14 +84,14 @@ Feel free to inspect my implementations in `src/benchmarks.ts`, and let me know
84
84
85
85
The following libraries and versions are tested (sorted by weekly downloads):
0 commit comments