-
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.
* Python SDK: Add a decorator to all out logging function to early-out This replaces explicit checks with a decorator. This decorator declaration preserves type information in Python 3.8 in my VSCode, which was a problem with previous attempts. In a follow-up PR we can add a try-catch to the decorator to prevent errors from bubbling up to the user. * Catch and log exceptions in log_decorator * Replace a few _send_warning with raise * Make strict-mode opt-in * Clean up scripts/lint.py * emil should learn to type and and spellcheck Co-authored-by: Andreas Reich <[email protected]> * can we get automated spell checking of docstrings? Co-authored-by: Andreas Reich <[email protected]> * surely there is a spell checker for python docstrings, right? Co-authored-by: Andreas Reich <[email protected]> * not misuses - incorrect use --------- Co-authored-by: Andreas Reich <[email protected]>
- Loading branch information
Showing
20 changed files
with
140 additions
and
80 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
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.
684a070
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
552596
ns/iter (± 2517
)567519
ns/iter (± 2076
)0.97
datastore/latest_at/batch/rects/query
1850
ns/iter (± 1
)1845
ns/iter (± 5
)1.00
datastore/latest_at/missing_components/primary
354
ns/iter (± 0
)356
ns/iter (± 0
)0.99
datastore/latest_at/missing_components/secondaries
424
ns/iter (± 0
)424
ns/iter (± 2
)1
datastore/range/batch/rects/query
153209
ns/iter (± 344
)153413
ns/iter (± 338
)1.00
mono_points_arrow/generate_message_bundles
48546958
ns/iter (± 509338
)46588879
ns/iter (± 1693664
)1.04
mono_points_arrow/generate_messages
126227211
ns/iter (± 1150414
)134835762
ns/iter (± 1239523
)0.94
mono_points_arrow/encode_log_msg
154022496
ns/iter (± 1350284
)166489423
ns/iter (± 930285
)0.93
mono_points_arrow/encode_total
328148141
ns/iter (± 1574409
)352950283
ns/iter (± 1518198
)0.93
mono_points_arrow/decode_log_msg
177923468
ns/iter (± 951081
)187049495
ns/iter (± 985910
)0.95
mono_points_arrow/decode_message_bundles
65106130
ns/iter (± 917812
)70503236
ns/iter (± 1155819
)0.92
mono_points_arrow/decode_total
241131322
ns/iter (± 2052348
)255614342
ns/iter (± 1722233
)0.94
batch_points_arrow/generate_message_bundles
332380
ns/iter (± 976
)332788
ns/iter (± 789
)1.00
batch_points_arrow/generate_messages
6285
ns/iter (± 10
)6212
ns/iter (± 26
)1.01
batch_points_arrow/encode_log_msg
354912
ns/iter (± 933
)356270
ns/iter (± 2407
)1.00
batch_points_arrow/encode_total
713272
ns/iter (± 2399
)708418
ns/iter (± 2451
)1.01
batch_points_arrow/decode_log_msg
345328
ns/iter (± 885
)344241
ns/iter (± 922
)1.00
batch_points_arrow/decode_message_bundles
2088
ns/iter (± 4
)2078
ns/iter (± 7
)1.00
batch_points_arrow/decode_total
355143
ns/iter (± 1540
)354099
ns/iter (± 897
)1.00
arrow_mono_points/insert
6059642661
ns/iter (± 278228563
)6825324787
ns/iter (± 33113322
)0.89
arrow_mono_points/query
1711344
ns/iter (± 11509
)1749524
ns/iter (± 11773
)0.98
arrow_batch_points/insert
2661300
ns/iter (± 43139
)2660679
ns/iter (± 14320
)1.00
arrow_batch_points/query
16032
ns/iter (± 26
)16057
ns/iter (± 40
)1.00
arrow_batch_vecs/insert
42228
ns/iter (± 95
)42987
ns/iter (± 465
)0.98
arrow_batch_vecs/query
506305
ns/iter (± 939
)506980
ns/iter (± 1266
)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.