Skip to content

Commit

Permalink
ci: test for zig 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Nov 4, 2022
1 parent 7f82c95 commit 0731e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/zig.yaml
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install ziglang
uses: goto-bus-stop/setup-zig@v1
with:
version: 0.9.1
version: 0.10.0
- name: Cache NPM dependencies
uses: actions/cache@v3
with:
Expand Down

1 comment on commit 0731e00

@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: 0731e00 Previous: 7f82c95 Ratio
noop#napi-rs 45475943 ops/sec (±1.46%) 54565754 ops/sec (±0.13%) 1.20
noop#JavaScript 691758876 ops/sec (±0.83%) 713125324 ops/sec (±0.13%) 1.03
Plus number#napi-rs 16757891 ops/sec (±1.36%) 18792797 ops/sec (±0.77%) 1.12
Plus number#JavaScript 688194907 ops/sec (±0.94%) 710358283 ops/sec (±0.18%) 1.03
Create buffer#napi-rs 362308 ops/sec (±9.17%) 379999 ops/sec (±9.6%) 1.05
Create buffer#JavaScript 1804082 ops/sec (±2.61%) 1916926 ops/sec (±4.88%) 1.06
createArray#createArrayJson 35603 ops/sec (±0.94%) 39501 ops/sec (±0.11%) 1.11
createArray#create array for loop 6276 ops/sec (±0.85%) 6947 ops/sec (±2.09%) 1.11
createArray#create array with serde trait 6307 ops/sec (±0.8%) 7410 ops/sec (±0.11%) 1.17
getArrayFromJs#get array from json string 15211 ops/sec (±0.98%) 17002 ops/sec (±0.12%) 1.12
getArrayFromJs#get array from serde 8513 ops/sec (±0.66%) 10247 ops/sec (±0.15%) 1.20
getArrayFromJs#get array with for loop 10858 ops/sec (±0.97%) 12264 ops/sec (±0.03%) 1.13
Get Set property#Get Set from native#u32 343539 ops/sec (±5.42%) 390009 ops/sec (±6.09%) 1.14
Get Set property#Get Set from JavaScript#u32 291755 ops/sec (±5.32%) 342237 ops/sec (±5.78%) 1.17
Get Set property#Get Set from native#string 321348 ops/sec (±5.47%) 356025 ops/sec (±5.82%) 1.11
Get Set property#Get Set from JavaScript#string 279362 ops/sec (±5.41%) 327492 ops/sec (±6.26%) 1.17
Async task#spawn task 34543 ops/sec (±4.13%) 35610 ops/sec (±0.81%) 1.03
Async task#ThreadSafeFunction 2023 ops/sec (±2.88%) 1553 ops/sec (±16.69%) 0.77
Async task#Tokio future to Promise 26742 ops/sec (±3.5%) 29071 ops/sec (±4.34%) 1.09
Query#query * 100 1756 ops/sec (±4.17%) 1926 ops/sec (±8.06%) 1.10
Query#query * 1 24920 ops/sec (±4.08%) 30883 ops/sec (±0.62%) 1.24

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

Please sign in to comment.