-
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.
Use GPU colormapping when showing images in the GUI (#1865)
* Cleanup: move Default close to the struct definition * Simplify code: use if-let-else-return * Simplify code: no need for Arc * Add EntityDataUi so that the Tensor ui function knows entity path * Better naming: selection -> item * Simplify code: no optional tensor stats * Less use of anyhow * Use GPU colormapping when showing tensors in GUI * Link to issue * Optimize pad_to_four_elements for debug builds * Refactor: simpler arguments to show_zoomed_image_region_area_outline * Fix missing meter argument * Refactor: break up long function * Less use of Arc * Pipe annotation context to the hover preview * Simplify `AnnotationMap::find` * Use new GPU colormapper for the hover-zoom-in tooltip * Refactor * Add helper function for turning a Tensor into an image::DynamicImage * Fix warning on web builds * Add helper function `Tensor::could_be_dynamic_image` * Implement click-to-copy and click-to-save for tensors without egui * Convert histogram to the new system * Remove the TensorImageCache * Fix TODO formatting * bug fixes and cleanups * Rename some stuff * Build-fix * Simplify some code
- Loading branch information
Showing
20 changed files
with
773 additions
and
907 deletions.
There are no files selected for viewing
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
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.
c7f5cb6
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/num_rows=1000/num_instances=1000/packed=false/insert/default
3910006
ns/iter (± 258968
)3884493
ns/iter (± 224684
)1.01
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/default
370
ns/iter (± 1
)370
ns/iter (± 1
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/default
261
ns/iter (± 0
)261
ns/iter (± 0
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/default
420
ns/iter (± 0
)420
ns/iter (± 0
)1
datastore/num_rows=1000/num_instances=1000/packed=false/range/default
3829057
ns/iter (± 184303
)3839235
ns/iter (± 208720
)1.00
datastore/num_rows=1000/num_instances=1000/gc/default
2398158
ns/iter (± 5289
)2386181
ns/iter (± 7225
)1.01
mono_points_arrow/generate_message_bundles
31241270
ns/iter (± 493329
)31121592
ns/iter (± 444364
)1.00
mono_points_arrow/generate_messages
128841598
ns/iter (± 1163017
)127961340
ns/iter (± 1094579
)1.01
mono_points_arrow/encode_log_msg
163234030
ns/iter (± 2103568
)161906054
ns/iter (± 2440212
)1.01
mono_points_arrow/encode_total
324093156
ns/iter (± 2241102
)319505901
ns/iter (± 2471660
)1.01
mono_points_arrow/decode_log_msg
192126769
ns/iter (± 1198237
)193377167
ns/iter (± 1176387
)0.99
mono_points_arrow/decode_message_bundles
71645418
ns/iter (± 748245
)71953200
ns/iter (± 627613
)1.00
mono_points_arrow/decode_total
262243580
ns/iter (± 1637296
)262749089
ns/iter (± 1904379
)1.00
mono_points_arrow_batched/generate_message_bundles
25213628
ns/iter (± 1280912
)25979718
ns/iter (± 1444642
)0.97
mono_points_arrow_batched/generate_messages
4771532
ns/iter (± 448125
)5046246
ns/iter (± 489858
)0.95
mono_points_arrow_batched/encode_log_msg
1401615
ns/iter (± 14794
)1395661
ns/iter (± 4692
)1.00
mono_points_arrow_batched/encode_total
32892767
ns/iter (± 2185005
)32890333
ns/iter (± 1815439
)1.00
mono_points_arrow_batched/decode_log_msg
781794
ns/iter (± 3333
)786757
ns/iter (± 3628
)0.99
mono_points_arrow_batched/decode_message_bundles
7787474
ns/iter (± 294582
)8010830
ns/iter (± 467979
)0.97
mono_points_arrow_batched/decode_total
9005564
ns/iter (± 426309
)9320700
ns/iter (± 528144
)0.97
batch_points_arrow/generate_message_bundles
192718
ns/iter (± 515
)193675
ns/iter (± 435
)1.00
batch_points_arrow/generate_messages
5187
ns/iter (± 11
)5140
ns/iter (± 10
)1.01
batch_points_arrow/encode_log_msg
258731
ns/iter (± 1661
)266170
ns/iter (± 1730
)0.97
batch_points_arrow/encode_total
494700
ns/iter (± 3508
)495605
ns/iter (± 3605
)1.00
batch_points_arrow/decode_log_msg
212663
ns/iter (± 953
)213925
ns/iter (± 1642
)0.99
batch_points_arrow/decode_message_bundles
1878
ns/iter (± 7
)1870
ns/iter (± 8
)1.00
batch_points_arrow/decode_total
221211
ns/iter (± 1069
)223284
ns/iter (± 1391
)0.99
arrow_mono_points/insert
2544958905
ns/iter (± 3786039
)2520560471
ns/iter (± 5545821
)1.01
arrow_mono_points/query
1196089
ns/iter (± 23127
)1219187
ns/iter (± 15121
)0.98
arrow_batch_points/insert
1156597
ns/iter (± 2349
)1153495
ns/iter (± 10456
)1.00
arrow_batch_points/query
14929
ns/iter (± 83
)15049
ns/iter (± 70
)0.99
arrow_batch_vecs/insert
26539
ns/iter (± 123
)26690
ns/iter (± 82
)0.99
arrow_batch_vecs/query
325977
ns/iter (± 814
)325241
ns/iter (± 830
)1.00
tuid/Tuid::random
34
ns/iter (± 0
)34
ns/iter (± 0
)1
This comment was automatically generated by workflow using github-action-benchmark.