-
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.
- Loading branch information
Showing
6 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -587,11 +587,11 @@ Besides the individual bundle size, the overall size of the library is also sign | |
|
||
At the same time **rescript-struct** is the fastest composable validation library in the entire JavaScript ecosystem. This is achieved because of the JIT approach when an ultra optimized validator is created using `eval`. | ||
|
||
| | [email protected] (unreleased) | [email protected] | [email protected] | | ||
| ---------------------------------------- | ---------------------------------- | --------------- | -------------- | | ||
| **Total size** (minified + gzipped) | 9.68 kB | 13.4 kB | 6.73 kB | | ||
| **Example size** (minified + gzipped) | 5.92 kB | 12.8 kB | 965 B | | ||
| **Performance** (Example parsing) | 1,030,417 ops/ms | 376 ops/ms | 24,034 ops/ms | | ||
| **Eval-free** | ❌ | ✅ | ✅ | | ||
| **Codegen-free** (Doesn't need compiler) | ✅ | ✅ | ✅ | | ||
| **Ecosystem** | ⭐️ | ⭐️⭐️⭐️⭐️⭐️ | ⭐️⭐️ | | ||
| | [email protected] | [email protected] | [email protected] | | ||
| ---------------------------------------- | --------------------- | --------------- | -------------- | | ||
| **Total size** (minified + gzipped) | 9.67 kB | 13.4 kB | 6.73 kB | | ||
| **Example size** (minified + gzipped) | 5.53 kB | 12.8 kB | 965 B | | ||
| **Performance** (Example parsing) | 1,030,417 ops/ms | 407 ops/ms | 24,034 ops/ms | | ||
| **Eval-free** | ❌ | ✅ | ✅ | | ||
| **Codegen-free** (Doesn't need compiler) | ✅ | ✅ | ✅ | | ||
| **Ecosystem** | ⭐️ | ⭐️⭐️⭐️⭐️⭐️ | ⭐️⭐️ | |
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
cf689c7
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
587962295
ops/sec (±0.34%
)706149725
ops/sec (±0.41%
)1.20
Serialize string
586665518
ops/sec (±0.28%
)693539015
ops/sec (±2.10%
)1.18
Advanced object struct factory
302290
ops/sec (±0.61%
)286556
ops/sec (±0.58%
)0.95
Parse advanced object
34312934
ops/sec (±0.38%
)22341504
ops/sec (±0.24%
)0.65
Create and parse advanced object
24894
ops/sec (±0.54%
)58042
ops/sec (±1.08%
)2.33
Parse advanced strict object
15662037
ops/sec (±0.27%
)13141235
ops/sec (±0.73%
)0.84
Serialize advanced object
575867950
ops/sec (±0.25%
)32617508
ops/sec (±0.33%
)0.056640603110487395
This comment was automatically generated by workflow using github-action-benchmark.
cf689c7
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.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.50
.Create and parse advanced object
24894
ops/sec (±0.54%
)58042
ops/sec (±1.08%
)2.33
This comment was automatically generated by workflow using github-action-benchmark.