-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test and handle all tensor dtypes as images (#1840)
* Support i64 and u64 tensors * api_demo: log all image types * Don't even print out the contents of a tensor * Handle unfilterable float textures * fix typo * py-format * Simplify is_float_filterable * Add a helper function pad_and_narrow_and_cast * Reuse existing image * Exclude image_tensors demo from default api_demo * Still run all api demos in e2e test * pyformat
- Loading branch information
Showing
9 changed files
with
285 additions
and
96 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
Oops, something went wrong.
1211ef4
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
2983729
ns/iter (± 236803
)2856891
ns/iter (± 36142
)1.04
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/default
373
ns/iter (± 2
)371
ns/iter (± 1
)1.01
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/default
260
ns/iter (± 2
)262
ns/iter (± 0
)0.99
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/default
421
ns/iter (± 5
)422
ns/iter (± 0
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/range/default
2906501
ns/iter (± 190324
)3004714
ns/iter (± 39140
)0.97
datastore/num_rows=1000/num_instances=1000/gc/default
2424905
ns/iter (± 30247
)2373232
ns/iter (± 2831
)1.02
mono_points_arrow/generate_message_bundles
25537096
ns/iter (± 1841190
)27253563
ns/iter (± 691392
)0.94
mono_points_arrow/generate_messages
112833858
ns/iter (± 2059820
)113629539
ns/iter (± 886175
)0.99
mono_points_arrow/encode_log_msg
144913631
ns/iter (± 2403506
)144366861
ns/iter (± 785098
)1.00
mono_points_arrow/encode_total
285462508
ns/iter (± 2631675
)282627296
ns/iter (± 1104580
)1.01
mono_points_arrow/decode_log_msg
177851559
ns/iter (± 1902386
)177347684
ns/iter (± 665930
)1.00
mono_points_arrow/decode_message_bundles
57587572
ns/iter (± 2094906
)58626705
ns/iter (± 923501
)0.98
mono_points_arrow/decode_total
234335805
ns/iter (± 2962071
)234974619
ns/iter (± 1075048
)1.00
mono_points_arrow_batched/generate_message_bundles
20310483
ns/iter (± 1874770
)19349150
ns/iter (± 634073
)1.05
mono_points_arrow_batched/generate_messages
4107772
ns/iter (± 394221
)4025677
ns/iter (± 60601
)1.02
mono_points_arrow_batched/encode_log_msg
1374643
ns/iter (± 12370
)1390614
ns/iter (± 5633
)0.99
mono_points_arrow_batched/encode_total
27449206
ns/iter (± 2329110
)26255579
ns/iter (± 930136
)1.05
mono_points_arrow_batched/decode_log_msg
779914
ns/iter (± 7853
)775674
ns/iter (± 1299
)1.01
mono_points_arrow_batched/decode_message_bundles
7658651
ns/iter (± 443227
)7629545
ns/iter (± 96788
)1.00
mono_points_arrow_batched/decode_total
8709255
ns/iter (± 732431
)8521246
ns/iter (± 166257
)1.02
batch_points_arrow/generate_message_bundles
194632
ns/iter (± 1078
)238921
ns/iter (± 477
)0.81
batch_points_arrow/generate_messages
5102
ns/iter (± 56
)5076
ns/iter (± 11
)1.01
batch_points_arrow/encode_log_msg
260024
ns/iter (± 3017
)259069
ns/iter (± 829
)1.00
batch_points_arrow/encode_total
488796
ns/iter (± 8339
)532449
ns/iter (± 1772
)0.92
batch_points_arrow/decode_log_msg
213170
ns/iter (± 2039
)210106
ns/iter (± 440
)1.01
batch_points_arrow/decode_message_bundles
1924
ns/iter (± 19
)1853
ns/iter (± 5
)1.04
batch_points_arrow/decode_total
223283
ns/iter (± 2848
)218044
ns/iter (± 1698
)1.02
arrow_mono_points/insert
2336885135
ns/iter (± 4319013
)2283918228
ns/iter (± 5900823
)1.02
arrow_mono_points/query
1189206
ns/iter (± 27197
)1182176
ns/iter (± 10820
)1.01
arrow_batch_points/insert
1155818
ns/iter (± 10281
)1154299
ns/iter (± 1732
)1.00
arrow_batch_points/query
14331
ns/iter (± 84
)14749
ns/iter (± 124
)0.97
arrow_batch_vecs/insert
26414
ns/iter (± 363
)26396
ns/iter (± 46
)1.00
arrow_batch_vecs/query
325474
ns/iter (± 1206
)326363
ns/iter (± 785
)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.