Skip to content

Commit

Permalink
ci: adjust check steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Jan 28, 2023
1 parent 18491fb commit cd904db
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/msrv.yml
Expand Up @@ -45,11 +45,17 @@ jobs:
- name: 'Build TypeScript'
run: yarn build

- name: Check build
- name: Check napi
uses: actions-rs/cargo@v1
with:
command: check
args: --all --bins --examples --tests -vvv
args: -p napi --all-features --tests

- name: Check published
uses: actions-rs/cargo@v1
with:
command: check
args: -p napi-derive -p napi-sys --all --tests

- name: Unit tests
run: |
Expand Down

1 comment on commit cd904db

@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: cd904db Previous: fde2d64 Ratio
noop#napi-rs 57029457 ops/sec (±1.38%) 64268786 ops/sec (±0.27%) 1.13
noop#JavaScript 633120465 ops/sec (±1.52%) 710252276 ops/sec (±0.1%) 1.12
Plus number#napi-rs 17592356 ops/sec (±2.17%) 19701768 ops/sec (±0.6%) 1.12
Plus number#JavaScript 678670083 ops/sec (±0.99%) 708450052 ops/sec (±0.14%) 1.04
Create buffer#napi-rs 371078 ops/sec (±9.13%) 365131 ops/sec (±10.52%) 0.98
Create buffer#JavaScript 1855715 ops/sec (±6%) 1769743 ops/sec (±6.98%) 0.95
createArray#createArrayJson 36319 ops/sec (±1.26%) 38725 ops/sec (±0.11%) 1.07
createArray#create array for loop 6877 ops/sec (±0.8%) 7410 ops/sec (±0.12%) 1.08
createArray#create array with serde trait 6487 ops/sec (±1.19%) 7427 ops/sec (±0.12%) 1.14
getArrayFromJs#get array from json string 16117 ops/sec (±0.81%) 16367 ops/sec (±0.27%) 1.02
getArrayFromJs#get array from serde 9678 ops/sec (±0.86%) 10023 ops/sec (±0.04%) 1.04
getArrayFromJs#get array with for loop 11368 ops/sec (±0.76%) 12256 ops/sec (±0.1%) 1.08
Get Set property#Get Set from native#u32 403079 ops/sec (±6.09%) 415294 ops/sec (±6.57%) 1.03
Get Set property#Get Set from JavaScript#u32 354164 ops/sec (±5.89%) 357080 ops/sec (±6.76%) 1.01
Get Set property#Get Set from native#string 364060 ops/sec (±5.79%) 368692 ops/sec (±6.5%) 1.01
Get Set property#Get Set from JavaScript#string 319003 ops/sec (±6.49%) 341740 ops/sec (±6.86%) 1.07
Async task#spawn task 31602 ops/sec (±1.63%) 37096 ops/sec (±1.46%) 1.17
Async task#ThreadSafeFunction 905 ops/sec (±23.69%) 1140 ops/sec (±23.02%) 1.26
Async task#Tokio future to Promise 29356 ops/sec (±1.82%) 31816 ops/sec (±0.65%) 1.08
Query#query * 100 1843 ops/sec (±3.13%) 2058 ops/sec (±3.31%) 1.12
Query#query * 1 27081 ops/sec (±1.29%) 31192 ops/sec (±0.3%) 1.15

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

Please sign in to comment.