Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DZakh committed Oct 10, 2023
1 parent b4a4c18 commit e12d7c4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"ava": "5.2.0",
"benchmark": "2.1.4",
"c8": "7.12.0",
"rescript": "11.0.0-rc.3",
"rescript": "11.0.0-rc.4",
"rescript-stdlib-vendorer": "1.0.0",
"rescript-struct": ".",
"ts-expect": "1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/prepack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@dzakh/rescript-core": "0.2.0",
"@rollup/plugin-replace": "5.0.2",
"execa": "7.1.1",
"rescript": "11.0.0-rc.3",
"rescript": "11.0.0-rc.4",
"rescript-nodejs": "15.0.0",
"rescript-stdlib-vendorer": "1.0.0",
"rollup": "3.21.0"
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/S_Core.bs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ function toLiteral(struct) {

function isAsyncParse(struct) {
var v = struct.i;
if (v !== 0) {
if (typeof v === "boolean") {
return v;
}
try {
Expand Down

2 comments on commit e12d7c4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: e12d7c4 Previous: 80ac4f1 Ratio
Parse string 593822767 ops/sec (±0.26%) 706149725 ops/sec (±0.41%) 1.19
Serialize string 593656737 ops/sec (±0.22%) 693539015 ops/sec (±2.10%) 1.17
Advanced object struct factory 229587 ops/sec (±0.85%) 286556 ops/sec (±0.58%) 1.25
Parse advanced object 19261554 ops/sec (±0.54%) 22341504 ops/sec (±0.24%) 1.16
Create and parse advanced object 21515 ops/sec (±0.75%) 58042 ops/sec (±1.08%) 2.70
Parse advanced strict object 9928979 ops/sec (±0.65%) 13141235 ops/sec (±0.73%) 1.32
Serialize advanced object 577324855 ops/sec (±0.26%) 32617508 ops/sec (±0.33%) 0.05649766802435693

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: e12d7c4 Previous: 80ac4f1 Ratio
Create and parse advanced object 21515 ops/sec (±0.75%) 58042 ops/sec (±1.08%) 2.70

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.