-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New time panel density graph (#1557)
* Refactor: move the data density graph to its own file * Cleanup: use TimeRange * Refactor: simplify further * Replace ball scatterer with density graph * Tweak * bug fix * Small refactor * Create time_range_from_x_range helper * Allow-list clippy::manual_range_contains * objectron-rs fix: only log the base objects once * Normalize the density graphs * Smooth normalization, and selection color * Highlight on hover * Better hover effect * Better naming: `Item` is called `item` * Add a consistent line behind the density graph * Remove dead code * Integrate re_int_histogram * Remove static_assert that trips up rust-analyzer * Cleanup * Use saturating functions when casting TimeReal -> TimeInt * Add some TODO:s * Fix wrong x-range * Fix typo * Fix potential integer overflow * Fix a TODO * tweaks * Tweak colors * Add some tests * re_int_histogram: make `range` return tight ranges * Faster data density graph * Switch to the faster re_int_histogram * Smoother density graph using box filter * Code cleanup * Make TimeAxis run in logarithmic time * Fix typos * Tweak the normalization speed * Self-review cleanup * Add feathering anti-aliasing to the density graph painter * use `mod` instead of comments * Remove dead static_assertions * typo Co-authored-by: Jeremy Leibs <[email protected]> * nits * fix docstring link --------- Co-authored-by: Jeremy Leibs <[email protected]>
- Loading branch information
Showing
22 changed files
with
1,159 additions
and
709 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
1792207
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.
Rust Benchmark
datastore/insert/batch/rects/insert
550683
ns/iter (± 3116
)567127
ns/iter (± 4003
)0.97
datastore/latest_at/batch/rects/query
1859
ns/iter (± 1
)1834
ns/iter (± 7
)1.01
datastore/latest_at/missing_components/primary
286
ns/iter (± 0
)286
ns/iter (± 1
)1
datastore/latest_at/missing_components/secondaries
440
ns/iter (± 1
)429
ns/iter (± 5
)1.03
datastore/range/batch/rects/query
151542
ns/iter (± 668
)151517
ns/iter (± 1429
)1.00
mono_points_arrow/generate_message_bundles
50303635
ns/iter (± 936482
)49141442
ns/iter (± 1245108
)1.02
mono_points_arrow/generate_messages
136618493
ns/iter (± 1071045
)134995710
ns/iter (± 1561175
)1.01
mono_points_arrow/encode_log_msg
167944922
ns/iter (± 788902
)163604927
ns/iter (± 1481075
)1.03
mono_points_arrow/encode_total
355510814
ns/iter (± 1545110
)351269150
ns/iter (± 2272101
)1.01
mono_points_arrow/decode_log_msg
187438049
ns/iter (± 1029803
)187327480
ns/iter (± 1840438
)1.00
mono_points_arrow/decode_message_bundles
73438704
ns/iter (± 1034209
)72493986
ns/iter (± 1168794
)1.01
mono_points_arrow/decode_total
259027478
ns/iter (± 2585415
)258001176
ns/iter (± 2283119
)1.00
batch_points_arrow/generate_message_bundles
332638
ns/iter (± 1256
)323964
ns/iter (± 4290
)1.03
batch_points_arrow/generate_messages
6292
ns/iter (± 22
)6309
ns/iter (± 88
)1.00
batch_points_arrow/encode_log_msg
355178
ns/iter (± 3185
)349892
ns/iter (± 3400
)1.02
batch_points_arrow/encode_total
708875
ns/iter (± 3171
)703678
ns/iter (± 7012
)1.01
batch_points_arrow/decode_log_msg
347362
ns/iter (± 2355
)349596
ns/iter (± 3073
)0.99
batch_points_arrow/decode_message_bundles
2110
ns/iter (± 13
)2141
ns/iter (± 24
)0.99
batch_points_arrow/decode_total
354341
ns/iter (± 1521
)349752
ns/iter (± 2472
)1.01
arrow_mono_points/insert
6904330112
ns/iter (± 14106181
)6884632489
ns/iter (± 20106262
)1.00
arrow_mono_points/query
1760917
ns/iter (± 25829
)1769409
ns/iter (± 32427
)1.00
arrow_batch_points/insert
2672911
ns/iter (± 18939
)2625604
ns/iter (± 30741
)1.02
arrow_batch_points/query
16957
ns/iter (± 88
)16549
ns/iter (± 269
)1.02
arrow_batch_vecs/insert
41988
ns/iter (± 257
)41403
ns/iter (± 491
)1.01
arrow_batch_vecs/query
388422
ns/iter (± 2971
)380609
ns/iter (± 6234
)1.02
tuid/Tuid::random
34
ns/iter (± 0
)34
ns/iter (± 0
)1
This comment was automatically generated by workflow using github-action-benchmark.