Skip to content

Commit

Permalink
Update rayon (#1541)
Browse files Browse the repository at this point in the history
* cargo update -p rayon

    Updating crates.io index
    Updating rayon v1.6.0 -> v1.7.0
    Updating rayon-core v1.10.1 -> v1.11.0

* Don't use jpeg_rayon
  • Loading branch information
emilk committed Mar 9, 2023
1 parent b487e55 commit 58cae4e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
12 changes: 4 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/re_log_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ ecolor = { workspace = true, optional = true }
glam = { workspace = true, optional = true }
image = { workspace = true, optional = true, default-features = false, features = [
"jpeg",
# "jpeg_rayon", # TODO(emilk): when https://github.com/rayon-rs/rayon/pull/1019 is released
] }
macaw = { workspace = true, optional = true }
rand = { version = "0.8", optional = true }
Expand Down
1 change: 0 additions & 1 deletion crates/re_viewer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ glam = { workspace = true, features = [
half.workspace = true
image = { workspace = true, default-features = false, features = [
"jpeg",
# "jpeg_rayon", # TODO(emilk): when https://github.com/rayon-rs/rayon/pull/1019 is released
"png",
] }
instant = { version = "0.1", features = ["wasm-bindgen"] }
Expand Down
4 changes: 1 addition & 3 deletions rerun_py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ crossbeam = "0.8"
document-features = "0.2"
glam.workspace = true
half.workspace = true
image = { workspace = true, default-features = false, features = [
"jpeg_rayon",
] }
image = { workspace = true, default-features = false, features = ["jpeg"] }
itertools = "0.10"
macaw.workspace = true
mimalloc = { workspace = true, features = ["local_dynamic_tls"] }
Expand Down

1 comment on commit 58cae4e

@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: 58cae4e Previous: b487e55 Ratio
datastore/insert/batch/rects/insert 557144 ns/iter (± 1786) 563787 ns/iter (± 3986) 0.99
datastore/latest_at/batch/rects/query 1809 ns/iter (± 6) 1807 ns/iter (± 4) 1.00
datastore/latest_at/missing_components/primary 356 ns/iter (± 0) 357 ns/iter (± 4) 1.00
datastore/latest_at/missing_components/secondaries 434 ns/iter (± 0) 425 ns/iter (± 0) 1.02
datastore/range/batch/rects/query 150031 ns/iter (± 236) 159349 ns/iter (± 616) 0.94
mono_points_arrow/generate_message_bundles 48103063 ns/iter (± 666263) 50253229 ns/iter (± 1350869) 0.96
mono_points_arrow/generate_messages 126375278 ns/iter (± 1190100) 136911654 ns/iter (± 1330356) 0.92
mono_points_arrow/encode_log_msg 152631471 ns/iter (± 916608) 164164198 ns/iter (± 1643394) 0.93
mono_points_arrow/encode_total 326715184 ns/iter (± 1547360) 355018838 ns/iter (± 3642864) 0.92
mono_points_arrow/decode_log_msg 180790531 ns/iter (± 772044) 189804239 ns/iter (± 1600221) 0.95
mono_points_arrow/decode_message_bundles 66673318 ns/iter (± 882406) 74310434 ns/iter (± 1110796) 0.90
mono_points_arrow/decode_total 243897107 ns/iter (± 1609801) 261695799 ns/iter (± 2103082) 0.93
batch_points_arrow/generate_message_bundles 332839 ns/iter (± 522) 332870 ns/iter (± 863) 1.00
batch_points_arrow/generate_messages 6312 ns/iter (± 21) 6327 ns/iter (± 13) 1.00
batch_points_arrow/encode_log_msg 371544 ns/iter (± 1074) 369324 ns/iter (± 2550) 1.01
batch_points_arrow/encode_total 727396 ns/iter (± 3113) 723491 ns/iter (± 5875) 1.01
batch_points_arrow/decode_log_msg 350006 ns/iter (± 963) 353839 ns/iter (± 1957) 0.99
batch_points_arrow/decode_message_bundles 2142 ns/iter (± 7) 2122 ns/iter (± 9) 1.01
batch_points_arrow/decode_total 359278 ns/iter (± 1278) 355251 ns/iter (± 743) 1.01
arrow_mono_points/insert 6065217669 ns/iter (± 34082787) 7024739212 ns/iter (± 29321816) 0.86
arrow_mono_points/query 1695772 ns/iter (± 7633) 1739171 ns/iter (± 26536) 0.98
arrow_batch_points/insert 2605813 ns/iter (± 12026) 2652740 ns/iter (± 8844) 0.98
arrow_batch_points/query 16873 ns/iter (± 22) 17405 ns/iter (± 39) 0.97
arrow_batch_vecs/insert 42885 ns/iter (± 176) 42588 ns/iter (± 87) 1.01
arrow_batch_vecs/query 506209 ns/iter (± 890) 389276 ns/iter (± 2138) 1.30
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.