text:
[benchmark] Add a benchmark for .lazy.filter,map chaining...

... and functionally equivalent single call to .lazy.compactMap.
See https://forums.swift.org/t/introduce-lazy-version-of-compactmap/9835
for more info.

@swift-ci Please smoke test

@swift-ci Please smoke benchmark

/cc @tellowkrinkle
Related to https://github.com/apple/swift/pull/14841

Build comment file:
Optimized (O)

Regression (16)

TEST
OLD
NEW
DELTA
SPEEDUP

MapReduceLazyCollectionShort
34
38
+11.8%
0.89x

StringBuilderLong
1082
1199
+10.8%
0.90x (?)

StringEqualPointerComparison
286
315
+10.1%
0.91x

CharIteration_chinese_unicodeScalars
15456
16850
+9.0%
0.92x

CharIteration_tweet_unicodeScalars
40659
44106
+8.5%
0.92x

RemoveWhereMoveInts
14
15
+7.1%
0.93x

CharIteration_punctuated_unicodeScalars
4603
4931
+7.1%
0.93x

CharIteration_korean_unicodeScalars
19791
21185
+7.0%
0.93x

CharIteration_russian_unicodeScalars
17030
18221
+7.0%
0.93x

NopDeinit
30188
32262
+6.9%
0.94x

CharIteration_ascii_unicodeScalars
20438
21831
+6.8%
0.94x

CharIteration_japanese_unicodeScalars
24478
26120
+6.7%
0.94x

Chars
975
1036
+6.3%
0.94x

CharIteration_punctuatedJapanese_unicodeScalars
3679
3905
+6.1%
0.94x

ObjectiveCBridgeFromNSArrayAnyObject
23862
25211
+5.7%
0.95x (?)

ObjectiveCBridgeStubToNSStringRef
112
118
+5.4%
0.95x

Improvement (32)

TEST
OLD
NEW
DELTA
SPEEDUP

Sim2DArray
599
417
-30.4%
1.44x

StringBuilderWithLongSubstring
1881
1346
-28.4%
1.40x (?)

RangeIterationSigned
200
171
-14.5%
1.17x

DataSubscript
259
237
-8.5%
1.09x

CharIndexing_japanese_unicodeScalars
20338
18627
-8.4%
1.09x

PointerArithmetics
34391
31516
-8.4%
1.09x

CharIndexing_korean_unicodeScalars
16463
15091
-8.3%
1.09x

DropLastCountableRange
12
11
-8.3%
1.09x

CharIndexing_russian_unicodeScalars
14141
12963
-8.3%
1.09x

CharIndexing_ascii_unicodeScalars
16968
15567
-8.3%
1.09x

CharIndexing_chinese_unicodeScalars
12856
11797
-8.2%
1.09x

OpenClose
137
126
-8.0%
1.09x

CharIteration_utf16_unicodeScalars_Backwards
19435
17881
-8.0%
1.09x

CharIndexing_punctuated_unicodeScalars
3833
3550
-7.4%
1.08x

CharIndexing_tweet_unicodeScalars
33080
30651
-7.3%
1.08x

DataReplaceMediumBuffer
13133
12176
-7.3%
1.08x (?)

DropLastAnySeqCntRange
14
13
-7.1%
1.08x

CharIndexing_punctuatedJapanese_unicodeScalars
3061
2844
-7.1%
1.08x

DataReplaceMedium
11812
11024
-6.7%
1.07x (?)

DataAppendArray
6585
6181
-6.1%
1.07x (?)

DataReplaceLarge
42464
39903
-6.0%
1.06x (?)

MapReduceAnyCollection
429
404
-5.8%
1.06x

CharIteration_tweet_unicodeScalars_Backwards
30767
29144
-5.3%
1.06x

CharIteration_korean_unicodeScalars_Backwards
15108
14314
-5.3%
1.06x

CharIteration_ascii_unicodeScalars_Backwards
15579
14765
-5.2%
1.06x

CharIteration_japanese_unicodeScalars_Backwards
18644
17674
-5.2%
1.05x

CharIteration_russian_unicodeScalars_Backwards
12980
12308
-5.2%
1.05x

CharIteration_chinese_unicodeScalars_Backwards
11789
11185
-5.1%
1.05x

StringComparison_ascii
929
882
-5.1%
1.05x

CharIteration_punctuated_unicodeScalars_Backwards
3530
3353
-5.0%
1.05x

SumUsingReduceInto
102
97
-4.9%
1.05x

CharIteration_punctuatedJapanese_unicodeScalars_Backwards
2821
2685
-4.8%
1.05x

No Changes (375)

TEST
OLD
NEW
DELTA
SPEEDUP

AngryPhonebook
3523
3554
+0.9%
0.99x (?)

AnyHashableWithAClass
81035
81069
+0.0%
1.00x (?)

Array2D
2550
2551
+0.0%
1.00x (?)

ArrayAppend
1109
1112
+0.3%
1.00x (?)

ArrayAppendArrayOfInt
795
795
+0.0%
1.00x

ArrayAppendAscii
13249
13248
-0.0%
1.00x (?)

ArrayAppendFromGeneric
797
796
-0.1%
1.00x (?)

ArrayAppendGenericStructs
1428
1423
-0.4%
1.00x

ArrayAppendLatin1
38001
38031
+0.1%
1.00x (?)

ArrayAppendLazyMap
1345
1339
-0.4%
1.00x (?)

ArrayAppendOptionals
1426
1423
-0.2%
1.00x

ArrayAppendRepeatCol
1357
1340
-1.3%
1.01x

ArrayAppendReserved
839
842
+0.4%
1.00x (?)

ArrayAppendSequence
1120
1121
+0.1%
1.00x (?)

ArrayAppendStrings
15176
15145
-0.2%
1.00x (?)

ArrayAppendToFromGeneric
799
797
-0.3%
1.00x

ArrayAppendToGeneric
787
803
+2.0%
0.98x (?)

ArrayAppendUTF16
37689
37735
+0.1%
1.00x (?)

ArrayInClass
85
85
+0.0%
1.00x

ArrayLiteral
0
0
+0.0%
1.00x

ArrayOfGenericPOD2
150
151
+0.7%
0.99x (?)

ArrayOfGenericRef
4398
4397
-0.0%
1.00x (?)

ArrayOfPOD
183
183
+0.0%
1.00x

ArrayOfRef
4398
4396
-0.0%
1.00x (?)

ArrayPlusEqualArrayOfInt
797
798
+0.1%
1.00x (?)

ArrayPlusEqualFiveElementCollection
6558
6686
+2.0%
0.98x

ArrayPlusEqualSingleElementCollection
5005
5111
+2.1%
0.98x (?)

ArrayPlusEqualThreeElements
2009
2010
+0.0%
1.00x (?)

ArraySubscript
1528
1539
+0.7%
0.99x (?)

ArrayValueProp
8
8
+0.0%
1.00x

ArrayValueProp2
8
8
+0.0%
1.00x

ArrayValueProp3
8
8
+0.0%
1.00x

ArrayValueProp4
8
8
+0.0%
1.00x

BinaryFloatingPointConversionFromBinaryInteger
40
40
+0.0%
1.00x

BinaryFloatingPointPropertiesBinade
31
31
+0.0%
1.00x

BinaryFloatingPointPropertiesNextUp
28
28
+0.0%
1.00x

BinaryFloatingPointPropertiesUlp
37
37
+0.0%
1.00x

BitCount
211
211
+0.0%
1.00x

ByteSwap
106
107
+0.9%
0.99x (?)

COWTree
5681
5513
-3.0%
1.03x (?)

CSVParsing
755612
760650
+0.7%
0.99x (?)

CSVParsingAlt
725460
730518
+0.7%
0.99x (?)

CSVParsingAltIndices
340516
340298
-0.1%
1.00x (?)

CStringLongAscii
4745
4737
-0.2%
1.00x (?)

CStringLongNonAscii
2222
2213
-0.4%
1.00x (?)

CStringShortAscii
5530
5521
-0.2%
1.00x (?)

Calculator
666
651
-2.3%
1.02x

CaptureProp
4111
4114
+0.1%
1.00x (?)

CharIndexing_ascii_unicodeScalars_Backwards
15714
15833
+0.8%
0.99x (?)

CharIndexing_chinese_unicodeScalars_Backwards
11890
12008
+1.0%
0.99x

CharIndexing_japanese_unicodeScalars_Backwards
18774
18944
+0.9%
0.99x

CharIndexing_korean_unicodeScalars_Backwards
15215
15346
+0.9%
0.99x

CharIndexing_punctuatedJapanese_unicodeScalars_Backwards
2859
2862
+0.1%
1.00x (?)

CharIndexing_punctuated_unicodeScalars_Backwards
3577
3589
+0.3%
1.00x

CharIndexing_russian_unicodeScalars_Backwards
13074
13191
+0.9%
0.99x

CharIndexing_tweet_unicodeScalars_Backwards
30876
31314
+1.4%
0.99x

CharIndexing_utf16_unicodeScalars
21818
21091
-3.3%
1.03x

CharIndexing_utf16_unicodeScalars_Backwards
21657
21583
-0.3%
1.00x

CharIteration_utf16_unicodeScalars
27877
27983
+0.4%
1.00x

CharacterLiteralsLarge
5752
5760
+0.1%
1.00x (?)

CharacterLiteralsSmall
217
220
+1.4%
0.99x

CharacterPropertiesFetch
4576
4610
+0.7%
0.99x (?)

CharacterPropertiesPrecomputed
1251
1252
+0.1%
1.00x (?)

CharacterPropertiesStashed
1450
1438
-0.8%
1.01x (?)

CharacterPropertiesStashedMemo
1681
1697
+1.0%
0.99x (?)

ClassArrayGetter
15
15
+0.0%
1.00x

Combos
460
460
+0.0%
1.00x

DataAccessBytes
1139
1145
+0.5%
0.99x

DataAppendBytes
6311
6120
-3.0%
1.03x (?)

DataAppendDataLargeToLarge
69622
69282
-0.5%
1.00x (?)

DataAppendDataLargeToMedium
36518
36492
-0.1%
1.00x (?)

DataAppendDataLargeToSmall
35615
35078
-1.5%
1.02x (?)

DataAppendDataMediumToLarge
39126
38568
-1.4%
1.01x (?)

DataAppendDataMediumToMedium
7712
7819
+1.4%
0.99x (?)

DataAppendDataMediumToSmall
7043
6862
-2.6%
1.03x (?)

DataAppendDataSmallToLarge
37556
37549
-0.0%
1.00x (?)

DataAppendDataSmallToMedium
7288
7213
-1.0%
1.01x (?)

DataAppendDataSmallToSmall
6832
6642
-2.8%
1.03x (?)

DataAppendSequence
18990
19732
+3.9%
0.96x (?)

DataCopyBytes
2540
2508
-1.3%
1.01x (?)

DataCount
38
37
-2.6%
1.03x

DataMutateBytes
4221
4242
+0.5%
1.00x (?)

DataReplaceLargeBuffer
57826
57919
+0.2%
1.00x (?)

DataReplaceSmall
8295
8713
+5.0%
0.95x (?)

DataReplaceSmallBuffer
8738
9058
+3.7%
0.96x (?)

DataReset
3154
3194
+1.3%
0.99x (?)

DataSetCount
836
856
+2.4%
0.98x

DictOfArraysToArrayOfDicts
824
829
+0.6%
0.99x (?)

Dictionary
721
716
-0.7%
1.01x

Dictionary2
1818
1816
-0.1%
1.00x (?)

Dictionary2OfObjects
3355
3342
-0.4%
1.00x (?)

Dictionary3
427
427
+0.0%
1.00x

Dictionary3OfObjects
890
890
+0.0%
1.00x

Dictionary4
852
851
-0.1%
1.00x (?)

Dictionary4OfObjects
937
946
+1.0%
0.99x (?)

DictionaryBridge
2016
2084
+3.4%
0.97x

DictionaryCopy
109879
107660
-2.0%
1.02x (?)

DictionaryFilter
108294
106601
-1.6%
1.02x

DictionaryGroup
267
279
+4.5%
0.96x

DictionaryGroupOfObjects
2124
2097
-1.3%
1.01x

DictionaryLiteral
2034
2000
-1.7%
1.02x

DictionaryOfObjects
2636
2644
+0.3%
1.00x

DictionaryRemove
5333
5276
-1.1%
1.01x

DictionaryRemoveOfObjects
28878
28610
-0.9%
1.01x (?)

DictionarySubscriptDefaultMutation
301
292
-3.0%
1.03x

DictionarySubscriptDefaultMutationArray
642
642
+0.0%
1.00x

DictionarySubscriptDefaultMutationArrayOfObjects
4194
4201
+0.2%
1.00x (?)

DictionarySubscriptDefaultMutationOfObjects
1973
1959
-0.7%
1.01x (?)

DictionarySwap
1370
1356
-1.0%
1.01x

DictionarySwapAt
6970
7196
+3.2%
0.97x

DictionarySwapAtOfObjects
52840
52964
+0.2%
1.00x (?)

DictionarySwapOfObjects
9546
9762
+2.3%
0.98x

DoubleWidthDivision
0
0
+0.0%
1.00x

DropFirstAnyCollection
84
84
+0.0%
1.00x

DropFirstAnyCollectionLazy
60652
60934
+0.5%
1.00x (?)

DropFirstAnySeqCRangeIter
17032
17054
+0.1%
1.00x (?)

DropFirstAnySeqCRangeIterLazy
17046
17042
-0.0%
1.00x (?)

DropFirstAnySeqCntRange
29
29
+0.0%
1.00x

DropFirstAnySeqCntRangeLazy
28
29
+3.6%
0.97x

DropFirstAnySequence
4883
4887
+0.1%
1.00x (?)

DropFirstAnySequenceLazy
4877
4901
+0.5%
1.00x

DropFirstArray
35
35
+0.0%
1.00x

DropFirstArrayLazy
35
35
+0.0%
1.00x

DropFirstCountableRange
35
35
+0.0%
1.00x

DropFirstCountableRangeLazy
35
35
+0.0%
1.00x

DropFirstSequence
2681
2682
+0.0%
1.00x (?)

DropFirstSequenceLazy
2778
2772
-0.2%
1.00x (?)

DropLastAnyCollection
31
31
+0.0%
1.00x

DropLastAnyCollectionLazy
20297
20226
-0.3%
1.00x (?)

DropLastAnySeqCRangeIter
3595
3579
-0.4%
1.00x

DropLastAnySeqCRangeIterLazy
3595
3583
-0.3%
1.00x

DropLastAnySeqCntRangeLazy
14
14
+0.0%
1.00x

DropLastAnySequence
4977
4938
-0.8%
1.01x (?)

DropLastAnySequenceLazy
5070
4997
-1.4%
1.01x (?)

DropLastCountableRangeLazy
11
11
+0.0%
1.00x

DropLastSequence
653
629
-3.7%
1.04x

DropLastSequenceLazy
653
629
-3.7%
1.04x

DropWhileAnyCollection
107
107
+0.0%
1.00x

DropWhileAnyCollectionLazy
125
125
+0.0%
1.00x

DropWhileAnySeqCRangeIter
14447
14484
+0.3%
1.00x (?)

DropWhileAnySeqCRangeIterLazy
90
90
+0.0%
1.00x

DropWhileAnySeqCntRange
36
36
+0.0%
1.00x

DropWhileAnySeqCntRangeLazy
90
90
+0.0%
1.00x

DropWhileAnySequence
5581
5580
-0.0%
1.00x (?)

DropWhileAnySequenceLazy
1858
1857
-0.1%
1.00x (?)

DropWhileArrayLazy
88
88
+0.0%
1.00x

DropWhileCountableRange
35
35
+0.0%
1.00x

DropWhileCountableRangeLazy
105
105
+0.0%
1.00x

DropWhileSequence
1326
1326
+0.0%
1.00x

DropWhileSequenceLazy
88
88
+0.0%
1.00x

EqualStringSubstring
49
49
+0.0%
1.00x

EqualSubstringString
49
49
+0.0%
1.00x

EqualSubstringSubstring
49
48
-2.0%
1.02x

EqualSubstringSubstringGenericEquatable
49
49
+0.0%
1.00x

ErrorHandling
2524
2461
-2.5%
1.03x (?)

ExclusivityGlobal
5
5
+0.0%
1.00x

ExclusivityIndependent
2
2
+0.0%
1.00x

FilterEvenUsingReduce
1323
1311
-0.9%
1.01x (?)

FilterEvenUsingReduceInto
149
148
-0.7%
1.01x

FloatingPointPrinting_Double_description_small
80967
79552
-1.7%
1.02x

FloatingPointPrinting_Double_description_uniform
137015
135303
-1.2%
1.01x

FloatingPointPrinting_Double_interpolated
184605
182004
-1.4%
1.01x (?)

FloatingPointPrinting_Float80_description_small
93205
91699
-1.6%
1.02x

FloatingPointPrinting_Float80_description_uniform
1705051
1706668
+0.1%
1.00x

FloatingPointPrinting_Float80_interpolated
1750653
1752467
+0.1%
1.00x (?)

FloatingPointPrinting_Float_description_small
42343
43848
+3.6%
0.97x

FloatingPointPrinting_Float_description_uniform
44675
44573
-0.2%
1.00x (?)

FloatingPointPrinting_Float_interpolated
85074
85142
+0.1%
1.00x (?)

FrequenciesUsingReduce
6963
7079
+1.7%
0.98x (?)

FrequenciesUsingReduceInto
3650
3657
+0.2%
1.00x (?)

Hanoi
2139
2207
+3.2%
0.97x

HashTest
1780
1776
-0.2%
1.00x (?)

Histogram
814
814
+0.0%
1.00x

Integrate
338
350
+3.6%
0.97x

IterateData
1931
1977
+2.4%
0.98x

Join
352
352
+0.0%
1.00x

LazilyFilteredArrayContains
38685
37860
-2.1%
1.02x

LazilyFilteredArrays
67404
65146
-3.3%
1.03x (?)

LazilyFilteredRange
3881
3840
-1.1%
1.01x

LessSubstringSubstring
49
49
+0.0%
1.00x

LessSubstringSubstringGenericComparable
51
53
+3.9%
0.96x

LinkedList
7610
7539
-0.9%
1.01x

LuhnAlgoEager
538
536
-0.4%
1.00x (?)

LuhnAlgoLazy
538
538
+0.0%
1.00x

MapReduce
383
398
+3.9%
0.96x

MapReduceAnyCollectionShort
2277
2280
+0.1%
1.00x (?)

MapReduceClass
3029
3013
-0.5%
1.01x (?)

MapReduceClassShort
4548
4606
+1.3%
0.99x (?)

MapReduceLazyCollection
13
13
+0.0%
1.00x

MapReduceLazySequence
86
86
+0.0%
1.00x

MapReduceSequence
449
450
+0.2%
1.00x (?)

MapReduceShort
2023
2007
-0.8%
1.01x (?)

MapReduceShortString
21
21
+0.0%
1.00x

MapReduceString
77
79
+2.6%
0.97x

Memset
219
220
+0.5%
1.00x (?)

MonteCarloE
10253
10269
+0.2%
1.00x

MonteCarloPi
42726
42659
-0.2%
1.00x

NSDictionaryCastToSwift
5581
5535
-0.8%
1.01x (?)

NSError
304
302
-0.7%
1.01x (?)

NSStringConversion
401
401
+0.0%
1.00x

NibbleSort
3686
3680
-0.2%
1.00x

ObjectAllocation
135
136
+0.7%
0.99x

ObjectiveCBridgeFromNSArrayAnyObjectForced
4532
4483
-1.1%
1.01x (?)

ObjectiveCBridgeFromNSArrayAnyObjectToString
42740
44687
+4.6%
0.96x (?)

ObjectiveCBridgeFromNSArrayAnyObjectToStringForced
39780
41623
+4.6%
0.96x (?)

ObjectiveCBridgeFromNSDictionaryAnyObject
106079
111458
+5.1%
0.95x (?)

ObjectiveCBridgeFromNSSetAnyObject
48927
49153
+0.5%
1.00x (?)

ObjectiveCBridgeFromNSSetAnyObjectForced
4209
4124
-2.0%
1.02x (?)

ObjectiveCBridgeFromNSSetAnyObjectToString
78137
78266
+0.2%
1.00x (?)

ObjectiveCBridgeFromNSString
1345
1291
-4.0%
1.04x (?)

ObjectiveCBridgeFromNSStringForced
2460
2445
-0.6%
1.01x (?)

ObjectiveCBridgeStubDataAppend
10660
10863
+1.9%
0.98x

ObjectiveCBridgeStubDateMutation
401
400
-0.2%
1.00x

ObjectiveCBridgeStubFromArrayOfNSString
31950
32671
+2.3%
0.98x (?)

ObjectiveCBridgeStubFromNSDate
6040
5998
-0.7%
1.01x (?)

ObjectiveCBridgeStubFromNSString
953
963
+1.0%
0.99x

ObjectiveCBridgeStubFromNSStringRef
159
159
+0.0%
1.00x

ObjectiveCBridgeStubNSDataAppend
2614
2623
+0.3%
1.00x (?)

ObjectiveCBridgeStubNSDateMutationRef
13129
13333
+1.6%
0.98x (?)

ObjectiveCBridgeStubToArrayOfNSString
27580
27962
+1.4%
0.99x (?)

ObjectiveCBridgeStubToNSDate
15380
16074
+4.5%
0.96x (?)

ObjectiveCBridgeStubToNSDateRef
3456
3449
-0.2%
1.00x (?)

ObjectiveCBridgeStubToNSString
1560
1623
+4.0%
0.96x

ObjectiveCBridgeStubURLAppendPath
336757
353786
+5.1%
0.95x (?)

ObjectiveCBridgeStubURLAppendPathRef
357378
346134
-3.1%
1.03x (?)

ObjectiveCBridgeToNSArray
28030
28039
+0.0%
1.00x (?)

ObjectiveCBridgeToNSDictionary
43402
42123
-2.9%
1.03x (?)

ObjectiveCBridgeToNSSet
33380
34346
+2.9%
0.97x (?)

ObjectiveCBridgeToNSString
1285
1300
+1.2%
0.99x

ObserverClosure
2167
2154
-0.6%
1.01x (?)

ObserverForwarderStruct
1235
1296
+4.9%
0.95x

ObserverPartiallyAppliedMethod
3732
3748
+0.4%
1.00x

ObserverUnappliedMethod
2567
2665
+3.8%
0.96x

PartialApplyDynamicType
0
0
+0.0%
1.00x

Phonebook
3924
3859
-1.7%
1.02x

PolymorphicCalls
25
25
+0.0%
1.00x

PopFrontArray
1887
1880
-0.4%
1.00x (?)

PopFrontArrayGeneric
1884
1887
+0.2%
1.00x (?)

PopFrontUnsafePointer
8674
9046
+4.3%
0.96x (?)

PrefixAnyCollection
84
84
+0.0%
1.00x

PrefixAnyCollectionLazy
60627
61648
+1.7%
0.98x (?)

PrefixAnySeqCRangeIter
13267
13293
+0.2%
1.00x (?)

PrefixAnySeqCRangeIterLazy
13307
13322
+0.1%
1.00x

PrefixAnySeqCntRange
29
29
+0.0%
1.00x

PrefixAnySeqCntRangeLazy
28
29
+3.6%
0.97x

PrefixAnySequence
4214
4167
-1.1%
1.01x

PrefixAnySequenceLazy
4224
4214
-0.2%
1.00x (?)

PrefixArray
35
35
+0.0%
1.00x

PrefixArrayLazy
35
35
+0.0%
1.00x

PrefixCountableRange
35
35
+0.0%
1.00x

PrefixCountableRangeLazy
35
35
+0.0%
1.00x

PrefixSequence
1325
1328
+0.2%
1.00x

PrefixSequenceLazy
1413
1413
+0.0%
1.00x

PrefixWhileAnyCollection
155
155
+0.0%
1.00x

PrefixWhileAnyCollectionLazy
90
90
+0.0%
1.00x

PrefixWhileAnySeqCRangeIter
8822
8728
-1.1%
1.01x (?)

PrefixWhileAnySeqCRangeIterLazy
24
24
+0.0%
1.00x

PrefixWhileAnySeqCntRange
60
60
+0.0%
1.00x

PrefixWhileAnySeqCntRangeLazy
24
24
+0.0%
1.00x

PrefixWhileAnySequence
9936
9933
-0.0%
1.00x (?)

PrefixWhileAnySequenceLazy
1394
1393
-0.1%
1.00x

PrefixWhileArray
88
88
+0.0%
1.00x

PrefixWhileArrayLazy
70
70
+0.0%
1.00x

PrefixWhileCountableRange
35
35
+0.0%
1.00x

PrefixWhileCountableRangeLazy
35
35
+0.0%
1.00x

PrefixWhileSequence
364
362
-0.5%
1.01x

PrefixWhileSequenceLazy
52
52
+0.0%
1.00x

Prims
1129
1129
+0.0%
1.00x

PrimsSplit
1141
1161
+1.8%
0.98x (?)

QueueConcrete
1133
1128
-0.4%
1.00x (?)

QueueGeneric
1136
1135
-0.1%
1.00x (?)

RC4
164
162
-1.2%
1.01x

RGBHistogram
3699
3678
-0.6%
1.01x (?)

RGBHistogramOfObjects
25326
25180
-0.6%
1.01x (?)

RangeAssignment
351
338
-3.7%
1.04x

RangeIterationSigned64
200
200
+0.0%
1.00x

RangeIterationUnsigned
200
200
+0.0%
1.00x

RangeReplaceableCollectionPlusDefault
908
905
-0.3%
1.00x (?)

RecursiveOwnedParameter
115
115
+0.0%
1.00x

RemoveWhereFilterInts
45
43
-4.4%
1.05x

RemoveWhereFilterString
375
375
+0.0%
1.00x

RemoveWhereFilterStrings
432
432
+0.0%
1.00x

RemoveWhereMoveStrings
701
703
+0.3%
1.00x

RemoveWhereQuadraticInts
1288
1290
+0.2%
1.00x (?)

RemoveWhereQuadraticString
492
489
-0.6%
1.01x (?)

RemoveWhereQuadraticStrings
2752
2752
+0.0%
1.00x

RemoveWhereSwapInts
19
19
+0.0%
1.00x

RemoveWhereSwapStrings
850
848
-0.2%
1.00x

ReversedArray
57
57
+0.0%
1.00x

ReversedBidirectional
15869
16222
+2.2%
0.98x

ReversedDictionary
301
293
-2.7%
1.03x (?)

RomanNumbers
134373
134491
+0.1%
1.00x (?)

SequenceAlgosAnySequence
9393
9439
+0.5%
1.00x

SequenceAlgosArray
1573
1579
+0.4%
1.00x (?)

SequenceAlgosContiguousArray
1579
1578
-0.1%
1.00x (?)

SequenceAlgosList
1351
1356
+0.4%
1.00x

SequenceAlgosRange
2578
2577
-0.0%
1.00x (?)

SequenceAlgosUnfoldSequence
1080
1079
-0.1%
1.00x (?)

SetExclusiveOr
6141
6137
-0.1%
1.00x (?)

SetExclusiveOr_OfObjects
13161
12970
-1.5%
1.01x

SetIntersect
1000
982
-1.8%
1.02x

SetIntersect_OfObjects
2313
2331
+0.8%
0.99x (?)

SetIsSubsetOf
382
382
+0.0%
1.00x

SetIsSubsetOf_OfObjects
523
527
+0.8%
0.99x (?)

SetUnion
5154
5115
-0.8%
1.01x (?)

SetUnion_OfObjects
11602
11365
-2.0%
1.02x

SevenBoom
1530
1531
+0.1%
1.00x (?)

SortLargeExistentials
5430
5557
+2.3%
0.98x

SortLettersInPlace
990
995
+0.5%
0.99x (?)

SortSortedStrings
841
829
-1.4%
1.01x

SortStrings
1657
1630
-1.6%
1.02x

SortStringsUnicode
2337
2335
-0.1%
1.00x (?)

StackPromo
21945
21938
-0.0%
1.00x (?)

StaticArray
10
10
+0.0%
1.00x

StrComplexWalk
1563
1560
-0.2%
1.00x

StrToInt
1451
1456
+0.3%
1.00x

StringAdder
4262
4254
-0.2%
1.00x (?)

StringBuilder
1596
1614
+1.1%
0.99x (?)

StringComparison_abnormal
789
802
+1.6%
0.98x (?)

StringComparison_emoji
780
777
-0.4%
1.00x

StringComparison_fastPrenormal
715
708
-1.0%
1.01x

StringComparison_latin1
553
547
-1.1%
1.01x

StringComparison_longSharedPrefix
898
894
-0.4%
1.00x

StringComparison_nonBMPSlowestPrenormal
1536
1528
-0.5%
1.01x (?)

StringComparison_slowerPrenormal
1629
1652
+1.4%
0.99x

StringComparison_zalgo
122689
122890
+0.2%
1.00x (?)

StringEdits
145215
144639
-0.4%
1.00x (?)

StringEnumRawValueInitialization
1073
1065
-0.7%
1.01x (?)

StringFromLongWholeSubstring
21
21
+0.0%
1.00x

StringFromLongWholeSubstringGeneric
97
98
+1.0%
0.99x (?)

StringHasPrefixAscii
1805
1775
-1.7%
1.02x

StringHasPrefixUnicode
111806
110203
-1.4%
1.01x

StringHasSuffixAscii
1947
1891
-2.9%
1.03x

StringHasSuffixUnicode
112843
113585
+0.7%
0.99x (?)

StringInterpolation
10139
10219
+0.8%
0.99x (?)

StringInterpolationManySmallSegments
21197
21809
+2.9%
0.97x

StringInterpolationSmall
8864
8803
-0.7%
1.01x

StringMatch
9523
9530
+0.1%
1.00x (?)

StringRemoveDupes
1355
1343
-0.9%
1.01x (?)

StringUTF16Builder
2535
2528
-0.3%
1.00x (?)

StringUTF16SubstringBuilder
5463
5466
+0.1%
1.00x (?)

StringWalk
1417
1467
+3.5%
0.97x

StringWithCString
43171
43184
+0.0%
1.00x (?)

StringWordBuilder
2409
2522
+4.7%
0.96x

StringWordBuilderReservingCapacity
2091
2166
+3.6%
0.97x

SubstringComparable
49
49
+0.0%
1.00x

SubstringEqualString
541
536
-0.9%
1.01x

SubstringEquatable
1359
1358
-0.1%
1.00x (?)

SubstringFromLongString
10
10
+0.0%
1.00x

SubstringFromLongStringGeneric
74
74
+0.0%
1.00x

SuffixAnyCollection
31
31
+0.0%
1.00x

SuffixAnyCollectionLazy
20261
20259
-0.0%
1.00x (?)

SuffixAnySeqCRangeIter
3769
3782
+0.3%
1.00x

SuffixAnySeqCRangeIterLazy
3776
3773
-0.1%
1.00x (?)

SuffixAnySeqCntRange
21
21
+0.0%
1.00x

SuffixAnySeqCntRangeLazy
21
21
+0.0%
1.00x

SuffixAnySequence
4873
4881
+0.2%
1.00x (?)

SuffixAnySequenceLazy
5008
4968
-0.8%
1.01x (?)

SuffixCountableRange
11
11
+0.0%
1.00x

SuffixCountableRangeLazy
11
11
+0.0%
1.00x

SuffixSequence
3644
3610
-0.9%
1.01x

SuffixSequenceLazy
3632
3620
-0.3%
1.00x (?)

SumUsingReduce
97
101
+4.1%
0.96x

SuperChars
41258
40432
-2.0%
1.02x (?)

TwoSum
1594
1614
+1.3%
0.99x

TypeFlood
0
0
+0.0%
1.00x

UTF8Decode
291
295
+1.4%
0.99x

Walsh
405
400
-1.2%
1.01x

WordCountHistogramASCII
7498
7297
-2.7%
1.03x

WordCountHistogramUTF16
13123
12954
-1.3%
1.01x (?)

WordCountUniqueASCII
2403
2401
-0.1%
1.00x (?)

WordCountUniqueUTF16
6565
6647
+1.2%
0.99x (?)

WordSplitASCII
19086
18805
-1.5%
1.01x (?)

WordSplitUTF16
21287
20674
-2.9%
1.03x (?)

XorLoop
402
396
-1.5%
1.02x

Added (2)

TEST
MIN
MAX
MEAN
MAX_RSS

ChainedFilterMap
1248
1249
1249
8323072

FatCompactMap
195537
195668
195599
8437760

Unoptimized (Onone)

Regression (10)

TEST
OLD
NEW
DELTA
SPEEDUP

StackPromo
95158
108646
+14.2%
0.88x

ReversedDictionary
22358
24617
+10.1%
0.91x

FilterEvenUsingReduceInto
1827
1993
+9.1%
0.92x

ObjectiveCBridgeStubToNSDate
15312
16688
+9.0%
0.92x (?)

StringInterpolationSmall
11994
13063
+8.9%
0.92x (?)

FloatingPointPrinting_Float_interpolated
135830
147581
+8.7%
0.92x (?)

DataAppendArray
5373
5734
+6.7%
0.94x

NSDictionaryCastToSwift
6075
6482
+6.7%
0.94x (?)

Array2D
633100
674530
+6.5%
0.94x

ArrayAppendReserved
4061
4282
+5.4%
0.95x

Improvement (9)

TEST
OLD
NEW
DELTA
SPEEDUP

CharacterPropertiesFetch
7408
5453
-26.4%
1.36x

ObjectiveCBridgeFromNSSetAnyObjectForced
5988
5345
-10.7%
1.12x

ObjectiveCBridgeStubFromArrayOfNSString
34853
31232
-10.4%
1.12x (?)

Combos
2190
2020
-7.8%
1.08x

DataSetCount
633
592
-6.5%
1.07x

ErrorHandling
7234
6807
-5.9%
1.06x (?)

StringBuilder
6687
6318
-5.5%
1.06x (?)

RemoveWhereFilterInts
2024
1914
-5.4%
1.06x

WordSplitUTF16
25214
24004
-4.8%
1.05x (?)

No Changes (404)

TEST
OLD
NEW
DELTA
SPEEDUP

AngryPhonebook
5091
5167
+1.5%
0.99x

AnyHashableWithAClass
98620
99296
+0.7%
0.99x (?)

ArrayAppend
4444
4570
+2.8%
0.97x

ArrayAppendArrayOfInt
859
862
+0.3%
1.00x

ArrayAppendAscii
39165
39319
+0.4%
1.00x (?)

ArrayAppendFromGeneric
865
866
+0.1%
1.00x (?)

ArrayAppendGenericStructs
1503
1501
-0.1%
1.00x (?)

ArrayAppendLatin1
63519
63444
-0.1%
1.00x

ArrayAppendLazyMap
162368
163090
+0.4%
1.00x

ArrayAppendOptionals
1496
1499
+0.2%
1.00x (?)

ArrayAppendRepeatCol
154463
154497
+0.0%
1.00x (?)

ArrayAppendSequence
99425
99428
+0.0%
1.00x (?)

ArrayAppendStrings
15393
15403
+0.1%
1.00x (?)

ArrayAppendToFromGeneric
865
861
-0.5%
1.00x (?)

ArrayAppendToGeneric
866
871
+0.6%
0.99x (?)

ArrayAppendUTF16
62351
62146
-0.3%
1.00x (?)

ArrayInClass
6144
6254
+1.8%
0.98x

ArrayLiteral
1799
1799
+0.0%
1.00x

ArrayOfGenericPOD2
1073
1073
+0.0%
1.00x

ArrayOfGenericRef
10811
10822
+0.1%
1.00x (?)

ArrayOfPOD
760
762
+0.3%
1.00x

ArrayOfRef
9924
9951
+0.3%
1.00x (?)

ArrayPlusEqualArrayOfInt
864
862
-0.2%
1.00x

ArrayPlusEqualFiveElementCollection
232069
233477
+0.6%
0.99x (?)

ArrayPlusEqualSingleElementCollection
230289
228396
-0.8%
1.01x (?)

ArrayPlusEqualThreeElements
9178
9223
+0.5%
1.00x

ArraySubscript
106664
107752
+1.0%
0.99x

ArrayValueProp
3690
3686
-0.1%
1.00x (?)

ArrayValueProp2
14802
14860
+0.4%
1.00x (?)

ArrayValueProp3
4175
4127
-1.1%
1.01x (?)

ArrayValueProp4
4123
4115
-0.2%
1.00x (?)

BinaryFloatingPointConversionFromBinaryInteger
5312
5293
-0.4%
1.00x (?)

BinaryFloatingPointPropertiesBinade
85
83
-2.4%
1.02x

BinaryFloatingPointPropertiesNextUp
131
125
-4.6%
1.05x

BinaryFloatingPointPropertiesUlp
129
125
-3.1%
1.03x

BitCount
8999
8615
-4.3%
1.04x

ByteSwap
9247
9465
+2.4%
0.98x

COWTree
11708
11514
-1.7%
1.02x (?)

CSVParsing
2415550
2390892
-1.0%
1.01x (?)

CSVParsingAlt
1370485
1350302
-1.5%
1.01x (?)

CSVParsingAltIndices
2235437
2139120
-4.3%
1.05x

CStringLongAscii
4447
4445
-0.0%
1.00x (?)

CStringLongNonAscii
2259
2273
+0.6%
0.99x (?)

CStringShortAscii
7680
7673
-0.1%
1.00x (?)

Calculator
1269
1275
+0.5%
1.00x

CaptureProp
235006
235368
+0.2%
1.00x

CharIndexing_ascii_unicodeScalars
299867
302100
+0.7%
0.99x (?)

CharIndexing_ascii_unicodeScalars_Backwards
339038
338131
-0.3%
1.00x (?)

CharIndexing_chinese_unicodeScalars
226342
228379
+0.9%
0.99x (?)

CharIndexing_chinese_unicodeScalars_Backwards
257882
256235
-0.6%
1.01x (?)

CharIndexing_japanese_unicodeScalars
362695
361798
-0.2%
1.00x (?)

CharIndexing_japanese_unicodeScalars_Backwards
407105
404974
-0.5%
1.01x (?)

CharIndexing_korean_unicodeScalars
290658
295485
+1.7%
0.98x (?)

CharIndexing_korean_unicodeScalars_Backwards
332845
330171
-0.8%
1.01x (?)

CharIndexing_punctuatedJapanese_unicodeScalars
53636
53461
-0.3%
1.00x (?)

CharIndexing_punctuatedJapanese_unicodeScalars_Backwards
58576
59832
+2.1%
0.98x (?)

CharIndexing_punctuated_unicodeScalars
66528
67112
+0.9%
0.99x

CharIndexing_punctuated_unicodeScalars_Backwards
74277
74054
-0.3%
1.00x (?)

CharIndexing_russian_unicodeScalars
248690
252445
+1.5%
0.99x

CharIndexing_russian_unicodeScalars_Backwards
285172
283483
-0.6%
1.01x (?)

CharIndexing_tweet_unicodeScalars
597571
599734
+0.4%
1.00x

CharIndexing_tweet_unicodeScalars_Backwards
670848
675748
+0.7%
0.99x (?)

CharIndexing_utf16_unicodeScalars
265853
263382
-0.9%
1.01x (?)

CharIndexing_utf16_unicodeScalars_Backwards
290887
289293
-0.5%
1.01x (?)

CharIteration_ascii_unicodeScalars
144830
145341
+0.4%
1.00x (?)

CharIteration_ascii_unicodeScalars_Backwards
249431
246595
-1.1%
1.01x (?)

CharIteration_chinese_unicodeScalars
109708
110011
+0.3%
1.00x (?)

CharIteration_chinese_unicodeScalars_Backwards
188092
187521
-0.3%
1.00x (?)

CharIteration_japanese_unicodeScalars
174308
174365
+0.0%
1.00x (?)

CharIteration_japanese_unicodeScalars_Backwards
300679
296543
-1.4%
1.01x

CharIteration_korean_unicodeScalars
140987
141092
+0.1%
1.00x (?)

CharIteration_korean_unicodeScalars_Backwards
241259
240327
-0.4%
1.00x

CharIteration_punctuatedJapanese_unicodeScalars
25783
25914
+0.5%
0.99x (?)

CharIteration_punctuatedJapanese_unicodeScalars_Backwards
43217
42916
-0.7%
1.01x (?)

CharIteration_punctuated_unicodeScalars
32426
32601
+0.5%
0.99x (?)

CharIteration_punctuated_unicodeScalars_Backwards
54950
54527
-0.8%
1.01x (?)

CharIteration_russian_unicodeScalars
120795
121264
+0.4%
1.00x (?)

CharIteration_russian_unicodeScalars_Backwards
207276
205268
-1.0%
1.01x (?)

CharIteration_tweet_unicodeScalars
286514
287674
+0.4%
1.00x (?)

CharIteration_tweet_unicodeScalars_Backwards
501309
491156
-2.0%
1.02x (?)

CharIteration_utf16_unicodeScalars
124410
125329
+0.7%
0.99x (?)

CharIteration_utf16_unicodeScalars_Backwards
215567
215160
-0.2%
1.00x (?)

CharacterLiteralsLarge
5782
5802
+0.3%
1.00x (?)

CharacterLiteralsSmall
658
659
+0.2%
1.00x (?)

CharacterPropertiesPrecomputed
3829
3794
-0.9%
1.01x (?)

CharacterPropertiesStashed
2335
2319
-0.7%
1.01x (?)

CharacterPropertiesStashedMemo
4626
4586
-0.9%
1.01x (?)

Chars
34757
34730
-0.1%
1.00x (?)

ClassArrayGetter
985
986
+0.1%
1.00x

DataAccessBytes
2343
2336
-0.3%
1.00x (?)

DataAppendBytes
5160
5098
-1.2%
1.01x (?)

DataAppendDataLargeToLarge
67998
67961
-0.1%
1.00x (?)

DataAppendDataLargeToMedium
35889
35671
-0.6%
1.01x (?)

DataAppendDataLargeToSmall
34639
34783
+0.4%
1.00x (?)

DataAppendDataMediumToLarge
38226
37703
-1.4%
1.01x

DataAppendDataMediumToMedium
6980
6844
-1.9%
1.02x (?)

DataAppendDataMediumToSmall
5977
6071
+1.6%
0.98x (?)

DataAppendDataSmallToLarge
36563
36843
+0.8%
0.99x

DataAppendDataSmallToMedium
6190
6315
+2.0%
0.98x (?)

DataAppendDataSmallToSmall
6099
5894
-3.4%
1.03x (?)

DataAppendSequence
1593337
1588844
-0.3%
1.00x (?)

DataCopyBytes
2463
2477
+0.6%
0.99x (?)

DataCount
223
223
+0.0%
1.00x

DataMutateBytes
5425
5435
+0.2%
1.00x (?)

DataReplaceLarge
40434
40017
-1.0%
1.01x (?)

DataReplaceLargeBuffer
57801
57675
-0.2%
1.00x (?)

DataReplaceMedium
9172
9246
+0.8%
0.99x (?)

DataReplaceMediumBuffer
11857
12082
+1.9%
0.98x (?)

DataReplaceSmall
6857
6862
+0.1%
1.00x (?)

DataReplaceSmallBuffer
8479
8542
+0.7%
0.99x (?)

DataReset
2854
2825
-1.0%
1.01x (?)

DataSubscript
441
441
+0.0%
1.00x

DictOfArraysToArrayOfDicts
3394
3377
-0.5%
1.01x (?)

Dictionary
2279
2289
+0.4%
1.00x (?)

Dictionary2
2561
2561
+0.0%
1.00x

Dictionary2OfObjects
5816
5871
+0.9%
0.99x (?)

Dictionary3
1159
1155
-0.3%
1.00x (?)

Dictionary3OfObjects
2379
2329
-2.1%
1.02x (?)

Dictionary4
1526
1539
+0.9%
0.99x (?)

Dictionary4OfObjects
2219
2142
-3.5%
1.04x

DictionaryBridge
2120
2113
-0.3%
1.00x (?)

DictionaryCopy
307589
311704
+1.3%
0.99x (?)

DictionaryFilter
304174
312245
+2.7%
0.97x

DictionaryGroup
4008
4005
-0.1%
1.00x (?)

DictionaryGroupOfObjects
7328
7323
-0.1%
1.00x (?)

DictionaryLiteral
8751
8688
-0.7%
1.01x (?)

DictionaryOfObjects
6113
6044
-1.1%
1.01x (?)

DictionaryRemove
17873
17542
-1.9%
1.02x

DictionaryRemoveOfObjects
53953
54583
+1.2%
0.99x (?)

DictionarySubscriptDefaultMutation
2008
2019
+0.5%
0.99x (?)

DictionarySubscriptDefaultMutationArray
2278
2273
-0.2%
1.00x (?)

DictionarySubscriptDefaultMutationArrayOfObjects
9359
9403
+0.5%
1.00x (?)

DictionarySubscriptDefaultMutationOfObjects
5406
5363
-0.8%
1.01x (?)

DictionarySwap
5252
5261
+0.2%
1.00x

DictionarySwapAt
35422
35352
-0.2%
1.00x (?)

DictionarySwapAtOfObjects
114386
113496
-0.8%
1.01x (?)

DictionarySwapOfObjects
19801
19967
+0.8%
0.99x (?)

DoubleWidthDivision
0
0
+0.0%
1.00x

DropFirstAnyCollection
12549
12440
-0.9%
1.01x

DropFirstAnyCollectionLazy
90028
89536
-0.5%
1.01x (?)

DropFirstAnySeqCRangeIter
19688
19764
+0.4%
1.00x

DropFirstAnySeqCRangeIterLazy
19618
19663
+0.2%
1.00x

DropFirstAnySeqCntRange
12557
12456
-0.8%
1.01x

DropFirstAnySeqCntRangeLazy
12520
12441
-0.6%
1.01x

DropFirstAnySequence
11331
11319
-0.1%
1.00x (?)

DropFirstAnySequenceLazy
11349
11276
-0.6%
1.01x (?)

DropFirstArray
3129
3104
-0.8%
1.01x

DropFirstArrayLazy
22080
22218
+0.6%
0.99x (?)

DropFirstCountableRange
309
309
+0.0%
1.00x

DropFirstCountableRangeLazy
23585
23409
-0.7%
1.01x

DropFirstSequence
10757
10813
+0.5%
0.99x (?)

DropFirstSequenceLazy
10822
10800
-0.2%
1.00x (?)

DropLastAnyCollection
4199
4160
-0.9%
1.01x

DropLastAnyCollectionLazy
29018
28784
-0.8%
1.01x (?)

DropLastAnySeqCRangeIter
37083
37023
-0.2%
1.00x (?)

DropLastAnySeqCRangeIterLazy
37358
37059
-0.8%
1.01x (?)

DropLastAnySeqCntRange
4185
4149
-0.9%
1.01x

DropLastAnySeqCntRangeLazy
4188
4169
-0.5%
1.00x

DropLastAnySequence
29384
29417
+0.1%
1.00x (?)

DropLastAnySequenceLazy
29826
29779
-0.2%
1.00x

DropLastCountableRange
110
107
-2.7%
1.03x

DropLastCountableRangeLazy
7859
7854
-0.1%
1.00x (?)

DropLastSequence
29384
29258
-0.4%
1.00x

DropLastSequenceLazy
29638
29446
-0.6%
1.01x

DropWhileAnyCollection
16004
15926
-0.5%
1.00x

DropWhileAnyCollectionLazy
18068
18100
+0.2%
1.00x

DropWhileAnySeqCRangeIter
21200
21295
+0.4%
1.00x

DropWhileAnySeqCRangeIterLazy
17980
18044
+0.4%
1.00x (?)

DropWhileAnySeqCntRange
16045
16009
-0.2%
1.00x

DropWhileAnySeqCntRangeLazy
18148
18199
+0.3%
1.00x

DropWhileAnySequence
12950
12841
-0.8%
1.01x (?)

DropWhileAnySequenceLazy
10831
10863
+0.3%
1.00x (?)

DropWhileArrayLazy
13570
13722
+1.1%
0.99x

DropWhileCountableRange
3929
3930
+0.0%
1.00x (?)

DropWhileCountableRangeLazy
17602
17625
+0.1%
1.00x (?)

DropWhileSequence
12386
12474
+0.7%
0.99x

DropWhileSequenceLazy
10433
10349
-0.8%
1.01x (?)

EqualStringSubstring
73
73
+0.0%
1.00x

EqualSubstringString
73
73
+0.0%
1.00x

EqualSubstringSubstring
74
74
+0.0%
1.00x

EqualSubstringSubstringGenericEquatable
56
56
+0.0%
1.00x

ExclusivityGlobal
183
183
+0.0%
1.00x

ExclusivityIndependent
71
72
+1.4%
0.99x (?)

FilterEvenUsingReduce
3553
3691
+3.9%
0.96x

FloatingPointPrinting_Double_description_small
81088
81010
-0.1%
1.00x (?)

FloatingPointPrinting_Double_description_uniform
154426
148719
-3.7%
1.04x (?)

FloatingPointPrinting_Double_interpolated
252590
251935
-0.3%
1.00x (?)

FloatingPointPrinting_Float80_description_small
94282
93067
-1.3%
1.01x

FloatingPointPrinting_Float80_description_uniform
1736455
1747659
+0.6%
0.99x

FloatingPointPrinting_Float80_interpolated
1838540
1838723
+0.0%
1.00x (?)

FloatingPointPrinting_Float_description_small
44464
43591
-2.0%
1.02x (?)

FloatingPointPrinting_Float_description_uniform
59783
57970
-3.0%
1.03x (?)

FrequenciesUsingReduce
13596
13498
-0.7%
1.01x (?)

FrequenciesUsingReduceInto
5593
5674
+1.4%
0.99x (?)

Hanoi
20185
20631
+2.2%
0.98x

HashTest
22111
21622
-2.2%
1.02x

Histogram
6382
6391
+0.1%
1.00x

Integrate
458
460
+0.4%
1.00x

IterateData
5682
5778
+1.7%
0.98x

Join
1118
1076
-3.8%
1.04x

LazilyFilteredArrayContains
730238
733046
+0.4%
1.00x

LazilyFilteredArrays
1376021
1375433
-0.0%
1.00x (?)

LazilyFilteredRange
438384
438011
-0.1%
1.00x

LessSubstringSubstring
74
73
-1.4%
1.01x

LessSubstringSubstringGenericComparable
55
55
+0.0%
1.00x

LinkedList
32077
32294
+0.7%
0.99x

LuhnAlgoEager
5739
5722
-0.3%
1.00x (?)

LuhnAlgoLazy
5865
5860
-0.1%
1.00x (?)

MapReduce
25425
25430
+0.0%
1.00x (?)

MapReduceAnyCollection
25540
25459
-0.3%
1.00x (?)

MapReduceAnyCollectionShort
35585
36104
+1.5%
0.99x (?)

MapReduceClass
29670
29689
+0.1%
1.00x (?)

MapReduceClassShort
39296
40068
+2.0%
0.98x (?)

MapReduceLazyCollection
21784
21867
+0.4%
1.00x (?)

MapReduceLazyCollectionShort
33721
32887
-2.5%
1.03x (?)

MapReduceLazySequence
18553
18545
-0.0%
1.00x (?)

MapReduceSequence
29100
29162
+0.2%
1.00x (?)

MapReduceShort
37268
36373
-2.4%
1.02x (?)

MapReduceShortString
221
228
+3.2%
0.97x

MapReduceString
1758
1762
+0.2%
1.00x (?)

Memset
44131
44126
-0.0%
1.00x (?)

MonteCarloE
1129454
1148399
+1.7%
0.98x

MonteCarloPi
5136177
5208437
+1.4%
0.99x

NSError
723
729
+0.8%
0.99x (?)

NSStringConversion
444
443
-0.2%
1.00x

NibbleSort
427361
430132
+0.6%
0.99x

NopDeinit
188551
190924
+1.3%
0.99x (?)

ObjectAllocation
1253
1254
+0.1%
1.00x (?)

ObjectiveCBridgeFromNSArrayAnyObject
27542
27169
-1.4%
1.01x (?)

ObjectiveCBridgeFromNSArrayAnyObjectForced
9664
9648
-0.2%
1.00x (?)

ObjectiveCBridgeFromNSArrayAnyObjectToString
45131
46984
+4.1%
0.96x (?)

ObjectiveCBridgeFromNSArrayAnyObjectToStringForced
44179
43924
-0.6%
1.01x (?)

ObjectiveCBridgeFromNSDictionaryAnyObject
105375
106913
+1.5%
0.99x (?)

ObjectiveCBridgeFromNSSetAnyObject
52411
51272
-2.2%
1.02x (?)

ObjectiveCBridgeFromNSSetAnyObjectToString
79881
82141
+2.8%
0.97x (?)

ObjectiveCBridgeFromNSString
2669
2658
-0.4%
1.00x (?)

ObjectiveCBridgeFromNSStringForced
2640
2584
-2.1%
1.02x (?)

ObjectiveCBridgeStubDataAppend
5564
5522
-0.8%
1.01x (?)

ObjectiveCBridgeStubDateMutation
716
716
+0.0%
1.00x

ObjectiveCBridgeStubFromNSDate
6684
6595
-1.3%
1.01x (?)

ObjectiveCBridgeStubFromNSString
973
980
+0.7%
0.99x (?)

ObjectiveCBridgeStubFromNSStringRef
193
196
+1.6%
0.98x

ObjectiveCBridgeStubNSDataAppend
2911
2959
+1.6%
0.98x

ObjectiveCBridgeStubNSDateMutationRef
16139
16264
+0.8%
0.99x (?)

ObjectiveCBridgeStubToArrayOfNSString
27851
27966
+0.4%
1.00x (?)

ObjectiveCBridgeStubToNSDateRef
3457
3482
+0.7%
0.99x (?)

ObjectiveCBridgeStubToNSString
1614
1584
-1.9%
1.02x

ObjectiveCBridgeStubToNSStringRef
153
153
+0.0%
1.00x

ObjectiveCBridgeStubURLAppendPath
373502
363286
-2.7%
1.03x (?)

ObjectiveCBridgeStubURLAppendPathRef
368089
374099
+1.6%
0.98x (?)

ObjectiveCBridgeToNSArray
28806
28375
-1.5%
1.02x (?)

ObjectiveCBridgeToNSDictionary
43170
44958
+4.1%
0.96x (?)

ObjectiveCBridgeToNSSet
34370
34535
+0.5%
1.00x (?)

ObjectiveCBridgeToNSString
1353
1348
-0.4%
1.00x (?)

ObserverClosure
6411
6408
-0.0%
1.00x (?)

ObserverForwarderStruct
4250
4256
+0.1%
1.00x (?)

ObserverPartiallyAppliedMethod
8000
7931
-0.9%
1.01x

ObserverUnappliedMethod
8177
8053
-1.5%
1.02x

OpenClose
530
512
-3.4%
1.04x

PartialApplyDynamicType
38951
39374
+1.1%
0.99x (?)

Phonebook
17655
17798
+0.8%
0.99x

PointerArithmetics
126076
125999
-0.1%
1.00x (?)

PolymorphicCalls
2439
2450
+0.5%
1.00x

PopFrontArray
4641
4654
+0.3%
1.00x (?)

PopFrontArrayGeneric
5494
5469
-0.5%
1.00x (?)

PopFrontUnsafePointer
10649
10712
+0.6%
0.99x (?)

PrefixAnyCollection
12541
12416
-1.0%
1.01x

PrefixAnyCollectionLazy
89301
89184
-0.1%
1.00x (?)

PrefixAnySeqCRangeIter
15985
15945
-0.3%
1.00x (?)

PrefixAnySeqCRangeIterLazy
15928
15934
+0.0%
1.00x (?)

PrefixAnySeqCntRange
12542
12415
-1.0%
1.01x

PrefixAnySeqCntRangeLazy
12561
12458
-0.8%
1.01x

PrefixAnySequence
9518
9399
-1.3%
1.01x

PrefixAnySequenceLazy
9393
9418
+0.3%
1.00x (?)

PrefixArray
3143
3099
-1.4%
1.01x

PrefixArrayLazy
22029
22233
+0.9%
0.99x

PrefixCountableRange
317
309
-2.5%
1.03x

PrefixCountableRangeLazy
23530
23381
-0.6%
1.01x

PrefixSequence
8940
8792
-1.7%
1.02x

PrefixSequenceLazy
8749
8718
-0.4%
1.00x (?)

PrefixWhileAnyCollection
23139
23092
-0.2%
1.00x

PrefixWhileAnyCollectionLazy
15170
15009
-1.1%
1.01x

PrefixWhileAnySeqCRangeIter
31600
32133
+1.7%
0.98x

PrefixWhileAnySeqCRangeIterLazy
15006
15169
+1.1%
0.99x

PrefixWhileAnySeqCntRange
23231
23197
-0.1%
1.00x (?)

PrefixWhileAnySeqCntRangeLazy
15109
15106
-0.0%
1.00x (?)

PrefixWhileAnySequence
25561
25734
+0.7%
0.99x

PrefixWhileAnySequenceLazy
9684
9766
+0.8%
0.99x (?)

PrefixWhileArray
10227
10290
+0.6%
0.99x (?)

PrefixWhileArrayLazy
11779
11748
-0.3%
1.00x (?)

PrefixWhileCountableRange
11062
11039
-0.2%
1.00x (?)

PrefixWhileCountableRangeLazy
14679
14684
+0.0%
1.00x (?)

PrefixWhileSequence
25285
25280
-0.0%
1.00x (?)

PrefixWhileSequenceLazy
9476
9433
-0.5%
1.00x (?)

Prims
9576
9623
+0.5%
1.00x (?)

PrimsSplit
9592
9597
+0.1%
1.00x (?)

QueueConcrete
14035
14322
+2.0%
0.98x

QueueGeneric
18101
18135
+0.2%
1.00x

RC4
16406
16598
+1.2%
0.99x

RGBHistogram
24526
24559
+0.1%
1.00x

RGBHistogramOfObjects
77817
77960
+0.2%
1.00x (?)

RangeAssignment
2645
2659
+0.5%
0.99x

RangeIterationSigned
14387
14589
+1.4%
0.99x (?)

RangeIterationSigned64
35170
35053
-0.3%
1.00x (?)

RangeIterationUnsigned
31810
31772
-0.1%
1.00x (?)

RangeReplaceableCollectionPlusDefault
10006
9976
-0.3%
1.00x (?)

RecursiveOwnedParameter
5771
5773
+0.0%
1.00x (?)

RemoveWhereFilterString
1281
1279
-0.2%
1.00x (?)

RemoveWhereFilterStrings
2432
2475
+1.8%
0.98x

RemoveWhereMoveInts
3362
3357
-0.1%
1.00x (?)

RemoveWhereMoveStrings
3884
3887
+0.1%
1.00x

RemoveWhereQuadraticInts
7595
7571
-0.3%
1.00x

RemoveWhereQuadraticString
2243
2234
-0.4%
1.00x (?)

RemoveWhereQuadraticStrings
9289
9230
-0.6%
1.01x (?)

RemoveWhereSwapInts
6026
6042
+0.3%
1.00x

RemoveWhereSwapStrings
6731
6753
+0.3%
1.00x

ReversedArray
12422
12445
+0.2%
1.00x (?)

ReversedBidirectional
42502
42323
-0.4%
1.00x (?)

RomanNumbers
1111536
1116798
+0.5%
1.00x (?)

SequenceAlgosAnySequence
10177
10199
+0.2%
1.00x

SequenceAlgosArray
760575
734662
-3.4%
1.04x

SequenceAlgosContiguousArray
282808
274793
-2.8%
1.03x

SequenceAlgosList
8315
8243
-0.9%
1.01x

SequenceAlgosRange
999990
1000278
+0.0%
1.00x (?)

SequenceAlgosUnfoldSequence
5747
5738
-0.2%
1.00x (?)

SetExclusiveOr
17413
17426
+0.1%
1.00x (?)

SetExclusiveOr_OfObjects
45768
45460
-0.7%
1.01x (?)

SetIntersect
7169
7165
-0.1%
1.00x (?)

SetIntersect_OfObjects
11123
11322
+1.8%
0.98x (?)

SetIsSubsetOf
1263
1272
+0.7%
0.99x

SetIsSubsetOf_OfObjects
1793
1818
+1.4%
0.99x

SetUnion
12379
12322
-0.5%
1.00x (?)

SetUnion_OfObjects
32210
32035
-0.5%
1.01x (?)

SevenBoom
1647
1663
+1.0%
0.99x

Sim2DArray
43441
43483
+0.1%
1.00x (?)

SortLargeExistentials
10958
10976
+0.2%
1.00x (?)

SortLettersInPlace
1805
1806
+0.1%
1.00x (?)

SortSortedStrings
935
916
-2.0%
1.02x

SortStrings
1832
1856
+1.3%
0.99x

SortStringsUnicode
2622
2600
-0.8%
1.01x

StaticArray
2604
2611
+0.3%
1.00x (?)

StrComplexWalk
6204
6199
-0.1%
1.00x

StrToInt
72696
72867
+0.2%
1.00x (?)

StringAdder
4668
4679
+0.2%
1.00x (?)

StringBuilderLong
2754
2748
-0.2%
1.00x (?)

StringBuilderWithLongSubstring
4488
4470
-0.4%
1.00x (?)

StringComparison_abnormal
1352
1317
-2.6%
1.03x

StringComparison_ascii
8598
8583
-0.2%
1.00x

StringComparison_emoji
1927
1924
-0.2%
1.00x (?)

StringComparison_fastPrenormal
4678
4705
+0.6%
0.99x

StringComparison_latin1
3648
3633
-0.4%
1.00x (?)

StringComparison_longSharedPrefix
2297
2289
-0.3%
1.00x

StringComparison_nonBMPSlowestPrenormal
3559
3552
-0.2%
1.00x (?)

StringComparison_slowerPrenormal
4022
4012
-0.2%
1.00x (?)

StringComparison_zalgo
125468
125447
-0.0%
1.00x (?)

StringEdits
338816
343958
+1.5%
0.99x (?)

StringEnumRawValueInitialization
17082
17019
-0.4%
1.00x (?)

StringEqualPointerComparison
1547
1517
-1.9%
1.02x

StringFromLongWholeSubstring
22
22
+0.0%
1.00x

StringFromLongWholeSubstringGeneric
314
318
+1.3%
0.99x (?)

StringHasPrefixAscii
3199
3162
-1.2%
1.01x

StringHasPrefixUnicode
114193
113165
-0.9%
1.01x (?)

StringHasSuffixAscii
3318
3245
-2.2%
1.02x

StringHasSuffixUnicode
106116
107408
+1.2%
0.99x (?)

StringInterpolation
14264
14509
+1.7%
0.98x (?)

StringInterpolationManySmallSegments
22752
22731
-0.1%
1.00x (?)

StringMatch
33021
32334
-2.1%
1.02x

StringRemoveDupes
1387
1418
+2.2%
0.98x (?)

StringUTF16Builder
7214
7311
+1.3%
0.99x (?)

StringUTF16SubstringBuilder
21255
21121
-0.6%
1.01x (?)

StringWalk
12594
12742
+1.2%
0.99x (?)

StringWithCString
37562
37562
+0.0%
1.00x

StringWordBuilder
2446
2439
-0.3%
1.00x

StringWordBuilderReservingCapacity
2121
2118
-0.1%
1.00x (?)

SubstringComparable
1589
1572
-1.1%
1.01x

SubstringEqualString
1675
1676
+0.1%
1.00x (?)

SubstringEquatable
5274
5379
+2.0%
0.98x

SubstringFromLongString
24
24
+0.0%
1.00x

SubstringFromLongStringGeneric
101
101
+0.0%
1.00x

SuffixAnyCollection
4217
4166
-1.2%
1.01x

SuffixAnyCollectionLazy
29970
29059
-3.0%
1.03x (?)

SuffixAnySeqCRangeIter
32616
32536
-0.2%
1.00x (?)

SuffixAnySeqCRangeIterLazy
32663
32637
-0.1%
1.00x (?)

SuffixAnySeqCntRange
4183
4164
-0.5%
1.00x

SuffixAnySeqCntRangeLazy
4199
4163
-0.9%
1.01x

SuffixAnySequence
25050
25079
+0.1%
1.00x (?)

SuffixAnySequenceLazy
25242
25279
+0.1%
1.00x (?)

SuffixCountableRange
105
105
+0.0%
1.00x

SuffixCountableRangeLazy
7851
7854
+0.0%
1.00x (?)

SuffixSequence
24922
25030
+0.4%
1.00x

SuffixSequenceLazy
24937
25033
+0.4%
1.00x (?)

SumUsingReduce
159243
158381
-0.5%
1.01x (?)

SumUsingReduceInto
149800
151236
+1.0%
0.99x

SuperChars
123894
122950
-0.8%
1.01x (?)

TwoSum
3643
3666
+0.6%
0.99x (?)

TypeFlood
191
194
+1.6%
0.98x (?)

UTF8Decode
29181
29330
+0.5%
0.99x

Walsh
12097
12022
-0.6%
1.01x (?)

WordCountHistogramASCII
34825
34809
-0.0%
1.00x (?)

WordCountHistogramUTF16
43334
43534
+0.5%
1.00x (?)

WordCountUniqueASCII
7411
7411
+0.0%
1.00x

WordCountUniqueUTF16
11813
11835
+0.2%
1.00x (?)

WordSplitASCII
21896
22552
+3.0%
0.97x (?)

XorLoop
23227
23228
+0.0%
1.00x (?)

Added (2)

TEST
MIN
MAX
MEAN
MAX_RSS

ChainedFilterMap
224542
240224
229985
8867840

FatCompactMap
294530
298007
295731
8863744

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

authors: moiseev swift-ci


text:
Don’t dive into null parts of AST.

When compiling code with certain errors, it is possible to get null pointers in the AST.
The compiler indexes even when there are errors, and the indexing code then tries to walk into the null pointers, causing a crash. As a result, the frontend crashes, and the developer does not get to see the errors. This PR adds a null check for this specific case. It does not solve the general problem.

Resolves rdar://42314665

@swift-ci please smoke test

@akyrtzi Did you want to look at this? Thanks!

Generally it would be ideal if you could add a regression test but I can understand if it is too difficult to reduce the original failing test case.

@swift-ci please smoke test

I agree a regression test would be great. If I can come up with one, I'll do another PR.

source: gharchive/pull-request

authors: akyrtzi davidungar

repo: apple/swift

license_type: permissive

license_source: github-api


text:
[Runtime] Rename swift_unknown* functions to swift_unknownObject*.

These functions don't accept local variable heap memory, although the names make it sound like they work on anything. When you try, they mistakenly identify such things as ObjC objects, call through to the equivalent objc_* function, and crash confusingly. This adds Object to the name of each one to make it more clear what they accept.
rdar://problem/37285743

@swift-ci please test

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 659cfdc7e5aac9ae4d354ee3f27eb7a19a0f5474

Build failed
Swift Test Linux Platform
Git Sha - 659cfdc7e5aac9ae4d354ee3f27eb7a19a0f5474

Build failed
Swift Test OS X Platform
Git Sha - 659cfdc7e5aac9ae4d354ee3f27eb7a19a0f5474

@swift-ci please test linux

Build failed
Swift Test Linux Platform
Git Sha - 46309d9794e0b1634d0336116ae540080140775a

@swift-ci please test linux

Build failed
Swift Test Linux Platform
Git Sha - 46309d9794e0b1634d0336116ae540080140775a

authors: mikeash swift-ci


text:
[5.0] Don't duplicate basic blocks ending in dynamic_method_br

IRGen does not support objc methods thunks.

No ABI impact
Fixes a compiler crash

rdar://46531828

@swift-ci Please test


text:
[AutoDiff] NFC: prettify commutative diagrams.

Make commutative diagrams pretty using Unicode box characters.
Use lowercase letters for arrow names.

Rationale: if we're going to draw a diagram, we might as well make it as pretty as possible. Maintenance shouldn't be an issue.
Unicode resource: https://antofthy.gitlab.io/info/data/utf8-demo.txt
Inspired by: https://twitter.com/lexi_lambda/status/1255988716390297601

@swift-ci Please smoke test

Linux CI seems to have flaked.
@swift-ci Please smoke test Linux

@swift-ci Please smoke test Linux

@swift-ci Please smoke test Linux


text:
[CodeCompletion] Assume non-'isSimpleDidSet' in code completion

Code completion always want to see implicit oldValue with the correct type. Return false from SimpleDidSetRequest in code completion mode.
rdar://problem/64699286

@theblixguy Do you think this workaround is safe?

@swift-ci Please smoke test

Hmm, I am just slightly worried that we could end up in a state where the request evaluator has cached a false result from the request but the oldValue hasn't been referenced in the didSet body (ex: the user started code completion, typed oldValue but then deleted it). Is this scenario plausible? I am not too familiar with the interactions between code completion and request evaluator.

I can assure that the ASTContext won't be shared between code completion and normal compilation.

That's what I was wondering. If the context isn't shared, then I think this is totally fine to do!

@swift-ci Please smoke test

@swift-ci Please smoke test

authors: rintaro theblixguy


text:
[5.7] Integrate string processing API changes into release/5.7

Friend PR: apple/swift-experimental-string-processing#298.

apple/swift-experimental-string-processing#291
@swift-ci please test

https://github.com/apple/swift-experimental-string-processing/pull/298
@swift-ci please test

https://github.com/apple/swift-experimental-string-processing/pull/298
@swift-ci please test

https://github.com/apple/swift-experimental-string-processing/pull/298
@swift-ci please test

https://github.com/apple/swift-experimental-string-processing/pull/298
@swift-ci please test macOS

authors: Azoy rxwei


text:
WIP Error out when things fail to load (proof of concept)

Turns deserialization into a failable operation, in case a module's dependency has changed. This is a very very basic implementation that just threads the 'Expected' type through everything; it probably still results in just as much crashing as before when things are invalid, but hopefully still passes in all the cases where the existing code passes. This isn't something we can immediately work on, but I wanted to see if it could pass a PR test.

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 8701fafba797c542cc15694bb267adb93cc9d314
Test requested by - @jrose-apple

Oh, this looks cool

Yep. It's just several weeks' worth of work instead of several days. We'll probably need it if SDKs can ever change out from under you, though.

New version of this that got applied to certain operations in Swift 4 is much better. Closing.

authors: jrose-apple slavapestov swift-ci


text:
[3.1] Emit delayed conformance diagnostics in multi-file scenarios

The protocol conformance checker tries to delay the emission of
diagnostics related to the failure of a type to conform to a protocol
until the source file that contains the conformance is encountered, to
provide redundant diagnostics. However, if a file produced only such
delayed diagnostics, such that all diagnostics were suppressed,
invalid ASTs could slip through to later stages in the pipeline where
they would cause verification errors and crashes. This happens
generally with whole-module-optimization builds, where we are re-using
an ASTContext when typing multiple source files.
This is a narrow-ish fix to stop dropping diagnostics from one source
file to the next in whole-module-optimization builds, along with another fix to detect cases where we're suppressing an error due to a conformance-related diagnostic that will be emitted in another file and emit something.
Resolves rdar://problem/29689007.

@swift-ci please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - d988e780b9cc393f16a57e3221f0d4896ebb883b
Test requested by - @DougGregor

@shahmishal , the Linux build ( https://ci.swift.org/job/swift-PR-Linux/4773/consoleFull#89513194756633f0f-8823-4f82-9a4a-0c0d97ce7760 ) timed out trying to fetch the repos

@swift-ci please test Linux

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - d988e780b9cc393f16a57e3221f0d4896ebb883b
Test requested by - @DougGregor

@swift-ci please test Linux

@shahmishal , the Linux build ( https://ci.swift.org/job/swift-PR-Linux/4773/consoleFull#89513194756633f0f-8823-4f82-9a4a-0c0d97ce7760 ) timed out trying to fetch the repos

This sounds like network issue on Github servers.

@swift-ci please test

@swift-ci please test

authors: DougGregor shahmishal swift-ci


text:
Implement checking for misuse of self in discard-ing contexts.

As part of SE-390, you're required to write either:

consume self
pass self as a consuming parameter to a function
discard self

before the function ends in a context that contains a
discard self somewhere. This prevents people from accidentally
invoking the deinit due to implicit destruction of self before
exiting the function.
rdar://106099027

@swift-ci please smoke test

@swift-ci smoke test and merge


text:
AST: Requestify lookup of protocol referenced by ImplementsAttr

Direct lookup relied in primary file checking to have filled in the protocol type stored in the ImplementsAttr. This was already wrong with multi-file test cases in non-WMO mode, and crashed in the ASTPrinter if printing a declaration in a non-primary file.
I don't have a standalone test case that is independent of my upcoming ASTPrinter changes, but this is a nice cleanup regardless.

@swift-ci Please smoke test


text:
[Observable] Test macro through the plugin server

As a non-trivial macro, Observable is a good stress-test for the plugin server. Make sure to run it as part of regression testing.

@swift-ci please smoke test


text:
[Concurrency] Fix signature mismatch of _task_serialExecutor_checkIsolated

_task_serialExecutor_checkIsolated is defined as returning nothing in Executor.swift, but it was used as returning a boolean in C++ side.

@swift-ci smoke test

Lgtm thanks

Would you mind making a pr to release/6.0 as well?

Sure~

Opened a cherry-pick PR https://github.com/apple/swift/pull/72736

Thank you!

authors: kateinoigakukun ktoso


text:
Drawing classifier pretrained_model_url=None API change request

Drawing classifier uses pretrained_model_url as
We should consider renaming the option to warm_start:

'auto' as the default
None as the disabled one
string i.e a name of the model (e.g. quick-draw-1000) to refer to specific versions
URLs should be reserved for testing and extra customization.

@TobyRoseman Sound classifier should follow something similar too.

Closed by #1610

source: gharchive/issue

authors: shantanuchhabra srikris

repo: apple/turicreate


text:
ModelSelect2Mixin - avoid queryset evaluation

ref #285

Coverage remained the same at 99.107% when pulling e3503c98d661e69d1478fb50fd02779eb369b93a on thejoeejoee:master into 99aed19308446389447d39ff54b3468c97fb7c7b on applegrew:master.

Released in 5.8.7

authors: codingjoe coveralls thejoeejoee

license: MIT


text:
Improvements to MacOS packaging

ported over changes from appleseed-maya packaging
package script optionally builds a Application
package script builds dmg file instead of zip

@dictoon how is this for the drive icon instead? I rendered it with appleseed.

I rendered it with appleseed.

Ah, lovely touch :)
The logo is a bit washed out, maybe that can be fixed in post to approach the correct color?

The logo is a bit washed out

You are correct the texture is getting double srgb'd.  Enabling CMS on the asTexure fixes it.

also keymixed in the albedo for the logo

Lovely!

Testing your script, I got the following error:
  Mac-specific: Adding dependencies to staging directory...
Traceback (most recent call last):
  File "./appleseed.package.py", line 1244, in <module>
    main()
  File "./appleseed.package.py", line 1238, in main
    package_builder.build_package()
  File "./appleseed.package.py", line 393, in build_package
    self.orchestrate()
  File "./appleseed.package.py", line 411, in orchestrate
    self.postprocess_stage()
  File "./appleseed.package.py", line 707, in postprocess_stage
    self.__add_dependencies_to_stage()
  File "./appleseed.package.py", line 734, in __add_dependencies_to_stage
    self.add_unix_dependencies_to_stage(self.get_paths_to_binaries())
  File "./appleseed.package.py", line 504, in add_unix_dependencies_to_stage
    libs = self.get_dependencies_for_file(path)
  File "./appleseed.package.py", line 993, in get_dependencies_for_file
    fatal("Unable to Resolve lib {}", lib)
TypeError: fatal() takes exactly 1 argument (2 given)

Guess there needs to be a .format(lib) there instead

Hi Mark,
I'd love to get this PR merged. Would you mind updating it? I'll also do some more tests in the coming days.
Thanks!

Sorry for the delay, a couple other projects came up. I'll try and get this finished up when I'm back from holidays in the new year!

Hi @markreidvfx, thanks your contribution :) Do you still plan on working on that PR? It seems there is very few changes to make before being able to merge it into master.

Sorry, I got really busy and must have forgotten about this.  I'll try and find some time to finish it, just have too many ongoing projects at the moment.  If anyone want to take it over, feel free too.

authors: dictoon markreidvfx oktomus

repo: appleseedhq/appleseed

license: mit

license_source: bigquery


text:
Set --apiserver-count flag on API servers

When standing up an HA cluster, we need to set the --apiserver-count flag on the API servers.
See https://github.com/kubernetes/kubernetes/issues/24327

We actually do set this flag. Closing.

repo: apprenda/kismatic


text:
fix: typo on datasource

Checklist
I have:

[ ] run the content through Grammarly
[ ] linked to sample apps when relevant
[ ] added the meta description for each page in the PR
[ ] minimized the callouts and added only when necessary
[ ] added the queryString parameter to the Tabs (if used)
[ ] masked PII in images. For example, login credentials, account details, and more
[ ] added images only when necessary
[ ] deleted the images that are no longer used for the updated pages in the PR
[ ] followed the image file naming convention while renaming or adding new images. (Use lowercase letters, dashes between words, and be as descriptive as possible)
[ ] used the <figure/> tag instead of a markdown representation for images
[ ] added the <figcaption/> tag to add a caption to the image
[ ] added the alt attribute in the <img/> tag
[ ] verified and updated the cross-references or created redirect rules for the changed or removed content
[ ] reviewed and applied the style changes for UI formatting. For example, Bold the UI elements(Buttons on screen) used in the doc.

@jenting thanks for flagging this.

authors: danciaclara jenting

repo: appsmithorg/appsmith-docs


text:
[Bug]: Phone & currency Input widget Popup breaks on wrong search text in popup filter

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we do quick search on popup that appears to change country code/currency, the popup breaks when we do wrong search instead of showing 'No results'
https://www.loom.com/share/e876c382aedf47eb9b349d9ef7b19245
Steps To Reproduce

Add Phone Input/Currency Input Widget onto canvas
Enable Change Country Code/Currency option from property pane
Now search with wrong input in the popup of change country code/currency
Observe that popup disappears as soon as we add wrong text in the search input

Public Sample App
No response
Version
Cloud/Production

Have verified phone and currency input widget with invalid values, moving to done.

repo: appsmithorg/appsmith


text:
[Docs]:  #11982 [Feature] HubSpot CRM API Saas Integration

Is there an existing issue for this?

[X] I have searched the existing issues

Documentation Link
No response
Describe the problem

TODO

[ ] Evaluate if this task is needed. If not add the "Skip Docs" label on the parent ticket
[ ] Fill these fields
[ ] Prepare first draft
[ ] Add label: "Ready for Docs Team"

Field
Details

POD
BE Coders Pod

Parent Ticket
#11982

Engineer

Release Date

Live Date

First Draft

Auto Assign

Priority

Environment

As discussed with @jnikhila, the HubSpot Docs could become huge (~40 commands). So, we decided to segregate the work on different issues.
My proposal is to have an issue that serves as an introduction (what's HubSpot, how to get a token, how to create a data source), and other issues for the different scopes of the HubSpot Integration (CMS stuff, CRM stuff, Settings, Domains, etc).
Proposed Structure / Organization of Issues/Drafts

13466 - [Docs] #11404 [Feature] HubSpot Integration

What's HubSpot?
Creating a Private App and getting a Token
Creating a Datasource
Making a basic Query.

13267 - [Docs] #13026 [Feature] HubSpot CMS Domains API Saas Integration

Everything related to the CMS Domains commands.

13266 - [Docs] #13028 [Feature] HubSpot CMS URL Redirects API Saas Integration

Everything related to the CMS URL Redirects commands.

13021 - [Docs] #12151 [Feature] HubSpot Settings API Saas Integration

Everything related to the CMS URL Redirects commands.

17817 - [Docs]: #11983 [Feature] HubSpot Files API Saas Integration

Everything related to the Files commands.

17818 - [Docs]: #11982 [Feature] HubSpot CRM API Saas Integration

Everything related to the CRM commands.

17819 - [Docs]: #11984 [Feature] HubSpot CMS HubDB API Saas Integration

Everything related to the CMS HubDB commands.

Duplicate of 1280

authors: danciaclara felix-appsmith


text:
[Bug]: Evaluations returns the exepected value later in the cycles

Is there an existing issue for this?

[X] I have searched the existing issues

Description
It is observed that for the JSONForm widget whenever we have a field that recieves the data as Array of objects or nested object structure then the defaultValue is getting evaluated late in the cycles.
Consider the following scenario:
For the Array field type, the defaultValue  property is not getting evaluated correctly. Since it is an array field we expect that the value should directly get evaluated to an array but instead it gets first evaluated to string and in the later cycles it resolves to array.
Here is the observations while debugging:
1st Cycle:
Validation config: STRING
evalTree output: schema._root_schema_.genres.defaultValue = '[{"name":"Action","id":28},{"name":"Adventure","id":12},{"name":"Science Fiction","id":878}]'
2nd Cycle:
Validation config: ARRAY
evalTree output: same as above string value
3rd Cycle:
Validation config: ARRAY
evalTree output: = Gives the correct array i.e.
[   {     "name": "Action",     "id": 28   },   {     "name": "Adventure",     "id": 12   },   {     "name": "Science Fiction",     "id": 878   } ]
As you can see from above even if the validation config has changed to ARRAY type in 2nd eval but still in the eval tree we get string value.
Here the expected behaviour should be that the defaultValue should get evaluated in the second cycle itself.
Steps To Reproduce

Create a mongo query that fetches the data. Make sure the data has some nested structured data like Array of objects. You can make use of sample movies DB which is a mongo db datasource.
Find this query to a table.
Dnd a JSON form and bind it's sourceData like this: Table1.selectedRow.
Now try to deselect a row in a table and select the row again.
Observe the dataTree log during the above cycles

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud

@arunvjn could you investigate the reason for delayed evaluations?


text:
[Bug]:This value does not evaluate to type Video URL

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I try to give a static Ip address to the video widget, it returns: "This value does not evaluate to type Video URL."
The strange thing is when I bind the I.P. address to an Iframe with a 'video' tag, it works.
I'm on the latest version (1.9.27), self-hosted with Docker.
Steps To Reproduce

Drag a video widget to the canvas
Try to use an IP address for the URL.

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud & Self - Hosted 1.9.27

Just reported this issue on the discord server. We need this feature because on a self-hosted application we may not have an internet connection sometimes, but we have a LAN and a server to take the things we need. The video is needed because we use it as "proof" of a taken action.

same issue, please save me ,baby.

Should be an easy fix, @somangshu @sbalaji1192 can this be a good first issue?

@dilippitchika Yes, need to update the validation of the property.

Hi, would love to help out. Is this completed already>?

@HyMike this is not yet done, you can pick it up

Hi,i would love to contribute to this , is this still open?

Hi, is this issue still open? @Nirupam-Naragund have you fixed?

authors: Dorian6005 HyMike Nikhil-Nandagopal Nirupam-Naragund alzerwv becmorrell dilippitchika narhzih sbalaji1192


text:
feat: Support row virtualization using react-window in table widget

Introducing the virtual row functionality to improve the performance of the table when there are a lot of rows to render.
React-window library is used to implement the virtual row functionality. This functionality will only be enabled if the cell wrapping of all the columns is disabled since the virtual expects each row of constant height.
Fixes #16567
Fixes #17178
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Following cypress tests have been added

should check that row is getting rendered.
should check that virtual rows are getting rendered when scrolling through the table
should check that the virtual rows feature is turned off when cell wrapping is enabled

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Tested and verified for:
Row Virtualization
Regression on the table widget

/ok-to-test sha=6914918

/ok-to-test sha=0706d29

/ok-to-test sha=d8630a0

Tested and verified:
-Performance testing with large number of records (1000 records, 40 cols)
-Regression on table widget.
-Functionality in view and edit mode.

/ok-to-test sha=d8630a0


text:
fix: auto height text widget hide overflow

Hiding the Overflow options in the Text widget if Auto Height is enabled.

@ankurrsinghal @Sripriya93 Adding a note regarding the feature missing from this:
The value of overflow property should become no-overflow when dynamic height is enabled, this is so that the dynamic height feature works correctly.

authors: ankurrsinghal riodeuno


text:
chore: Move error from saga to action creator

Description
Improve error reporting for missing page id
Fixes # (issue)

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.
Delete anything that is not important

Manual
Jest
Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test


text:
fix: Debugger shows up with no tab selected

Pull Request Template
Use this template to quickly create a well written pull request. Delete all quotes before creating the pull request.

Description

Add a TL;DR when description is extra long (helps content team)
Please include a summary of the changes and which issue has been fixed. Please also include relevant motivation
and context. List any dependencies that are required for this change
Links to Notion, Figma or any other documents that might be relevant to the PR

PR fixes following issue(s)
Fixes # (issue number)

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/build-deploy-preview skip-tests=true


text:
nodejs(all): npm install runs as root in the container, so can't write to disk

Describe the bug
A clear and concise description of what the bug is.
The npm install runs as root in the container, and since npm runs package-defined scripts, it has a protective mechanism to avoid running them as root, it drops its privileges to "nobody". This goes quite poorly when the package install has to write artifacts to disk, like every C++ addon does.
EDIT: by poorly, I mean impossible, the user nobody lacks file write permission, so c++ addons can't be compiled, their output can't be written
Reproduction:
appsody init nodejs-express
npm install modern-syslog
appsody run
cloud-node/ex-ext2 % appsody run
Running development environment...
Using local cache for image dev.local/nodejs-express:0.3.0
Running command: docker run --rm -p 3000:3000 -p 9229:9229 --name ex-ext2-dev -v /home/sam/w/cloud-node/ex-ext2/:/project/user-app -v ex-ext2-deps:/project/user-app/node_modu
les -v appsody-controller-0.3.1:/.appsody -t --entrypoint /.appsody/appsody-controller dev.local/nodejs-express:0.3.0 --mode=run
[Container] Running APPSODY_PREP command: npm install --prefix user-app && npm audit fix --prefix user-app
[Container] [..................] | rollbackFailedOptional: verb npm-session 42605430b3

[Container] > modern-syslog@1.2.0 install /project/user-app/node_modules/modern-syslog
[Container] > node-gyp rebuild
[Container]
[Container] gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/10.16.3"
[Container] gyp WARN EACCES attempting to reinstall using temporary dev dir "/project/user-app/node_modules/modern-syslog/.node-gyp"
[Container] gyp WARN install got an error, rolling back install
[Container] gyp WARN install got an error, rolling back install
[Container] gyp ERR! configure error
[Container] gyp ERR! stack Error: EACCES: permission denied, mkdir '/project/user-app/node_modules/modern-syslog/.node-gyp'
[Container] gyp ERR! System Linux 5.3.0-23-generic
[Container] gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
[Container] gyp ERR! cwd /project/user-app/node_modules/modern-syslog
[Container] gyp ERR! node -v v10.16.3
[Container] gyp ERR! node-gyp -v v3.8.0
[Container] gyp ERR! not ok
[Container] npm ERR! code ELIFECYCLE

Some possible fixes for this:

do npm install --unsafe-perm: this means when the install runs as root, it stays root. This might be OK since the install is occurring in a container anyhow, maybe exploitation of the container's root user is not a concern?
run npm install as a non-root user, this might fix the other issue, where running as root is causing root-owned files to show up in the developer's account.

Expected behavior
npm install to suceed
Actual behaviour
npm install fails
Environment Details (please complete the following information):

OS: Linux (but since behaviour is in the container, should repro on other OS)

If applicable please specify:

CLI version:
Stack you are using (including the version): nodejs-express, but should repro on any stack

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Originally reported at https://github.com/appsody/stacks/issues/518#issuecomment-557698939, but since I found that bug is unrelated to npm (see https://github.com/appsody/stacks/issues/518#issuecomment-565157560).

Possibly fixed by #589

repo: appsody/stacks


text:
Can't scan long CODE 39 barcodes

I am using code 39 barcode. (Like in the img below)

This does not scan on my Nexus 5x with Android 8.1.0
On Pixel scan is wrong 9/10 times.
Works fine on Samsung s8 and Pixel 3.

This is fixed - only had to upgrade to newer version


text:
fix(an-2688): update puppeteer, launch parameters, and async functions

Description:
Bump puppeteer version to 22
Change headless from new to shell as stated in the breaking changes.
Updated launch args and disable unnecessary functions.
Joined async tasks and await together using Promise.all

:tada: This PR is included in version 2.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: apvsystem deguzman-carlo


text:
Add support for aptible domain:create

To create custom VHOSTs for a given app
aptible domain:create --service [web, worker] --type [internal, external] \
--app [APP_HANDLE] --cert [PATH_TO_CRT_FILE] #omit --cert to use existing certificate

Could help with automation.

:+1:

:+1:

:+1:

For anyone following this issue, we've rolled out support for Aptible Toolbelt commands to create an manage HTTPS endpoints (as well as TCP and TLS endpoints). Read more here: https://www.aptible.com/changelog/create-modify-and-delete-endpoints-using-the-aptible-toolbelt

authors: fancyremarker gabehamilton scottynomad syawaralaycare wcpines

repo: aptible/aptible-cli


text:
[Feature Request]: About Section Not Working on Myntra Clone

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The "About" section on the Myntra clone is not functioning as expected. Users are unable to view the information intended to be displayed in this section.
Use Case
Improves User Experience:
Provides Context: The "About" section can give users an overview of the project, explaining its purpose, goals, and the motivation behind its creation. This helps users understand what the application is for and how it can be useful to them.
Builds Trust: By including information about the developers, the technologies used, and the project's objectives, users can feel more confident in using the application. It adds a layer of transparency and credibility.
Guides Users: It can include instructions or guides on how to navigate the site, what features are available, and how to make the most of them. This is especially useful for first-time visitors.
2. Facilitates Developer Collaboration:
Onboarding New Contributors: For open-source projects, the "About" section can serve as an initial point of reference for new contributors. It can provide information about the project's structure, key features, and how to get involved.
Documentation: Including technical details about the stack, architecture, and development guidelines helps maintain consistency and quality across contributions. It can also include links to more detailed documentation or contribution guidelines.
3. Enhances Project Presentation:
Professionalism: A well-crafted "About" section demonstrates attention to detail and professionalism. It shows that the project is well-thought-out and maintained, which can attract more users and contributors.
Marketing: For projects aiming to gain traction, the "About" section can act as a marketing tool. It can highlight unique features, showcase testimonials or success stories, and provide a narrative that resonates with the target audience.
Benefits
Benefits to the Project
Increased Usability:
User Guidance: Provides new users with essential information about the project's purpose, features, and navigation. This makes the application more user-friendly and accessible.
Enhanced User Experience: By clearly explaining what the application does and how to use it, users are more likely to have a positive experience, leading to higher user satisfaction and retention.
Professionalism and Credibility:
Transparency: Showcasing the development team, technologies used, and the project's goals adds a layer of transparency, making the project appear more professional and credible.
Trust Building: Users are more likely to trust an application that openly shares its mission, background, and the people behind it.
Effective Communication:
Clear Messaging: An "About" section helps convey the project's mission and vision clearly, ensuring that users and potential contributors understand the project's goals and objectives.
Attracting Contributions:
Onboarding New Contributors: For open-source projects, a detailed "About" section can help attract and onboard new contributors by providing them with a clear understanding of the project.
Documentation Hub: Serves as an initial reference point for developers, making it easier to understand the project's structure, coding standards, and contribution guidelines.
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[ ] I'm a GSSOC'24 contributor
[X] I'm a SSOC'24 contributor
[X] I have starred the repository

@apu52 please assign me the issue

@sanjay-kv please assign me

@payalsinha12 Assigned!
Make sure to attach before & after screenshots in your PR. Also, star the repo before working on it. While creating your PR, ensure you pull all existing changes beforehand to avoid conflicts.
Happy open-source contributing!


text:
fix(631): load style and index.js correctly in food website

Title and Issue number

Title : Food Website styles and items are not loading
Issue No. : #631
Code Stack : html changes only
Close #631
Video (mandatory)

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
2 Commits in total

Prettier is applied to code for better readability in first commit
Path is updated in second commit to load styles and index.js file to make website work

Are you contributing under any Open-source programme?

@Hassaan68 great Work!!!!!!!!!!!

thanks @apu52


text:
Will the mod be on Forge?

Ik fabric is good for performance and a lot of things, just curious since i'm working on a modpack for Forge :p

I currently have a special version on GitHub that is compatible with Sinytra Connector. I might make a Forge port in the future, but it's not really a priority right now, unfortunately.

Hey guys, there's actually now a hotfix mod for the swimming issue on the connector. It resolves the issue completely (including for newly spawned mobs) without any need for the command. Here it is: https://github.com/unilock/sinytra1343/releases/tag/1.1.0

Nice!!!

authors: aqariio dsniav santacapra

repo: aqariio/Fowl-Play


text:
Failed to install aqua v2.27.4

https://github.com/aquaproj/aqua-registry/pull/22727
https://github.com/aquaproj/aqua-registry/actions/runs/9029687702/job/24812502432?pr=22727

FAILED: SLSA verification failed: error searching rekor entries: no matching rekor entries
time="2024-05-10T08:43:57Z" level=info msg="Verification by slsa-verifier failed temporarily, retring" aqua_version=2.25.1 env=linux/amd64 new_version=v2.27.4 package_name=aquaproj/aqua package_version=v2.27.4 program=aqua registry= retry_count=4 wait_time=929ms
Verifying artifact /tmp/898778525: FAILED: error searching rekor entries: no matching rekor entries

SLSA verification failed: error searching rekor entries: no matching rekor entries

The bootstrap version is v2.25.1.
The version of slsa-verifier is v2.4.1.
https://github.com/aquaproj/aqua/blob/eda70876eb1041fe258cf6039372d692cf828e04/pkg/slsa/version.go#L3

The latest version is v2.27.4.
The version of slsa-verifier is v2.5.1.
https://github.com/aquaproj/aqua/blob/b86c9a1e68fb44596d665f0b654de5b7ac2de6d4/pkg/slsa/version.go#L3

https://github.com/suzuki-shunsuke/go-release-workflow/releases/tag/v1.0.1
chore(deps): update slsa-framework/slsa-github-generator action to v2

https://github.com/suzuki-shunsuke/go-release-workflow/pull/77
https://github.com/slsa-framework/slsa-github-generator/blob/HEAD/CHANGELOG.md#v200

repo: aquaproj/aqua-installer


text:
When installing snaplet/cli, it doesn't include the default version from snaplet/cli/pkg.yaml

package name
snaplet/cli
aqua version

aqua version 2.10.1 (fbf3b157b21897fa2f315fbc30474acafded108d)

Environment

MacOS
arm64

Overview
How to reproduce

aqua init
aqua g -i snaplet/cli

Expected Behavior
I would expect the above commands would grab the 0.54.3 version specified here: https://github.com/aquaproj/aqua-registry/blob/main/pkgs/snaplet/cli/pkg.yaml#L2
Actual Behavior
It updates aqua.yaml to the following:
---
# aqua - Declarative CLI Version Manager
registries:
- type: standard
  ref: v4.30.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: snaplet/cli
  version: "[SET PACKAGE VERSION]"

Oh, I tried to transferred this issue to aquaproj/aqua because this issue is related to the feature of aqua,
but I remembered that everyone other than me can't create issues in aquaproj/aqua. 😅
So I gave up transferring this issue.

aqua-registry's pkg.yaml is updated automatically if the package has repo_owner and repo_name.
e.g.

https://github.com/aquaproj/aqua-registry/pull/14080

But if the package doesn't have repo_owner and repo_name, the version isn't updated automatically.
The version will get old, so I'm wondering if it is good to get the version from pkg.yaml.
I'm wondering if it's worth to implementing the feature.

Yeah, I see your point on the pkg.yaml version getting old -- that is legitimate and would likely cause issues for future installers thinking they are installing the latest, but instead they're installing something that is potentially months or years old.
If there was another source for pulling the latest version for the project, would it be possible to support that? Maybe if there were an open http endpoint that could return some data on the latest version?
I could see some schema like this working:
packages:
  - name: snaplet/cli
    type: http
    package_version_fetch:
        type: http
        json_path: .content.versions.latest
    ...

Yeah, it makes sense.
There is a proposal about it.

https://github.com/aquaproj/aqua/issues/682

We don't work on it yet because we have other tasks and only a few tools are providing such an endpoint.

Gotcha -- that makes sense @suzuki-shunsuke. I'll close this issue and we can keep the conversation going in the above mentioned issue. Thanks for the discussion and pointing that out!

authors: Gowiem suzuki-shunsuke

repo: aquaproj/aqua-registry


text:
Show how manifesto affects repository

I think it would be worthwhile including a screen shot and some details about what users should expect in Hub when they add a manifest.
For example, seeing the _manifesto_lumogon and _manifesto images wasn't unexpected but could be for some users. And setting expectations is useful I think. ehg. https://hub.docker.com/r/puppet/puppet-agent/tags/

I've managed to build the manifesto app after some tweaking with the GOPATH. Question, will it work on any docker image ?  I'm getting "Couldn't get digest: digest not found in []" when I run the manifesto put on the image. I then see another image created with the _manifesto_something tag. Can it be updated to accept image ID also?  I am unable to query the manifesto status of the newly created image with the _manifesto_something tag.

Hi @viccab, it will only work on image repos that you have write access to. See #5 - does that help? If not, please do raise another issue - it would be helpful if you could copy in the output you get from the manifesto commands and from running docker images. Thanks!

Thanks, Liz!  I got it to work already.

I agree with @garethr.  Are you going to add also some cleanup of  _manifesto_lumogon and _manifesto images in the local repo?   manifesto appears to query the Hub registry for the metadata and does not need the 2 manifesto images.

Yes, the intention is to store the metadata directly in blobs rather than
in their own image (see the notes at the end of the README)
On Wed, 26 Jul 2017 at 17:38, viccab notifications@github.com wrote:

I agree with @garethr https://github.com/garethr. Are you going to add
also some cleanup of _manifesto_lumogon and _manifesto images in the local
repo? manifesto appears to query the Hub registry for the metadata and does
not need the 2 manifesto images.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aquasecurity/manifesto/issues/2#issuecomment-318110884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAb_eNEw0NyjbBCp8mUsToWAmpJhjNt9ks5sR2uagaJpZM4OVxc9
.

--
Liz Rice
lizrice.com | +44 (0) 780 126 1145 | skype lizrice

I think this is sorted now we have blob storage, and we document the _manifesto image tag. Please shout if you think it needs more clarity.

authors: garethr lizrice viccab

repo: aquasecurity/manifesto


text:
Add check for tfvars files and warn if not being used.

Closes #641, provide a warning when a tfvars is available but not being used by tfsec

Hi @owenrumney, I'm 6 months into Terraform and based on what I've read, it seems the correct parameter to check would be -var-file, not --tf-vars. I tried to make TF work using --tf-vars, but it doesn't recognize it.

Should I open a new Issue to discuss this?

authors: diogomaul owenrumney

repo: aquasecurity/tfsec


text:
Keep the check for rule AWS021 consistent with the error message

The error message for AWS021 says -
"You should not use outdated/insecure TLS versions for
encryption. You should be using TLS v1.2+."
The rule is now consistent with this version and will not
complain if you afix a version higher than what tfsec prescribes.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html#secure-connections-supported-ciphers

I don't think we'll need this as the next iteration is likely to be a TLS 1.3 policy rather than 1.2 2022 etc.

authors: bitsapien liamg


text:
Update Plugin Artifacts Links for v0.151.14

Automated changes by create-pull-request GitHub action

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

repo: aquasecurity/trivy-plugin-aqua


text:
Macro names and parameters should not be visible

Description
Macro name and parameters are not visible in the rendered PDF file, but only in the HTML version.
This problem seems to arise for all paper using the standard class for the TheoretiCS journal (https://theoretics.episciences.org/)

If this can not be changed on arXiv's end, the editors of TheoretiCS would be interested in how to change the class file to avoid the issue.
(Optional:) Please add any files, screenshots, or other information here.
No response
(Required) What is this issue most closely related to? Select one.
Other
Internal issue ID
141f2647-0033-4042-a40c-815bb7f16acc
Paper URL
https://browse.arxiv.org/html/2212.12802v2
Browser
Chrome/120.0.0.0
Device Type
Desktop

@rasmus-pagh it's not about changing the original class file per se. Instead, one would need a new binding (a .cls.ltxml file) contributed to the LaTeXML project, so that the macros receive appropriate support.

Thanks for the quick reply! The journal is nonprofit, open access, and run by volunteers so I am not sure if there are resources for them to create a mapping file. On the other hand it is potentially not too complicated in which case I might be able to help.

Right, it's either their team, some of their authors, or us (the latexml team) that eventually has to spend some time and contribute a mapping file.
We have some last resort fallbacks in place in latexml, where an unknown class may receive partial support, but only when the frontmatter macros defined by the class file match exactly the standard names (and the usual argument signatures). If \ThCSauthor was exposed as the regular \author, the fallback support would have kicked in.
But if you'd like high quality markup, someone has to write a dedicated mapping file.

authors: dginev rasmus-pagh


text:
addWebpackExternals: react is not defined

Problem：
when i use addWebpackExternals(deps):
addWebpackExternals({
  react: "React",
  "react-dom": "ReactDom"
});

browser occur following error:
external "react":1 Uncaught ReferenceError: react is not defined
    at Object.react (external "react":1:1)
    at __webpack_require__ (bootstrap:789:1)
    at fn (bootstrap:150:1)
    at Module../src/index.tsx (index.less?1e97:45:1)
    at __webpack_require__ (bootstrap:789:1)
    at fn (bootstrap:150:1)
    at Object.1 (web3.js:67:1)
    at __webpack_require__ (bootstrap:789:1)
    at checkDeferredModules (bootstrap:45:1)
    at Array.webpackJsonpCallback [as push] (bootstrap:32:1)
    at main~._e.chunk.js:1:69

how to solve this problem?

Any solution to this problem?
Any temporary solution I found was to add this 2 lines at the top of index.js
import React from 'react';
window.React = React;
Fixes webpack transpile when using custom loader like esbuild-loader, alterative for webpack plugin ProvidePlugin({React: 'react'})

You should introduce React in a CDN manner, otherwise there will be no React during construction

authors: davidbejarcaceres promiseLC xsf0105

repo: arackaf/customize-cra


text:
member_add機能実装完了

memberをviewからdbへ登録するまでの処理を実装しました。

OK

OK


text:
how do i use my own domain like seed1.exmaple.com

how do i use my own domain like seed1.exmaple.com
adding it in the ruweb.cnf doesn't seems to work.

nevermind forgot the /rutorrent.


text:
Improve extract pipeline

Improve CLI by dividing the command line with different modes to split the options.
Pass the extracted_features option from train to extract to save it in the preprocessing json to avoid confusion when loading data on the fly.
Re use Nipype to allow parallel processing.

This issue is partially covered by PR #201.

repo: aramis-lab/clinicadl


text:
supervisor dies instead of respawning child

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[x] 3.0

On this operating system:

[x] Linux Ubuntu .deb

my problem is
supervisor dies after a child is sent a SIGSEGV.
The issue can be reproduced by running the following:
Following Documentation: Supervisor.
root@ubuntu1404:~# uname -a
Linux ubuntu1404 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

root@ubuntu1404:~# wget -q https://www.arangodb.com/repositories/arangodb3/xUbuntu_14.04/amd64/arangodb3_3.0.10_amd64.deb

root@ubuntu1404:~# sha256sum arangodb3_3.0.10_amd64.deb
d107583f4e0768ffec760c2915143ae1e101de6139ec43e75a0dc6b3644019c3  arangodb3_3.0.10_amd64.deb

root@ubuntu1404:~# dpkg -i arangodb3_3.0.10_amd64.deb >/dev/null

root@ubuntu1404:~# service arangodb3 status
 * arangod is running

root@ubuntu1404:~# ps fax | grep arango | grep -v grep
 2598 ?        Ss     0:00 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor
 2599 ?        Sl     0:01  \_ /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor

root@ubuntu1404:~# kill -SIGSEGV 2599

root@ubuntu1404:~# ps fax | grep arango | grep -v grep

root@ubuntu1404:~# echo $?
1

Here is the syscall trace.
> ps fax | grep arango | grep -v grep

 3653 ?        Ss     0:00 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor
 3654 ?        Sl     0:01  \_ /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor

> kill -SIGSEGV 3654 # kill child process

strace parent (supervisor?) process:
> strace -p 3653
Process 3653 attached
wait4(3654, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 3654
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=3654, si_status=SIGSEGV, si_utime=140, si_stime=29} ---
close(3)                                = 0
exit_group(0)                           = ?
+++ exited with 0 +++

strace child process:
> strace -p 3654 2>&1 | grep -v nanosleep
Process 3654 attached
restart_syscall(<... resuming interrupted call ...>) = 0
+++ killed by SIGSEGV +++

I think this is related to the sysvinit script. For comparison in Ubuntu 16.04.
With systemd:
root@test1:~# service arangodb3 status
● arangodb3.service - LSB: arangodb
   Loaded: loaded (/etc/init.d/arangodb3; bad; vendor preset: enabled)
   Active: active (running) since Wed 2016-11-02 12:56:48 UTC; 8s ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/arangodb3.service
           ├─3528 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --tem
           └─3529 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --tem

Nov 02 12:56:46 test1 systemd[1]: Starting LSB: arangodb...
Nov 02 12:56:46 test1 arangodb3[3483]:  * Starting arango database server arangod
Nov 02 12:56:48 test1 arangodb3[3483]: {startup} starting up in daemon mode
Nov 02 12:56:48 test1 arangodb3[3483]:    ...done.
Nov 02 12:56:48 test1 systemd[1]: Started LSB: arangodb.
Nov 02 12:56:48 test1 arangodb3[3483]: changed working directory for child process to '/var/tmp'
root@test1:~# ps fax | grep arango | grep -v grep
 3528 ?        Ss     0:00 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor
 3529 ?        Sl     0:01  \_ /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor
root@test1:~# kill -SIGSEGV 3529
root@test1:~# ps fax | grep arango | grep -v grep
 3528 ?        Ss     0:00 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor
 3529 ?        Dl     0:01  \_ /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor

With sysvinit:
root@test1:~# service arangodb3 status
 * arangod is running
root@test1:~# ps fax | grep arango | grep -v grep
 2326 ?        Ss     0:00 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor
 2327 ?        Sl     0:01  \_ /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb/arangod.pid --temp.path /var/tmp/arangod --log.foreground-tty false --supervisor
root@test1:~# kill -SIGSEGV 2327
root@test1:~# ps fax | grep arango | grep -v grep

The logic in SupervisorFeature.cpp appears to have the supervisor gracefully exit on non graceful shutdown of the child process. I believe the if (!DONE) conditional should be reversed.
142       DONE = false; 143 144       int status; 145       int res = waitpid(_clientPid, &status, 0); 146       bool horrible = true; 147 148       if (!DONE) { 149         done = true; 150         horrible = false; 151       } 152       else { 153         ... logic to examine cause of death
Once this logic is corrected the supervisor at least tries to restart the process but that fails during restart. LoggerFeature::prepare is called again on restart, but this isn't allowed because it calls Logger::setUseLocalTime which can't be called while the logger is active. You can setup logic to only call prepare on the first startup, but this still causes a problem for the child on restart. When the supervisor starts a child process for the second time the forked process inherits an already initialized Logger feature, which causes the process to exit.

Correct, I was investigating the issue in parallel and found the same reason.
I am currently working on a fix for this.
Thanks for debugging the issue that far!

@jsteemann, confirmed your fix (ae836cfa3fbd) on v3.0.8. Checked out v3.0.8 and applied your patch.

Fix has been pushed into 3.0, 3.1 and devel branches. Will be included in releases 3.0.11, 3.1.0.

When is 3.0.11 expected to release?

@jsteemann I see there was a 3.1 release with this fix, but still not 3.0.11. Is there a plan to test/publish that sometime soon?

@leroux @tsh56: the fix is also included in the 3.0 branch, so it will be part of the next 3.0 release (3.0.11).
We haven't started a new 3.0 release build yet, but also from my point of view it's time to do it soon.
The last 3.0 release was about 5-6 weeks ago, and we have accumulated enough bug fixes for a new release IMHO. So I expect it to be released soon.

Any update on when 3.0.11 will be available?

We're currently triggering the 3.0.12 build since there are already more fixes since we did the .11 tag. It should be available tomorow.

3.0.12 is available for download via the regular upgrade channels - closing.

authors: arges dothebart jsteemann jwinters7 leroux tsh56

repo: arangodb/arangodb


text:
Bug fix/testing cluster startup wait for foxx

Scope & Purpose
it seems we should do this to make sure foxx is actually up and running properly?

[x] :hankey: Bugfix

added to other PR.