Skip to content

Remove str_count as non-reliable benchmark #266

Remove str_count as non-reliable benchmark

Remove str_count as non-reliable benchmark #266

Triggered via push November 17, 2024 17:17
Status Success
Total duration 4m 18s
Artifacts 1

test.yaml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
lint: tango-bench/src/cli.rs#L749
warning: unused variable: `path` --> tango-bench/src/cli.rs:749:23 | 749 | fn generate_plots(path: &Path, sample_dumps: &[PathBuf]) -> Result<()> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` | = note: `#[warn(unused_variables)]` on by default
lint: tango-bench/src/cli.rs#L749
warning: unused variable: `path` --> tango-bench/src/cli.rs:749:23 | 749 | fn generate_plots(path: &Path, sample_dumps: &[PathBuf]) -> Result<()> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` | = note: `#[warn(unused_variables)]` on by default
lint: tango-bench/src/lib.rs#L741
warning: struct `PlatformTimer` is never constructed --> tango-bench/src/lib.rs:741:23 | 741 | pub(super) struct PlatformTimer; | ^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
lint: tango-bench/src/lib.rs#L741
warning: struct `PlatformTimer` is never constructed --> tango-bench/src/lib.rs:741:23 | 741 | pub(super) struct PlatformTimer; | ^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
lint: tango-bench/src/dylib.rs#L66
warning: creating a mutable reference to mutable static is discouraged --> tango-bench/src/dylib.rs:66:18 | 66 | unsafe { SELF_VTABLE.take() }.map(|vt| spi_handle_for_vtable(vt, mode)) | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives = note: `#[warn(static_mut_refs)]` on by default
lint: tango-bench/src/dylib.rs#L299
warning: creating a shared reference to mutable static is discouraged --> tango-bench/src/dylib.rs:299:12 | 299 | if STATE.is_none() { | ^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
lint: tango-bench/src/dylib.rs#L349
warning: creating a shared reference to mutable static is discouraged --> tango-bench/src/dylib.rs:349:9 | 349 | / STATE 350 | | .as_ref() | |_____________________^ shared reference to mutable static | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
lint: tango-bench/src/dylib.rs#L357
warning: creating a mutable reference to mutable static is discouraged --> tango-bench/src/dylib.rs:357:26 | 357 | if let Some(s) = STATE.as_mut() { | ^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
lint: tango-bench/src/dylib.rs#L371
warning: creating a shared reference to mutable static is discouraged --> tango-bench/src/dylib.rs:371:26 | 371 | if let Some(s) = STATE.as_ref() { | ^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
lint: tango-bench/src/dylib.rs#L383
warning: creating a mutable reference to mutable static is discouraged --> tango-bench/src/dylib.rs:383:26 | 383 | if let Some(s) = STATE.as_mut() { | ^^^^^^^^^^^^^^ mutable reference to mutable static | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
test (macos-12)
A brownout will take place on November 11, 14:00 UTC - November 12, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721
bench
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "benchmark.txt". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
benchmark.txt
1.62 KB