-
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.
Fix arrows requiring a radius to be visible (#1720)
* Fix arrows requiring a radius to be visible. .. that is the immediately user-facing problem this solves. But in fact it makes the line renderer a bit more predictable: Previously, line caps would extend the line. Now they stay within the bounds of the previously determined line positions! * fix combination of round and arrow caps causing incorrect line length * fix rectangles no longer being properly rounded * spelling * control outward extending for start/end caps separately. Make viewer arrows have a rounded base with outwards extension * line shader simplifications
- Loading branch information
Showing
4 changed files
with
86 additions
and
57 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
0ff3191
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
608152
ns/iter (± 1760
)614660
ns/iter (± 2797
)0.99
datastore/latest_at/batch/rects/query
1845
ns/iter (± 3
)1860
ns/iter (± 2
)0.99
datastore/latest_at/missing_components/primary
287
ns/iter (± 3
)288
ns/iter (± 0
)1.00
datastore/latest_at/missing_components/secondaries
439
ns/iter (± 0
)462
ns/iter (± 0
)0.95
datastore/range/batch/rects/query
152510
ns/iter (± 269
)152737
ns/iter (± 316
)1.00
mono_points_arrow/generate_message_bundles
43451781
ns/iter (± 1105165
)47719562
ns/iter (± 1172319
)0.91
mono_points_arrow/generate_messages
122816272
ns/iter (± 1289870
)125221480
ns/iter (± 1085920
)0.98
mono_points_arrow/encode_log_msg
151781168
ns/iter (± 552829
)155424404
ns/iter (± 1007078
)0.98
mono_points_arrow/encode_total
323725799
ns/iter (± 1702107
)328100145
ns/iter (± 2593450
)0.99
mono_points_arrow/decode_log_msg
177567386
ns/iter (± 953469
)179814536
ns/iter (± 880070
)0.99
mono_points_arrow/decode_message_bundles
53587070
ns/iter (± 1103956
)54792433
ns/iter (± 768811
)0.98
mono_points_arrow/decode_total
231015505
ns/iter (± 1410548
)228898481
ns/iter (± 1395282
)1.01
batch_points_arrow/generate_message_bundles
288112
ns/iter (± 625
)285400
ns/iter (± 2281
)1.01
batch_points_arrow/generate_messages
6188
ns/iter (± 23
)6035
ns/iter (± 66
)1.03
batch_points_arrow/encode_log_msg
385152
ns/iter (± 1885
)380886
ns/iter (± 2348
)1.01
batch_points_arrow/encode_total
687040
ns/iter (± 1914
)688488
ns/iter (± 5164
)1.00
batch_points_arrow/decode_log_msg
352164
ns/iter (± 701
)358703
ns/iter (± 1400
)0.98
batch_points_arrow/decode_message_bundles
1607
ns/iter (± 9
)1609
ns/iter (± 20
)1.00
batch_points_arrow/decode_total
359563
ns/iter (± 1147
)363971
ns/iter (± 1491
)0.99
arrow_mono_points/insert
6078235757
ns/iter (± 11589970
)6181458622
ns/iter (± 33632406
)0.98
arrow_mono_points/query
1752430
ns/iter (± 15347
)1804337
ns/iter (± 23690
)0.97
arrow_batch_points/insert
3061032
ns/iter (± 8796
)3122613
ns/iter (± 101923
)0.98
arrow_batch_points/query
15449
ns/iter (± 263
)15453
ns/iter (± 222
)1.00
arrow_batch_vecs/insert
43639
ns/iter (± 76
)43589
ns/iter (± 154
)1.00
arrow_batch_vecs/query
479866
ns/iter (± 388
)480922
ns/iter (± 1102
)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.
0ff3191
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
612022
ns/iter (± 2517
)614660
ns/iter (± 2797
)1.00
datastore/latest_at/batch/rects/query
1850
ns/iter (± 4
)1860
ns/iter (± 2
)0.99
datastore/latest_at/missing_components/primary
292
ns/iter (± 0
)288
ns/iter (± 0
)1.01
datastore/latest_at/missing_components/secondaries
442
ns/iter (± 0
)462
ns/iter (± 0
)0.96
datastore/range/batch/rects/query
152890
ns/iter (± 108
)152737
ns/iter (± 316
)1.00
mono_points_arrow/generate_message_bundles
48635666
ns/iter (± 1324793
)47719562
ns/iter (± 1172319
)1.02
mono_points_arrow/generate_messages
134976653
ns/iter (± 1236588
)125221480
ns/iter (± 1085920
)1.08
mono_points_arrow/encode_log_msg
166405250
ns/iter (± 1061791
)155424404
ns/iter (± 1007078
)1.07
mono_points_arrow/encode_total
350408483
ns/iter (± 2080116
)328100145
ns/iter (± 2593450
)1.07
mono_points_arrow/decode_log_msg
188774152
ns/iter (± 1165284
)179814536
ns/iter (± 880070
)1.05
mono_points_arrow/decode_message_bundles
62299776
ns/iter (± 878320
)54792433
ns/iter (± 768811
)1.14
mono_points_arrow/decode_total
247162441
ns/iter (± 1574092
)228898481
ns/iter (± 1395282
)1.08
batch_points_arrow/generate_message_bundles
288290
ns/iter (± 490
)285400
ns/iter (± 2281
)1.01
batch_points_arrow/generate_messages
6105
ns/iter (± 12
)6035
ns/iter (± 66
)1.01
batch_points_arrow/encode_log_msg
384037
ns/iter (± 2590
)380886
ns/iter (± 2348
)1.01
batch_points_arrow/encode_total
700886
ns/iter (± 2246
)688488
ns/iter (± 5164
)1.02
batch_points_arrow/decode_log_msg
350984
ns/iter (± 1671
)358703
ns/iter (± 1400
)0.98
batch_points_arrow/decode_message_bundles
1609
ns/iter (± 10
)1609
ns/iter (± 20
)1
batch_points_arrow/decode_total
359916
ns/iter (± 1539
)363971
ns/iter (± 1491
)0.99
arrow_mono_points/insert
6900254250
ns/iter (± 16932732
)6181458622
ns/iter (± 33632406
)1.12
arrow_mono_points/query
1767107
ns/iter (± 26753
)1804337
ns/iter (± 23690
)0.98
arrow_batch_points/insert
3084449
ns/iter (± 19563
)3122613
ns/iter (± 101923
)0.99
arrow_batch_points/query
16067
ns/iter (± 248
)15453
ns/iter (± 222
)1.04
arrow_batch_vecs/insert
44048
ns/iter (± 96
)43589
ns/iter (± 154
)1.01
arrow_batch_vecs/query
480052
ns/iter (± 563
)480922
ns/iter (± 1102
)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.