Commit 819a53a 1 parent 9ae3c6c commit 819a53a Copy full SHA for 819a53a
File tree 3 files changed +2
-19
lines changed
3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -493,7 +493,6 @@ jobs:
493
493
jq --slurp '. | flatten' ./reports/* | tee time_bench.json
494
494
495
495
- name : Store benchmark result
496
- continue-on-error : true
497
496
uses : benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29
498
497
with :
499
498
name : " Compilation Time"
@@ -543,7 +542,6 @@ jobs:
543
542
jq --slurp '. | flatten' ./reports/* | tee memory_bench.json
544
543
545
544
- name : Store benchmark result
546
- continue-on-error : true
547
545
uses : benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29
548
546
with :
549
547
name : " Compilation Memory"
@@ -593,7 +591,6 @@ jobs:
593
591
jq --slurp '. | flatten' ./reports/* | tee memory_bench.json
594
592
595
593
- name : Store benchmark result
596
- continue-on-error : true
597
594
uses : benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29
598
595
with :
599
596
name : " Execution Memory"
@@ -644,7 +641,6 @@ jobs:
644
641
jq --slurp '. | flatten' ./reports/* | tee time_bench.json
645
642
646
643
- name : Store benchmark result
647
- continue-on-error : true
648
644
uses : benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29
649
645
with :
650
646
name : " Execution Time"
Original file line number Diff line number Diff line change @@ -622,7 +622,6 @@ jobs:
622
622
jq --slurp '. | flatten' ./reports/* | tee test_bench.json
623
623
624
624
- name : Store benchmark result
625
- continue-on-error : true
626
625
uses : benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29
627
626
with :
628
627
name : " Test Suite Duration"
Original file line number Diff line number Diff line change @@ -360,13 +360,7 @@ where
360
360
let mut result = Ordering ::equal ();
361
361
for i in 0 ..self .len () {
362
362
if result == Ordering ::equal () {
363
- let result_i = self [i ].cmp (other [i ]);
364
-
365
- if result_i == Ordering ::less () {
366
- result = result_i ;
367
- } else if result_i == Ordering ::greater () {
368
- result = result_i ;
369
- }
363
+ result = self [i ].cmp (other [i ]);
370
364
}
371
365
}
372
366
result
@@ -383,13 +377,7 @@ where
383
377
let mut result = self .len ().cmp (other .len ());
384
378
for i in 0 ..self .len () {
385
379
if result == Ordering ::equal () {
386
- let result_i = self [i ].cmp (other [i ]);
387
-
388
- if result_i == Ordering ::less () {
389
- result = result_i ;
390
- } else if result_i == Ordering ::greater () {
391
- result = result_i ;
392
- }
380
+ result = self [i ].cmp (other [i ]);
393
381
}
394
382
}
395
383
result
You can’t perform that action at this time.
0 commit comments