-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load policy files from resources (#1554)
* Add support for loading policy files from the resources folder. Co-authored-by: Tamas Kovacs <[email protected]> Co-authored-by: Sam Scott <[email protected]> Co-authored-by: Graham Kaemmer <[email protected]> Co-authored-by: Stephen Olsen <[email protected]>
- Loading branch information
1 parent
32f4b40
commit c2ac67f
Showing
6 changed files
with
103 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f(1); | ||
f(2); | ||
f(3); |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
g(1); | ||
g(2); | ||
g(3); |
c2ac67f
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
43897
ns/iter (± 1949
)42194
ns/iter (± 1228
)1.04
n_plus_one/100
2210657
ns/iter (± 5490
)2240461
ns/iter (± 12330
)0.99
n_plus_one/500
10627532
ns/iter (± 34720
)10850411
ns/iter (± 127283
)0.98
n_plus_one/1000
21186400
ns/iter (± 142278
)21556109
ns/iter (± 77247
)0.98
unify_once
934
ns/iter (± 428
)880
ns/iter (± 15
)1.06
unify_twice
2538
ns/iter (± 56
)2498
ns/iter (± 47
)1.02
many_rules
60711
ns/iter (± 1367
)61182
ns/iter (± 1742
)0.99
fib/5
525523
ns/iter (± 8803
)526624
ns/iter (± 8979
)1.00
prime/3
17462
ns/iter (± 763
)17919
ns/iter (± 658
)0.97
prime/23
17568
ns/iter (± 749
)17920
ns/iter (± 637
)0.98
prime/43
17491
ns/iter (± 850
)17905
ns/iter (± 706
)0.98
prime/83
17541
ns/iter (± 746
)17926
ns/iter (± 618
)0.98
prime/255
16130
ns/iter (± 626
)16633
ns/iter (± 539
)0.97
indexed/100
5756
ns/iter (± 666
)5802
ns/iter (± 493
)0.99
indexed/500
7166
ns/iter (± 1947
)6940
ns/iter (± 1457
)1.03
indexed/1000
9394
ns/iter (± 716
)8972
ns/iter (± 788
)1.05
indexed/10000
28450
ns/iter (± 3041
)21300
ns/iter (± 1666
)1.34
not
5817
ns/iter (± 116
)5862
ns/iter (± 78
)0.99
double_not
12179
ns/iter (± 233
)12278
ns/iter (± 180
)0.99
De_Morgan_not
7753
ns/iter (± 208
)7989
ns/iter (± 153
)0.97
load_policy
880617
ns/iter (± 2131
)895456
ns/iter (± 4906
)0.98
partial_and/1
31027
ns/iter (± 1429
)30774
ns/iter (± 1104
)1.01
partial_and/5
109800
ns/iter (± 3320
)106240
ns/iter (± 2743
)1.03
partial_and/10
209255
ns/iter (± 4355
)203608
ns/iter (± 4489
)1.03
partial_and/20
425753
ns/iter (± 8390
)422389
ns/iter (± 9055
)1.01
partial_and/40
902663
ns/iter (± 12114
)906328
ns/iter (± 13709
)1.00
partial_and/80
2041936
ns/iter (± 21323
)2078490
ns/iter (± 17526
)0.98
partial_and/100
2704240
ns/iter (± 29908
)2746743
ns/iter (± 19426
)0.98
partial_rule_depth/1
101373
ns/iter (± 4274
)95816
ns/iter (± 3364
)1.06
partial_rule_depth/5
333059
ns/iter (± 8178
)323935
ns/iter (± 6681
)1.03
partial_rule_depth/10
725154
ns/iter (± 16634
)725084
ns/iter (± 12744
)1.00
partial_rule_depth/20
2034898
ns/iter (± 41155
)2046512
ns/iter (± 14107
)0.99
partial_rule_depth/40
7435299
ns/iter (± 127472
)7477115
ns/iter (± 116327
)0.99
partial_rule_depth/80
44644585
ns/iter (± 441593
)39717880
ns/iter (± 227135
)1.12
partial_rule_depth/100
83233493
ns/iter (± 575365
)71785680
ns/iter (± 350772
)1.16
This comment was automatically generated by workflow using github-action-benchmark.