SBE Performance: TBD
SBE IR Schema
1. Missing some fields
Example: Model enum was missing values (Only Model.C generated) when using to codege with SBE Tool
SBE JsonPrinter
1. Very Fast, almost 5 times faster than Circe
(although Circe first decods to types and then encodes to Json)
2. Does not print a valid JSON
Example:
WRONG: "fuel": Petrol
CORRECT: "fuel": "Petrol"
2. Does not print all fields
(Observed omitted fields are enums and booleans)
Example:
OMITTED FIELDS:
availabe (bool)
code (enum)
boosterEnabled (bool)
boostType (enum)
discountedModel (enum constant)
extras (enum)
3. Rounds up numbers
Example:
REAL VALUE: "mpg" : 35.900001525878906
ROUNDED VALUE: "mpg" : 35.9
Example 2:
REAL VALUE: "seconds" : 12.199999809265137
ROUNDED VALUE: "seconds" : 12.2
-
Notifications
You must be signed in to change notification settings - Fork 0
aksharp/sbe-poc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
POC of SBE using Scala and performance comparison of IR to JSON via SBE and Circe
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published