-
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.
Remove unnecessary write lock when rewriting a query term. (#1592)
Remove the chance of a deadlock when spawning a new query.
- Loading branch information
1 parent
dd2482b
commit b88bef8
Showing
2 changed files
with
35 additions
and
35 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
b88bef8
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
45181
ns/iter (± 1977
)57447
ns/iter (± 5931
)0.79
n_plus_one/100
2244005
ns/iter (± 40624
)2687505
ns/iter (± 149185
)0.83
n_plus_one/500
10801228
ns/iter (± 186140
)12865943
ns/iter (± 545244
)0.84
n_plus_one/1000
18958887
ns/iter (± 83322
)25725356
ns/iter (± 1024120
)0.74
unify_once
884
ns/iter (± 734
)1163
ns/iter (± 271
)0.76
unify_twice
2593
ns/iter (± 71
)2913
ns/iter (± 204
)0.89
many_rules
54584
ns/iter (± 1062
)75457
ns/iter (± 8110
)0.72
fib/5
462277
ns/iter (± 8439
)632422
ns/iter (± 47390
)0.73
prime/3
15619
ns/iter (± 567
)21655
ns/iter (± 1858
)0.72
prime/23
15640
ns/iter (± 612
)21985
ns/iter (± 2143
)0.71
prime/43
15599
ns/iter (± 588
)22189
ns/iter (± 2297
)0.70
prime/83
17673
ns/iter (± 636
)22316
ns/iter (± 1868
)0.79
prime/255
16244
ns/iter (± 568
)20032
ns/iter (± 1562
)0.81
indexed/100
5901
ns/iter (± 595
)7519
ns/iter (± 1630
)0.78
indexed/500
7921
ns/iter (± 1883
)9641
ns/iter (± 3523
)0.82
indexed/1000
9233
ns/iter (± 552
)12403
ns/iter (± 2832
)0.74
indexed/10000
25375
ns/iter (± 2109
)25200
ns/iter (± 6152
)1.01
not
5826
ns/iter (± 150
)7757
ns/iter (± 1615
)0.75
double_not
12202
ns/iter (± 236
)15698
ns/iter (± 1229
)0.78
De_Morgan_not
7779
ns/iter (± 193
)9585
ns/iter (± 665
)0.81
load_policy
897830
ns/iter (± 5469
)1142125
ns/iter (± 91626
)0.79
partial_and/1
31129
ns/iter (± 1362
)37408
ns/iter (± 3289
)0.83
partial_and/5
110535
ns/iter (± 2927
)129038
ns/iter (± 9716
)0.86
partial_and/10
210835
ns/iter (± 4819
)250993
ns/iter (± 12386
)0.84
partial_and/20
427580
ns/iter (± 4995
)522288
ns/iter (± 31618
)0.82
partial_and/40
910931
ns/iter (± 10192
)1076474
ns/iter (± 66304
)0.85
partial_and/80
1818056
ns/iter (± 8107
)2425668
ns/iter (± 133156
)0.75
partial_and/100
2405625
ns/iter (± 12297
)3077186
ns/iter (± 196769
)0.78
partial_rule_depth/1
101322
ns/iter (± 4105
)110211
ns/iter (± 12499
)0.92
partial_rule_depth/5
333195
ns/iter (± 5739
)391814
ns/iter (± 276869
)0.85
partial_rule_depth/10
728620
ns/iter (± 11367
)856387
ns/iter (± 48770
)0.85
partial_rule_depth/20
2043945
ns/iter (± 13964
)2506029
ns/iter (± 214064
)0.82
partial_rule_depth/40
7516360
ns/iter (± 91544
)9154942
ns/iter (± 934640
)0.82
partial_rule_depth/80
43957871
ns/iter (± 453474
)64287195
ns/iter (± 7174375
)0.68
partial_rule_depth/100
80516263
ns/iter (± 546614
)101889330
ns/iter (± 5935513
)0.79
This comment was automatically generated by workflow using github-action-benchmark.