-
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.
Reduce memory used by staging belts on Web (#1836)
In particular this prevents crashing with out of memory on a run-away belt memory usage caused by failure to unmap buffers. A bit concerningly, the fix uses our knowledge of how `wgpu::Device::poll` is broken in the current wgpu version. I took the opportunity to sharpens the definition of `HardwareTier` a bit.
- Loading branch information
Showing
2 changed files
with
37 additions
and
25 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
4ef2c07
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
3000273
ns/iter (± 135246
)2805157
ns/iter (± 21952
)1.07
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/default
371
ns/iter (± 1
)371
ns/iter (± 2
)1
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/default
267
ns/iter (± 0
)268
ns/iter (± 7
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/default
424
ns/iter (± 3
)423
ns/iter (± 1
)1.00
datastore/num_rows=1000/num_instances=1000/packed=false/range/default
3178345
ns/iter (± 181338
)2957379
ns/iter (± 33811
)1.07
datastore/num_rows=1000/num_instances=1000/gc/default
2375881
ns/iter (± 28687
)2373834
ns/iter (± 13792
)1.00
mono_points_arrow/generate_message_bundles
29850491
ns/iter (± 1206110
)27714050
ns/iter (± 1421175
)1.08
mono_points_arrow/generate_messages
126393503
ns/iter (± 1153225
)111333705
ns/iter (± 1096683
)1.14
mono_points_arrow/encode_log_msg
155936174
ns/iter (± 2432731
)142486652
ns/iter (± 1140263
)1.09
mono_points_arrow/encode_total
314229721
ns/iter (± 2619665
)284107636
ns/iter (± 3211586
)1.11
mono_points_arrow/decode_log_msg
191152086
ns/iter (± 1376183
)178211507
ns/iter (± 707486
)1.07
mono_points_arrow/decode_message_bundles
70193258
ns/iter (± 942602
)58202707
ns/iter (± 1385753
)1.21
mono_points_arrow/decode_total
259465238
ns/iter (± 1434917
)236544483
ns/iter (± 1347321
)1.10
mono_points_arrow_batched/generate_message_bundles
20435269
ns/iter (± 1821856
)21687589
ns/iter (± 1000022
)0.94
mono_points_arrow_batched/generate_messages
4287229
ns/iter (± 312108
)4044695
ns/iter (± 82484
)1.06
mono_points_arrow_batched/encode_log_msg
1383807
ns/iter (± 8675
)1385815
ns/iter (± 4211
)1.00
mono_points_arrow_batched/encode_total
30139038
ns/iter (± 1931856
)27995745
ns/iter (± 869388
)1.08
mono_points_arrow_batched/decode_log_msg
780267
ns/iter (± 4217
)778589
ns/iter (± 2042
)1.00
mono_points_arrow_batched/decode_message_bundles
7925993
ns/iter (± 269049
)7674435
ns/iter (± 142817
)1.03
mono_points_arrow_batched/decode_total
9145441
ns/iter (± 678645
)8622349
ns/iter (± 187213
)1.06
batch_points_arrow/generate_message_bundles
239434
ns/iter (± 1454
)238655
ns/iter (± 1157
)1.00
batch_points_arrow/generate_messages
5056
ns/iter (± 25
)5130
ns/iter (± 52
)0.99
batch_points_arrow/encode_log_msg
262205
ns/iter (± 1948
)258393
ns/iter (± 1307
)1.01
batch_points_arrow/encode_total
533987
ns/iter (± 3055
)536381
ns/iter (± 2567
)1.00
batch_points_arrow/decode_log_msg
210456
ns/iter (± 944
)212006
ns/iter (± 10710
)0.99
batch_points_arrow/decode_message_bundles
1854
ns/iter (± 15
)1817
ns/iter (± 20
)1.02
batch_points_arrow/decode_total
223379
ns/iter (± 1344
)219673
ns/iter (± 2167
)1.02
arrow_mono_points/insert
2555769741
ns/iter (± 4516343
)2301485408
ns/iter (± 5989184
)1.11
arrow_mono_points/query
1224433
ns/iter (± 15040
)1222200
ns/iter (± 14817
)1.00
arrow_batch_points/insert
1159167
ns/iter (± 5615
)1135050
ns/iter (± 19020
)1.02
arrow_batch_points/query
14598
ns/iter (± 388
)14564
ns/iter (± 248
)1.00
arrow_batch_vecs/insert
26688
ns/iter (± 144
)25893
ns/iter (± 263
)1.03
arrow_batch_vecs/query
325766
ns/iter (± 1648
)321555
ns/iter (± 3782
)1.01
tuid/Tuid::random
34
ns/iter (± 0
)34
ns/iter (± 1
)1
This comment was automatically generated by workflow using github-action-benchmark.