Skip to content

Commit

Permalink
Document undocumented environment variables on help page. (#1335)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf authored Feb 17, 2023
1 parent 7bb42b4 commit 1184c20
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crates/rerun/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,16 @@ use clap::Subcommand;
///
/// Environment variables:
///
/// * `RERUN`: force enable/disable logging with rerun (only relevant for the Rerun API, not the Viewer itself). Either `on`/`1`/`true` or `off`/`0`/`false`
///
/// * `RERUN_SHADER_PATH`: change the search path for shader/shader-imports. WARNING: Shaders are embedded in some build configurations.
///
/// * `RERUN_TRACK_ALLOCATIONS`: track all allocations in order to find memory leaks in the viewer. WARNING: slows down the viewer by a lot!
///
/// * `WGPU_BACKEND`: overwrites the graphics backend used, must be one of `vulkan`, `metal`, `dx12`, `dx11`, or `gl`.
/// Naturally, support depends on your OS. Default is `vulkan` everywhere except on Mac where we use `metal`.
///
/// * `WGPU_POWER_PREF`: overwrites the power setting used for choosing a graphics adapter, must be `high` or `low`. (Default is `high`)
#[derive(Debug, clap::Parser)]
#[clap(author, version, about)]
struct Args {
Expand Down

1 comment on commit 1184c20

@github-actions
Copy link

Choose a reason for hiding this comment

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

Rust Benchmark

Benchmark suite Current: 1184c20 Previous: 6c2b291 Ratio
datastore/insert/batch/rects/insert 543732 ns/iter (± 1472) 542075 ns/iter (± 2135) 1.00
datastore/latest_at/batch/rects/query 1770 ns/iter (± 9) 1746 ns/iter (± 11) 1.01
datastore/latest_at/missing_components/primary 352 ns/iter (± 0) 351 ns/iter (± 3) 1.00
datastore/latest_at/missing_components/secondaries 422 ns/iter (± 4) 421 ns/iter (± 2) 1.00
datastore/range/batch/rects/query 148925 ns/iter (± 262) 151060 ns/iter (± 678) 0.99
mono_points_arrow/generate_message_bundles 45766444 ns/iter (± 667434) 44393906 ns/iter (± 841219) 1.03
mono_points_arrow/generate_messages 123453410 ns/iter (± 1130471) 124004286 ns/iter (± 1174796) 1.00
mono_points_arrow/encode_log_msg 151097276 ns/iter (± 826829) 150148928 ns/iter (± 856983) 1.01
mono_points_arrow/encode_total 322333609 ns/iter (± 1704390) 318953411 ns/iter (± 1828873) 1.01
mono_points_arrow/decode_log_msg 173611485 ns/iter (± 694170) 174140439 ns/iter (± 1420162) 1.00
mono_points_arrow/decode_message_bundles 63510920 ns/iter (± 697730) 62815775 ns/iter (± 987807) 1.01
mono_points_arrow/decode_total 235069316 ns/iter (± 1457739) 234945776 ns/iter (± 1825477) 1.00
batch_points_arrow/generate_message_bundles 325088 ns/iter (± 320) 320185 ns/iter (± 3306) 1.02
batch_points_arrow/generate_messages 6150 ns/iter (± 11) 6033 ns/iter (± 51) 1.02
batch_points_arrow/encode_log_msg 354547 ns/iter (± 1702) 349604 ns/iter (± 2738) 1.01
batch_points_arrow/encode_total 703962 ns/iter (± 2397) 702155 ns/iter (± 6691) 1.00
batch_points_arrow/decode_log_msg 346762 ns/iter (± 704) 346729 ns/iter (± 2321) 1.00
batch_points_arrow/decode_message_bundles 2031 ns/iter (± 33) 1955 ns/iter (± 31) 1.04
batch_points_arrow/decode_total 353949 ns/iter (± 816) 353363 ns/iter (± 2368) 1.00
arrow_mono_points/insert 5949917133 ns/iter (± 15028800) 6001194736 ns/iter (± 21190424) 0.99
arrow_mono_points/query 1683406 ns/iter (± 11142) 1667082 ns/iter (± 9421) 1.01
arrow_batch_points/insert 2627281 ns/iter (± 12276) 2604618 ns/iter (± 10908) 1.01
arrow_batch_points/query 16708 ns/iter (± 38) 16558 ns/iter (± 103) 1.01
tuid/Tuid::random 34 ns/iter (± 0) 34 ns/iter (± 0) 1

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

Please sign in to comment.