-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from vorner/exp2
Experiments
- Loading branch information
Showing
2 changed files
with
47 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Test coverage | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_BACKTRACE: full | ||
|
||
jobs: | ||
coverage: | ||
name: Coverage | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
profile: minimal | ||
default: true | ||
|
||
- name: Restore cache | ||
uses: Swatinem/rust-cache@v1 | ||
|
||
- name: Run cargo-tarpaulin | ||
uses: actions-rs/tarpaulin@v0.1 | ||
with: | ||
args: '--all-features --run-types Doctests,Tests' | ||
timeout: 120 | ||
|
||
- name: Upload to codecov.io | ||
uses: codecov/codecov-action@239febf655bba88b16ff5dea1d3135ea8663a1f9 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
- name: Archive code coverage results | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: code-coverage-report | ||
path: cobertura.xml | ||
retention-days: 30 |
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
b5ec44c
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.
Track benchmarks
uncontended/load
22
ns/iter (± 0
)22
ns/iter (± 0
)1
uncontended/load_full
35
ns/iter (± 0
)36
ns/iter (± 1
)0.97
uncontended/load_many
2582
ns/iter (± 28
)2603
ns/iter (± 135
)0.99
uncontended/store
136
ns/iter (± 3
)139
ns/iter (± 0
)0.98
concurrent_loads/load
23
ns/iter (± 13
)24
ns/iter (± 14
)0.96
concurrent_loads/load_full
35
ns/iter (± 20
)40
ns/iter (± 17
)0.88
concurrent_loads/load_many
3891
ns/iter (± 1487
)2648
ns/iter (± 1255
)1.47
concurrent_loads/store
1068
ns/iter (± 339
)1349
ns/iter (± 434
)0.79
concurrent_store/load
110
ns/iter (± 7
)103
ns/iter (± 7
)1.07
concurrent_store/load_full
193
ns/iter (± 12
)157
ns/iter (± 4
)1.23
concurrent_store/load_many
7175
ns/iter (± 118
)6945
ns/iter (± 128
)1.03
concurrent_store/store
1305
ns/iter (± 149
)1399
ns/iter (± 179
)0.93
This comment was automatically generated by workflow using github-action-benchmark.