-
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.
GPU based mesh picking in viewer (#1737)
* picking layer support for meshes * move out view builder from render bridge into ui code * remove now pointless create_scene_paint_callback method * move screenshot taking out of renderer bridge, create view builder earlier in the ui build up process * fix some issues in mesh picking and add mesh to picking example * use gpu for mesh picking in the viewer * debug option for debugging picking overlay * no longer discard "classic" picking information * placeholder picking layer implementations for remaining opaque primitives * fix temporal gaps in gpu picking report
- Loading branch information
Showing
27 changed files
with
547 additions
and
214 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
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.
c54abe0
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
10718235
ns/iter (± 403013
)11028769
ns/iter (± 551494
)0.97
datastore/num_rows=1000/num_instances=1000/packed=false/insert/bucketsz=0
13635519
ns/iter (± 500386
)12796273
ns/iter (± 340092
)1.07
datastore/num_rows=1000/num_instances=1000/packed=false/insert/bucketsz=2
12337820
ns/iter (± 395662
)12343529
ns/iter (± 455692
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/insert/bucketsz=32
10876230
ns/iter (± 288112
)11657105
ns/iter (± 516711
)0.93
datastore/num_rows=1000/num_instances=1000/packed=false/insert/bucketsz=2048
10733458
ns/iter (± 387121
)11429470
ns/iter (± 600029
)0.94
datastore/num_rows=1000/num_instances=1000/packed=true/insert/default
9872101
ns/iter (± 421647
)10703912
ns/iter (± 554155
)0.92
datastore/num_rows=1000/num_instances=1000/packed=true/insert/bucketsz=0
11491660
ns/iter (± 686669
)13009003
ns/iter (± 646748
)0.88
datastore/num_rows=1000/num_instances=1000/packed=true/insert/bucketsz=2
11653623
ns/iter (± 532616
)12585551
ns/iter (± 579351
)0.93
datastore/num_rows=1000/num_instances=1000/packed=true/insert/bucketsz=32
9904202
ns/iter (± 335085
)11701801
ns/iter (± 457307
)0.85
datastore/num_rows=1000/num_instances=1000/packed=true/insert/bucketsz=2048
9881109
ns/iter (± 455000
)10998929
ns/iter (± 623164
)0.90
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/default
1836
ns/iter (± 26
)1839
ns/iter (± 20
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/bucketsz=0
1845
ns/iter (± 17
)1861
ns/iter (± 7
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/bucketsz=2
1815
ns/iter (± 23
)1851
ns/iter (± 12
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/bucketsz=32
1810
ns/iter (± 19
)1838
ns/iter (± 9
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/bucketsz=2048
1802
ns/iter (± 16
)1837
ns/iter (± 6
)0.98
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/default
1835
ns/iter (± 27
)1859
ns/iter (± 15
)0.99
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/bucketsz=0
1834
ns/iter (± 20
)1869
ns/iter (± 4
)0.98
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/bucketsz=2
1804
ns/iter (± 23
)1886
ns/iter (± 15
)0.96
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/bucketsz=32
1808
ns/iter (± 24
)1886
ns/iter (± 4
)0.96
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/bucketsz=2048
1812
ns/iter (± 22
)1858
ns/iter (± 8
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/default
278
ns/iter (± 2
)283
ns/iter (± 1
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/default
429
ns/iter (± 4
)444
ns/iter (± 0
)0.97
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/bucketsz=0
278
ns/iter (± 3
)280
ns/iter (± 0
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/bucketsz=0
440
ns/iter (± 4
)450
ns/iter (± 2
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/bucketsz=2
279
ns/iter (± 3
)279
ns/iter (± 1
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/bucketsz=2
436
ns/iter (± 6
)450
ns/iter (± 1
)0.97
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/bucketsz=32
277
ns/iter (± 3
)282
ns/iter (± 1
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/bucketsz=32
431
ns/iter (± 6
)449
ns/iter (± 2
)0.96
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/bucketsz=2048
276
ns/iter (± 3
)282
ns/iter (± 1
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/bucketsz=2048
428
ns/iter (± 4
)445
ns/iter (± 3
)0.96
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/default
276
ns/iter (± 3
)281
ns/iter (± 1
)0.98
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/default
428
ns/iter (± 5
)445
ns/iter (± 2
)0.96
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/bucketsz=0
277
ns/iter (± 3
)279
ns/iter (± 2
)0.99
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/bucketsz=0
438
ns/iter (± 3
)451
ns/iter (± 2
)0.97
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/bucketsz=2
277
ns/iter (± 3
)279
ns/iter (± 1
)0.99
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/bucketsz=2
436
ns/iter (± 5
)451
ns/iter (± 0
)0.97
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/bucketsz=32
277
ns/iter (± 2
)281
ns/iter (± 2
)0.99
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/bucketsz=32
431
ns/iter (± 5
)449
ns/iter (± 0
)0.96
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/bucketsz=2048
276
ns/iter (± 3
)281
ns/iter (± 1
)0.98
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/bucketsz=2048
438
ns/iter (± 4
)445
ns/iter (± 2
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/range/default
10890880
ns/iter (± 446497
)11616219
ns/iter (± 525499
)0.94
datastore/num_rows=1000/num_instances=1000/packed=false/range/bucketsz=0
2134825
ns/iter (± 18809
)2182250
ns/iter (± 15632
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/range/bucketsz=2
2101418
ns/iter (± 19498
)2123443
ns/iter (± 10887
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/range/bucketsz=32
1891604
ns/iter (± 17723
)1926170
ns/iter (± 16799
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/range/bucketsz=2048
1832908
ns/iter (± 19090
)1913440
ns/iter (± 16633
)0.96
datastore/num_rows=1000/num_instances=1000/packed=true/range/default
10591835
ns/iter (± 540628
)11679932
ns/iter (± 552706
)0.91
datastore/num_rows=1000/num_instances=1000/packed=true/range/bucketsz=0
2135590
ns/iter (± 20298
)2244443
ns/iter (± 21159
)0.95
datastore/num_rows=1000/num_instances=1000/packed=true/range/bucketsz=2
2184293
ns/iter (± 17144
)2116964
ns/iter (± 13231
)1.03
datastore/num_rows=1000/num_instances=1000/packed=true/range/bucketsz=32
1851820
ns/iter (± 16005
)1914764
ns/iter (± 7483
)0.97
datastore/num_rows=1000/num_instances=1000/packed=true/range/bucketsz=2048
1835181
ns/iter (± 14358
)1839548
ns/iter (± 9454
)1.00
mono_points_arrow/generate_message_bundles
43217364
ns/iter (± 972079
)42136952
ns/iter (± 775063
)1.03
mono_points_arrow/generate_messages
180881943
ns/iter (± 1799900
)165243914
ns/iter (± 1366901
)1.09
mono_points_arrow/encode_log_msg
217927607
ns/iter (± 1944470
)207198428
ns/iter (± 1049427
)1.05
mono_points_arrow/encode_total
441610066
ns/iter (± 2526662
)415245120
ns/iter (± 2245045
)1.06
mono_points_arrow/decode_log_msg
263949615
ns/iter (± 1710186
)251133394
ns/iter (± 1214242
)1.05
mono_points_arrow/decode_message_bundles
93398365
ns/iter (± 1209081
)86943563
ns/iter (± 970973
)1.07
mono_points_arrow/decode_total
360239038
ns/iter (± 2421993
)337217408
ns/iter (± 1798207
)1.07
mono_points_arrow_batched/generate_message_bundles
30604243
ns/iter (± 1460648
)34364939
ns/iter (± 1991528
)0.89
mono_points_arrow_batched/generate_messages
8446424
ns/iter (± 585466
)8678464
ns/iter (± 675461
)0.97
mono_points_arrow_batched/encode_log_msg
1753609
ns/iter (± 15161
)1801512
ns/iter (± 11278
)0.97
mono_points_arrow_batched/encode_total
44022444
ns/iter (± 2211209
)44958727
ns/iter (± 2053000
)0.98
mono_points_arrow_batched/decode_log_msg
971979
ns/iter (± 6696
)975034
ns/iter (± 3095
)1.00
mono_points_arrow_batched/decode_message_bundles
16561974
ns/iter (± 879038
)18453968
ns/iter (± 1186524
)0.90
mono_points_arrow_batched/decode_total
18012104
ns/iter (± 1014319
)18791933
ns/iter (± 794176
)0.96
batch_points_arrow/generate_message_bundles
282408
ns/iter (± 3270
)288571
ns/iter (± 1489
)0.98
batch_points_arrow/generate_messages
7560
ns/iter (± 88
)7629
ns/iter (± 71
)0.99
batch_points_arrow/encode_log_msg
379770
ns/iter (± 3873
)385642
ns/iter (± 1623
)0.98
batch_points_arrow/encode_total
693533
ns/iter (± 8299
)698230
ns/iter (± 3894
)0.99
batch_points_arrow/decode_log_msg
339992
ns/iter (± 2934
)339464
ns/iter (± 2042
)1.00
batch_points_arrow/decode_message_bundles
2792
ns/iter (± 34
)2891
ns/iter (± 25
)0.97
batch_points_arrow/decode_total
345523
ns/iter (± 2092
)349051
ns/iter (± 1112
)0.99
arrow_mono_points/insert
6760638375
ns/iter (± 19342682
)6134033149
ns/iter (± 19368173
)1.10
arrow_mono_points/query
1731806
ns/iter (± 17891
)1778265
ns/iter (± 17037
)0.97
arrow_batch_points/insert
2923103
ns/iter (± 29055
)3028900
ns/iter (± 16317
)0.97
arrow_batch_points/query
16712
ns/iter (± 205
)16843
ns/iter (± 136
)0.99
arrow_batch_vecs/insert
43032
ns/iter (± 516
)43557
ns/iter (± 316
)0.99
arrow_batch_vecs/query
523905
ns/iter (± 6903
)533713
ns/iter (± 7351
)0.98
tuid/Tuid::random
34
ns/iter (± 0
)34
ns/iter (± 0
)1
This comment was automatically generated by workflow using github-action-benchmark.