-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow systems to specify custom filter for the applicable set beyond required_components #4604
Merged
Conversation
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
Wumpf
added
📺 re_viewer
affects re_viewer itself
🚜 refactor
Change the code, not the functionality
🟦 blueprint
The data that defines our UI
exclude from changelog
PRs with this won't show up in CHANGELOG.md
labels
Dec 20, 2023
jleibs
approved these changes
Dec 20, 2023
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.
Nice -- I like how easy it is to add something like this now!
linkinator failure was temp docker unavailablility |
4 tasks
Wumpf
added a commit
that referenced
this pull request
Dec 22, 2023
…ription (#4608) ### What * Kinda part of #4388 * Continuing the spirit of #4604 * Exact same reasoning and motiviation applies! * This time this actually has clear positive perf implications: Evaluation of `identify_entities_per_system_per_class` goes from 1ms to 0.5ms on `opf --no-frames` * but again in the "heuristic evaluation is part of query"-world this is a _huge_ speedup ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using newly built examples: [app.rerun.io](https://app.rerun.io/pr/4608/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/4608/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [app.rerun.io](https://app.rerun.io/pr/4608/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG - [PR Build Summary](https://build.rerun.io/pr/4608) - [Docs preview](https://rerun.io/preview/43ecf8119748c2370d859cade05837fd62f9ffe9/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/43ecf8119748c2370d859cade05837fd62f9ffe9/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🟦 blueprint
The data that defines our UI
exclude from changelog
PRs with this won't show up in CHANGELOG.md
📺 re_viewer
affects re_viewer itself
🚜 refactor
Change the code, not the functionality
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Part of general query effort, mostly
Allows visualizers to specify
VisualizerAdditionalApplicabilityFilter
which can be used to answer global visualizer applicability questions like "is this an image tensor". Therefore moving these kind of checks out of theheuristic_filter
.Right now this has a negligible (presumed positive) impact on performance. However, there's two strong motivating factors here:
heuristic_filter
is right now incorrectly applied on a per space view class bases. It currently is used to extract the "visualizable set" which actually has to be determined per space view instance since it is dependent on things like the space's origin. Onceheuristic_filter
runs per instance (or much much worse, per instance candidate during heuristic!) the now moved checks become a huge burden. This is about to happen in a follow-up PR!Checklist
main
build: app.rerun.ionightly
build: app.rerun.io