-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve dealing with raw buffers for texture read/write (#1744)
* Replace TextureRowDataInfo with the more versatile Texture2DBufferInfo * comment & naming fixes
- Loading branch information
Showing
6 changed files
with
119 additions
and
72 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
2728854
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
arrow2_convert/serialize/primitive/instances=100000/arrow2_convert
414731
ns/iter (± 503
)415037
ns/iter (± 1735
)1.00
arrow2_convert/serialize/primitive/instances=100000/arrow2/from_values
19550
ns/iter (± 303
)19350
ns/iter (± 108
)1.01
arrow2_convert/serialize/primitive/instances=100000/arrow2/from_vec
19362
ns/iter (± 96
)19368
ns/iter (± 136
)1.00
arrow2_convert/deserialize/primitive/instances=100000/arrow2_convert
96793
ns/iter (± 138
)97294
ns/iter (± 527
)0.99
arrow2_convert/deserialize/primitive/instances=100000/arrow2/validity_checks
162039
ns/iter (± 285
)160533
ns/iter (± 463
)1.01
arrow2_convert/deserialize/primitive/instances=100000/arrow2/validity_bypass
58261
ns/iter (± 203
)58559
ns/iter (± 232
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/insert/default
10591012
ns/iter (± 415006
)10566765
ns/iter (± 316059
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/insert/bucketsz=0
12591752
ns/iter (± 492193
)12142196
ns/iter (± 348934
)1.04
datastore/num_rows=1000/num_instances=1000/packed=false/insert/bucketsz=2
12137762
ns/iter (± 531891
)11633520
ns/iter (± 374682
)1.04
datastore/num_rows=1000/num_instances=1000/packed=false/insert/bucketsz=32
10686316
ns/iter (± 401781
)10442528
ns/iter (± 284770
)1.02
datastore/num_rows=1000/num_instances=1000/packed=false/insert/bucketsz=2048
10562339
ns/iter (± 393734
)10227569
ns/iter (± 306931
)1.03
datastore/num_rows=1000/num_instances=1000/packed=true/insert/default
10405402
ns/iter (± 587856
)10019789
ns/iter (± 369782
)1.04
datastore/num_rows=1000/num_instances=1000/packed=true/insert/bucketsz=0
12719141
ns/iter (± 659290
)11631094
ns/iter (± 466069
)1.09
datastore/num_rows=1000/num_instances=1000/packed=true/insert/bucketsz=2
12152703
ns/iter (± 747051
)11424750
ns/iter (± 370588
)1.06
datastore/num_rows=1000/num_instances=1000/packed=true/insert/bucketsz=32
10314032
ns/iter (± 559231
)9937837
ns/iter (± 287115
)1.04
datastore/num_rows=1000/num_instances=1000/packed=true/insert/bucketsz=2048
10118792
ns/iter (± 387465
)9866332
ns/iter (± 518822
)1.03
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/default
1819
ns/iter (± 25
)1817
ns/iter (± 17
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/bucketsz=0
1804
ns/iter (± 1
)1832
ns/iter (± 8
)0.98
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/bucketsz=2
1804
ns/iter (± 8
)1828
ns/iter (± 11
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/bucketsz=32
1810
ns/iter (± 7
)1821
ns/iter (± 11
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/bucketsz=2048
1801
ns/iter (± 2
)1798
ns/iter (± 19
)1.00
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/default
1857
ns/iter (± 21
)1828
ns/iter (± 28
)1.02
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/bucketsz=0
1825
ns/iter (± 2
)1844
ns/iter (± 5
)0.99
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/bucketsz=2
1840
ns/iter (± 3
)1835
ns/iter (± 4
)1.00
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/bucketsz=32
1802
ns/iter (± 1
)1830
ns/iter (± 5
)0.98
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at/bucketsz=2048
1807
ns/iter (± 2
)1812
ns/iter (± 6
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/default
279
ns/iter (± 0
)279
ns/iter (± 0
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/default
434
ns/iter (± 0
)434
ns/iter (± 0
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/bucketsz=0
279
ns/iter (± 0
)280
ns/iter (± 0
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/bucketsz=0
443
ns/iter (± 0
)443
ns/iter (± 2
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/bucketsz=2
279
ns/iter (± 0
)280
ns/iter (± 1
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/bucketsz=2
443
ns/iter (± 0
)443
ns/iter (± 1
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/bucketsz=32
279
ns/iter (± 0
)280
ns/iter (± 0
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/bucketsz=32
440
ns/iter (± 1
)440
ns/iter (± 1
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/bucketsz=2048
279
ns/iter (± 0
)281
ns/iter (± 0
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/bucketsz=2048
435
ns/iter (± 0
)436
ns/iter (± 1
)1.00
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/default
281
ns/iter (± 0
)279
ns/iter (± 0
)1.01
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/default
434
ns/iter (± 0
)434
ns/iter (± 0
)1
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/bucketsz=0
281
ns/iter (± 0
)279
ns/iter (± 0
)1.01
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/bucketsz=0
442
ns/iter (± 0
)442
ns/iter (± 0
)1
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/bucketsz=2
282
ns/iter (± 0
)280
ns/iter (± 0
)1.01
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/bucketsz=2
442
ns/iter (± 1
)443
ns/iter (± 1
)1.00
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/bucketsz=32
281
ns/iter (± 0
)280
ns/iter (± 0
)1.00
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/bucketsz=32
443
ns/iter (± 1
)440
ns/iter (± 0
)1.01
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/primary/bucketsz=2048
282
ns/iter (± 0
)280
ns/iter (± 0
)1.01
datastore/num_rows=1000/num_instances=1000/packed=true/latest_at_missing/secondaries/bucketsz=2048
436
ns/iter (± 1
)436
ns/iter (± 0
)1
datastore/num_rows=1000/num_instances=1000/packed=false/range/default
11518597
ns/iter (± 460972
)12068378
ns/iter (± 542906
)0.95
datastore/num_rows=1000/num_instances=1000/packed=false/range/bucketsz=0
2244076
ns/iter (± 9399
)2184001
ns/iter (± 7501
)1.03
datastore/num_rows=1000/num_instances=1000/packed=false/range/bucketsz=2
2168131
ns/iter (± 10911
)2168306
ns/iter (± 13133
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/range/bucketsz=32
1910733
ns/iter (± 20584
)1933176
ns/iter (± 6424
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/range/bucketsz=2048
1927469
ns/iter (± 7854
)1828391
ns/iter (± 16691
)1.05
datastore/num_rows=1000/num_instances=1000/packed=true/range/default
10583992
ns/iter (± 694319
)11445904
ns/iter (± 511766
)0.92
datastore/num_rows=1000/num_instances=1000/packed=true/range/bucketsz=0
2174207
ns/iter (± 5470
)2192463
ns/iter (± 25423
)0.99
datastore/num_rows=1000/num_instances=1000/packed=true/range/bucketsz=2
2142803
ns/iter (± 5916
)2114848
ns/iter (± 20404
)1.01
datastore/num_rows=1000/num_instances=1000/packed=true/range/bucketsz=32
1870006
ns/iter (± 7904
)1844397
ns/iter (± 9311
)1.01
datastore/num_rows=1000/num_instances=1000/packed=true/range/bucketsz=2048
1843141
ns/iter (± 17078
)1820030
ns/iter (± 8899
)1.01
vector_ops/sort/instances=10000/smallvec/n=4
12487
ns/iter (± 18
)12493
ns/iter (± 35
)1.00
vector_ops/sort/instances=10000/tinyvec/n=4
9646
ns/iter (± 20
)9646
ns/iter (± 37
)1
vector_ops/sort/instances=10000/vec
9641
ns/iter (± 57
)9660
ns/iter (± 45
)1.00
vector_ops/split_off/instances=10000/smallvec/n=4/manual
5566
ns/iter (± 10
)5613
ns/iter (± 51
)0.99
vector_ops/split_off/instances=10000/tinyvec/n=4
2733
ns/iter (± 14
)2734
ns/iter (± 20
)1.00
vector_ops/split_off/instances=10000/tinyvec/n=4/manual
2743
ns/iter (± 28
)2721
ns/iter (± 30
)1.01
vector_ops/split_off/instances=10000/vec
2730
ns/iter (± 20
)2731
ns/iter (± 26
)1.00
vector_ops/split_off/instances=10000/vec/manual
2724
ns/iter (± 21
)2728
ns/iter (± 22
)1.00
vector_ops/swap/instances=10000/smallvec/n=4
32776
ns/iter (± 22
)32828
ns/iter (± 130
)1.00
vector_ops/swap/instances=10000/tinyvec/n=4
18273
ns/iter (± 18
)18328
ns/iter (± 84
)1.00
vector_ops/swap/instances=10000/vec
12312
ns/iter (± 16
)12338
ns/iter (± 56
)1.00
vector_ops/swap_opt/instances=10000/smallvec/n=4
42720
ns/iter (± 61
)42772
ns/iter (± 130
)1.00
vector_ops/swap_opt/instances=10000/tinyvec/n=4
28804
ns/iter (± 335
)28838
ns/iter (± 87
)1.00
vector_ops/swap_opt/instances=10000/vec
19891
ns/iter (± 38
)19861
ns/iter (± 189
)1.00
mono_points_arrow/generate_message_bundles
44405764
ns/iter (± 817005
)41770543
ns/iter (± 1139998
)1.06
mono_points_arrow/generate_messages
180352535
ns/iter (± 1313741
)165160729
ns/iter (± 1358921
)1.09
mono_points_arrow/encode_log_msg
217191826
ns/iter (± 894658
)206805296
ns/iter (± 905202
)1.05
mono_points_arrow/encode_total
441239600
ns/iter (± 1647479
)415400764
ns/iter (± 2304647
)1.06
mono_points_arrow/decode_log_msg
267097867
ns/iter (± 1156351
)250293303
ns/iter (± 966752
)1.07
mono_points_arrow/decode_message_bundles
95806663
ns/iter (± 1445049
)83666056
ns/iter (± 892689
)1.15
mono_points_arrow/decode_total
359931106
ns/iter (± 1856965
)332996742
ns/iter (± 1808515
)1.08
mono_points_arrow_batched/generate_message_bundles
34034189
ns/iter (± 1924243
)31411624
ns/iter (± 1198870
)1.08
mono_points_arrow_batched/generate_messages
9943646
ns/iter (± 965471
)8463616
ns/iter (± 379740
)1.17
mono_points_arrow_batched/encode_log_msg
1807957
ns/iter (± 5542
)1811105
ns/iter (± 7352
)1.00
mono_points_arrow_batched/encode_total
46463829
ns/iter (± 2142837
)43747820
ns/iter (± 1328384
)1.06
mono_points_arrow_batched/decode_log_msg
981193
ns/iter (± 2548
)974147
ns/iter (± 3375
)1.01
mono_points_arrow_batched/decode_message_bundles
16642589
ns/iter (± 1016405
)16243651
ns/iter (± 681135
)1.02
mono_points_arrow_batched/decode_total
19838088
ns/iter (± 1234294
)17719584
ns/iter (± 811858
)1.12
batch_points_arrow/generate_message_bundles
284377
ns/iter (± 2006
)283388
ns/iter (± 2244
)1.00
batch_points_arrow/generate_messages
7606
ns/iter (± 29
)7609
ns/iter (± 29
)1.00
batch_points_arrow/encode_log_msg
379697
ns/iter (± 1190
)381696
ns/iter (± 1405
)0.99
batch_points_arrow/encode_total
697869
ns/iter (± 2541
)698278
ns/iter (± 4783
)1.00
batch_points_arrow/decode_log_msg
334821
ns/iter (± 553
)337620
ns/iter (± 1046
)0.99
batch_points_arrow/decode_message_bundles
2901
ns/iter (± 8
)2925
ns/iter (± 26
)0.99
batch_points_arrow/decode_total
345162
ns/iter (± 668
)349185
ns/iter (± 992
)0.99
arrow_mono_points/insert
6826519940
ns/iter (± 22461105
)6103329517
ns/iter (± 19970787
)1.12
arrow_mono_points/query
1816930
ns/iter (± 8102
)1757622
ns/iter (± 13180
)1.03
arrow_batch_points/insert
3003327
ns/iter (± 7321
)2966514
ns/iter (± 19990
)1.01
arrow_batch_points/query
16457
ns/iter (± 44
)16364
ns/iter (± 176
)1.01
arrow_batch_vecs/insert
43298
ns/iter (± 421
)42789
ns/iter (± 188
)1.01
arrow_batch_vecs/query
506528
ns/iter (± 875
)506207
ns/iter (± 4548
)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.