-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add introductory type hints to flask-oso (#1606)
* refactor: add introductory type hints to flask/oso * fix: failing test Co-authored-by: Sam Scott <[email protected]>
- Loading branch information
1 parent
b87c967
commit 36b5ee7
Showing
3 changed files
with
44 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
types-setuptools==63.2.0 | ||
pytest==7.0.1 |
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
36b5ee7
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
rust_get_attribute
42431
ns/iter (± 1167
)43702
ns/iter (± 2090
)0.97
n_plus_one/100
2253595
ns/iter (± 3460
)2189544
ns/iter (± 8845
)1.03
n_plus_one/500
10911978
ns/iter (± 57963
)10566177
ns/iter (± 143423
)1.03
n_plus_one/1000
21636707
ns/iter (± 38578
)21017645
ns/iter (± 190292
)1.03
unify_once
894
ns/iter (± 19
)952
ns/iter (± 55
)0.94
unify_twice
2512
ns/iter (± 45
)2513
ns/iter (± 76
)1.00
many_rules
61471
ns/iter (± 1189
)61931
ns/iter (± 1350
)0.99
fib/5
525785
ns/iter (± 7604
)525840
ns/iter (± 7124
)1.00
prime/3
17941
ns/iter (± 616
)17689
ns/iter (± 762
)1.01
prime/23
17946
ns/iter (± 555
)17692
ns/iter (± 760
)1.01
prime/43
17948
ns/iter (± 576
)17758
ns/iter (± 745
)1.01
prime/83
17972
ns/iter (± 550
)17714
ns/iter (± 711
)1.01
prime/255
16588
ns/iter (± 545
)16295
ns/iter (± 595
)1.02
indexed/100
5575
ns/iter (± 565
)5841
ns/iter (± 714
)0.95
indexed/500
6506
ns/iter (± 1491
)7584
ns/iter (± 1963
)0.86
indexed/1000
7750
ns/iter (± 209
)9802
ns/iter (± 633
)0.79
indexed/10000
19150
ns/iter (± 1804
)29900
ns/iter (± 2369
)0.64
not
6030
ns/iter (± 68
)5860
ns/iter (± 112
)1.03
double_not
12251
ns/iter (± 168
)12335
ns/iter (± 235
)0.99
De_Morgan_not
8032
ns/iter (± 167
)7905
ns/iter (± 169
)1.02
load_policy
894541
ns/iter (± 4180
)884978
ns/iter (± 86000
)1.01
partial_and/1
30630
ns/iter (± 1153
)31507
ns/iter (± 1332
)0.97
partial_and/5
105385
ns/iter (± 2594
)110677
ns/iter (± 3179
)0.95
partial_and/10
202383
ns/iter (± 5119
)211646
ns/iter (± 5007
)0.96
partial_and/20
418308
ns/iter (± 8065
)426141
ns/iter (± 6448
)0.98
partial_and/40
897847
ns/iter (± 11986
)910196
ns/iter (± 12807
)0.99
partial_and/80
2059431
ns/iter (± 15713
)2048950
ns/iter (± 6530
)1.01
partial_and/100
2734061
ns/iter (± 19677
)2718431
ns/iter (± 20598
)1.01
partial_rule_depth/1
95964
ns/iter (± 3317
)101920
ns/iter (± 4247
)0.94
partial_rule_depth/5
322003
ns/iter (± 7318
)334398
ns/iter (± 7753
)0.96
partial_rule_depth/10
712419
ns/iter (± 18269
)728037
ns/iter (± 12087
)0.98
partial_rule_depth/20
2032241
ns/iter (± 17542
)2044629
ns/iter (± 10676
)0.99
partial_rule_depth/40
7346611
ns/iter (± 60281
)7523956
ns/iter (± 131318
)0.98
partial_rule_depth/80
39463748
ns/iter (± 205679
)45838833
ns/iter (± 315023
)0.86
partial_rule_depth/100
71931113
ns/iter (± 382002
)85399316
ns/iter (± 566261
)0.84
This comment was automatically generated by workflow using github-action-benchmark.