-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve serializing by using experimental reverse schema under the ho…
…od (#89) * Change rawTagged field alias * Add S.reverse function - wip, always returns self for now * Rename internal functions * Use makePrimitiveSchema helper * Fix multiple reverse call * Correct reverse for null * Reverse schema for option and test improvements * Reverse child schema for dict and array schema * Support reverse for S.jsonString * Support reverse schema for transform * Add reverse support for object/tuple * Add reverse support for variant * Support reverse schema almost for everything * Rename rawTagged to tagged * User reversed schema for serializing * Remove serialize builder * Rename internal functions * Improve option serializing * Fix lint * Serialize union by type * Prepare repo for a release * Improve serializing of option schemas * Fix tests * Improve test coverage and remove dead code * Update documentation
- Loading branch information
Showing
46 changed files
with
2,884 additions
and
2,056 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
9fde7c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Parse string
818507445
ops/sec (±0.14%
)815414023
ops/sec (±0.49%
)1.00
Serialize string
819767154
ops/sec (±0.07%
)817783951
ops/sec (±0.11%
)1.00
Advanced object schema factory
475041
ops/sec (±0.73%
)483577
ops/sec (±0.73%
)1.02
Parse advanced object
57280049
ops/sec (±0.31%
)57257765
ops/sec (±0.43%
)1.00
Assert advanced object
173343548
ops/sec (±0.18%
)173214107
ops/sec (±0.13%
)1.00
Create and parse advanced object
94089
ops/sec (±1.15%
)94633
ops/sec (±0.16%
)1.01
Parse advanced strict object
25323138
ops/sec (±0.51%
)25373330
ops/sec (±0.31%
)1.00
Assert advanced strict object
30935350
ops/sec (±0.37%
)30917166
ops/sec (±0.16%
)1.00
Serialize advanced object
63300565
ops/sec (±3.85%
)76333117
ops/sec (±0.06%
)1.21
This comment was automatically generated by workflow using github-action-benchmark.