-
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.
Speed up fixed-sized array iteration (#1050)
* Add bench for vecs (which use FixedSizeVec) * Speed up fixed-sized array iteration * Cache the len for fastfixedsizelist * Use extern C to prevent into_iter from being used
- Loading branch information
Showing
3 changed files
with
204 additions
and
34 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
63c6983
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
552316
ns/iter (± 2383
)550839
ns/iter (± 1525
)1.00
datastore/latest_at/batch/rects/query
1822
ns/iter (± 7
)1836
ns/iter (± 6
)0.99
datastore/latest_at/missing_components/primary
355
ns/iter (± 5
)355
ns/iter (± 0
)1
datastore/latest_at/missing_components/secondaries
425
ns/iter (± 4
)425
ns/iter (± 0
)1
datastore/range/batch/rects/query
152972
ns/iter (± 397
)152389
ns/iter (± 373
)1.00
mono_points_arrow/generate_message_bundles
50439069
ns/iter (± 1406261
)47372515
ns/iter (± 630596
)1.06
mono_points_arrow/generate_messages
139364239
ns/iter (± 1352225
)124935945
ns/iter (± 1111718
)1.12
mono_points_arrow/encode_log_msg
165412326
ns/iter (± 1018263
)155735095
ns/iter (± 830480
)1.06
mono_points_arrow/encode_total
358268137
ns/iter (± 2318907
)329452628
ns/iter (± 1403973
)1.09
mono_points_arrow/decode_log_msg
187647094
ns/iter (± 1105885
)177738848
ns/iter (± 772148
)1.06
mono_points_arrow/decode_message_bundles
76576151
ns/iter (± 1193769
)65932294
ns/iter (± 868436
)1.16
mono_points_arrow/decode_total
259760980
ns/iter (± 1955469
)241526260
ns/iter (± 1777000
)1.08
batch_points_arrow/generate_message_bundles
336340
ns/iter (± 556
)336025
ns/iter (± 703
)1.00
batch_points_arrow/generate_messages
6326
ns/iter (± 16
)6324
ns/iter (± 15
)1.00
batch_points_arrow/encode_log_msg
373754
ns/iter (± 1448
)366676
ns/iter (± 1674
)1.02
batch_points_arrow/encode_total
730554
ns/iter (± 3057
)735929
ns/iter (± 2564
)0.99
batch_points_arrow/decode_log_msg
345406
ns/iter (± 1700
)351146
ns/iter (± 4186
)0.98
batch_points_arrow/decode_message_bundles
2084
ns/iter (± 8
)2060
ns/iter (± 1
)1.01
batch_points_arrow/decode_total
353760
ns/iter (± 1078
)357323
ns/iter (± 1056
)0.99
arrow_mono_points/insert
7025517516
ns/iter (± 25787964
)6053105766
ns/iter (± 15291172
)1.16
arrow_mono_points/query
1737304
ns/iter (± 20350
)1727372
ns/iter (± 11088
)1.01
arrow_batch_points/insert
2643718
ns/iter (± 6961
)2644070
ns/iter (± 15560
)1.00
arrow_batch_points/query
16995
ns/iter (± 51
)17586
ns/iter (± 39
)0.97
arrow_batch_vecs/insert
42367
ns/iter (± 143
)arrow_batch_vecs/query
389510
ns/iter (± 722
)tuid/Tuid::random
34
ns/iter (± 0
)34
ns/iter (± 0
)1
This comment was automatically generated by workflow using github-action-benchmark.