diff --git a/Benchmarks/Benchmarks/HTTPFieldsBenchmarks/HTTPFieldsScalingBenchmarks.swift b/Benchmarks/Benchmarks/HTTPFieldsBenchmarks/HTTPFieldsScalingBenchmarks.swift index 8f67a54..c513ca7 100644 --- a/Benchmarks/Benchmarks/HTTPFieldsBenchmarks/HTTPFieldsScalingBenchmarks.swift +++ b/Benchmarks/Benchmarks/HTTPFieldsBenchmarks/HTTPFieldsScalingBenchmarks.swift @@ -13,7 +13,7 @@ //===----------------------------------------------------------------------===// import Benchmark -import HTTPTypes +@_spi(HTTPTypesBenchmarking) import HTTPTypes /// Benchmarks that run the same operation over field lists of 8, 16, 32, 64 and 128 fields. /// @@ -35,7 +35,7 @@ func registerHTTPFieldsScalingBenchmarks() { // MARK: contains - // Measured with a large scaling factor because a single call is too cheap to resolve against + // Measured with a `kilo` scaling factor because a single call is too cheap to resolve against // the measurement overhead. Note that package-benchmark divides the reported numbers by the // scaling factor, so they stay comparable to the benchmarks below. Benchmark( @@ -110,8 +110,6 @@ func registerHTTPFieldsScalingBenchmarks() { // MARK: Equality - // Both sides of every pair were built independently rather than copied from one another, so - // equality always has to do the real comparison. let equalSameOrder = scalingCase.equalSameOrder Benchmark( "HTTPFields.==-equal-sameOrder-N=\(n)", @@ -132,6 +130,16 @@ func registerHTTPFieldsScalingBenchmarks() { } } + let equalLocallyDisplaced = scalingCase.equalLocallyDisplaced + Benchmark( + "HTTPFields.==-equal-locallyDisplaced-N=\(n)", + configuration: makeDefaultConfiguration() + ) { benchmark in + for _ in benchmark.scaledIterations { + blackHole(equalLocallyDisplaced.lhs == equalLocallyDisplaced.rhs) + } + } + let mismatchSameOrder = scalingCase.mismatchSameOrder Benchmark( "HTTPFields.==-differsAt80%-sameOrder-N=\(n)", @@ -204,4 +212,29 @@ func registerHTTPFieldsScalingBenchmarks() { } } } + + // MARK: - All distinct names, reversed + + for distinctNameCase in distinctNameCases { + let n = distinctNameCase.n + let pair = distinctNameCase.sortedAgainstReversed + + Benchmark( + "HTTPFields.==-equal-allDistinctNamesReversed-N=\(n)", + configuration: makeDefaultConfiguration() + ) { benchmark in + for _ in benchmark.scaledIterations { + blackHole(pair.lhs == pair.rhs) + } + } + + Benchmark( + "HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=\(n)", + configuration: makeDefaultConfiguration() + ) { benchmark in + for _ in benchmark.scaledIterations { + blackHole(HTTPFields.isEqualByNameIndex(pair.lhs, pair.rhs)) + } + } + } } diff --git a/Benchmarks/Benchmarks/HTTPFieldsBenchmarks/HTTPFieldsScalingFixtures.swift b/Benchmarks/Benchmarks/HTTPFieldsBenchmarks/HTTPFieldsScalingFixtures.swift index 6eb998c..447a4b2 100644 --- a/Benchmarks/Benchmarks/HTTPFieldsBenchmarks/HTTPFieldsScalingFixtures.swift +++ b/Benchmarks/Benchmarks/HTTPFieldsBenchmarks/HTTPFieldsScalingFixtures.swift @@ -12,21 +12,16 @@ // //===----------------------------------------------------------------------===// -import HTTPTypes +@_spi(HTTPTypesBenchmarking) import HTTPTypes // MARK: - Field lists /// Field lists of increasing size, used to measure how `HTTPFields` operations scale. /// /// The lists are nested: every list is a prefix of the next larger one, so a difference between two -/// sizes is only ever caused by the fields that were added, never by the fields that were already -/// there. +/// sizes is only ever caused by the fields that were added. /// -/// Real field lists grow past ~16 fields almost exclusively because of cookies, so that is how these -/// grow too: the ordinary headers stop at 16 and everything beyond that is a `Cookie` field. The two -/// sizes therefore vary independently — the total number of fields keeps growing while the number of -/// distinct names does not — and comparing the small sizes against the large ones shows which of the -/// two a given operation is sensitive to. +/// Real field lists grow past ~16 fields almost exclusively because of cookies. /// `Cookie` fields with distinct values, so that no two fields in a list compare equal. private func cookieFields(_ range: Range) -> [HTTPField] { @@ -77,19 +72,14 @@ let scalingFields128: [HTTPField] = scalingFields64 + cookieFields(48..<112) // MARK: - Building -/// Builds an `HTTPFields` by appending, which is how one is built on a receive path. -/// -/// Fixtures that are compared against each other are always built by two separate calls to this -/// function, never by copying one into the other, so that the two values are genuinely distinct and -/// equality cannot take a shortcut for two copies of the same value. -private func makeFields(_ fields: [HTTPField]) -> HTTPFields { +/// Builds an `HTTPFields` by appending, to ensure the resulting `HTTPFields` backing array +/// is uniquely referenced. +private func makeFieldsByRebuild(_ fields: [HTTPField]) -> HTTPFields { var result = HTTPFields() + result.reserveCapacity(fields.count) for field in fields { result.append(field) } - // Read the value once before handing it out, so that any work `HTTPFields` defers until its - // first read is not charged to whichever benchmark happens to run first. - precondition(result.contains(scalingPresentName)) return result } @@ -110,6 +100,16 @@ private func reorderingUniqueNames(_ fields: [HTTPField]) -> [HTTPField] { return fields.map { $0.name == .cookie ? $0 : reversed.next()! } } +private let localDisplacementDistance = 3 + +private func displacingOneField(_ fields: [HTTPField]) -> [HTTPField] { + precondition(fields.count > localDisplacementDistance, "list too short to displace a field within") + var fields = fields + let field = fields.removeFirst() + fields.insert(field, at: localDisplacementDistance) + return fields +} + /// The position of the one field that differs between the two sides of a "late mismatch" pair: 80% /// into the list, so that the leading 80% is identical. private func lateMismatchIndex(_ count: Int) -> Int { @@ -143,6 +143,8 @@ struct ScalingCase: Sendable { let equalSameOrder: FieldsPair /// Equal, but with the uniquely named fields appended in the opposite order. let equalDifferentOrder: FieldsPair + /// Equal, but with one field appended a few slots away from where the other side has it. + let equalLocallyDisplaced: FieldsPair /// Unequal: the leading 80% is identical and in the same order, the field at 80% differs. /// /// Note what this does and does not pin down. It guarantees the shape — two field lists that @@ -159,18 +161,22 @@ struct ScalingCase: Sendable { self.n = fields.count self.cookieCount = fields.filter { $0.name == .cookie }.count self.fields = fields - self.readFields = makeFields(fields) + self.readFields = makeFieldsByRebuild(fields) let mismatched = withLateMismatch(fields) - self.equalSameOrder = FieldsPair(lhs: makeFields(fields), rhs: makeFields(fields)) + self.equalSameOrder = FieldsPair(lhs: makeFieldsByRebuild(fields), rhs: makeFieldsByRebuild(fields)) self.equalDifferentOrder = FieldsPair( - lhs: makeFields(fields), - rhs: makeFields(reorderingUniqueNames(fields)) + lhs: makeFieldsByRebuild(fields), + rhs: makeFieldsByRebuild(reorderingUniqueNames(fields)) ) - self.mismatchSameOrder = FieldsPair(lhs: makeFields(fields), rhs: makeFields(mismatched)) + self.equalLocallyDisplaced = FieldsPair( + lhs: makeFieldsByRebuild(fields), + rhs: makeFieldsByRebuild(displacingOneField(fields)) + ) + self.mismatchSameOrder = FieldsPair(lhs: makeFieldsByRebuild(fields), rhs: makeFieldsByRebuild(mismatched)) self.mismatchDifferentOrder = FieldsPair( - lhs: makeFields(fields), - rhs: makeFields(reorderingUniqueNames(mismatched)) + lhs: makeFieldsByRebuild(fields), + rhs: makeFieldsByRebuild(reorderingUniqueNames(mismatched)) ) } } @@ -183,6 +189,33 @@ let scalingCases: [ScalingCase] = [ ScalingCase(scalingFields128), ] +// MARK: - All distinct names + +/// A field list of `count` fields whose names are all distinct: `n1` through `n`. +private func distinctNameFields(_ count: Int) -> [HTTPField] { + (1...count).map { HTTPField(name: name("n\($0)"), value: "value\($0)-aBcDeF0123456789") } +} + +struct DistinctNameCase: Sendable { + /// The number of fields, which is also the number of distinct names. + let n: Int + /// One list ordered by name against the same fields reversed. + let sortedAgainstReversed: FieldsPair + + init(_ count: Int) { + let fields = distinctNameFields(count) + self.n = count + self.sortedAgainstReversed = FieldsPair( + lhs: makeFieldsByRebuild(fields), + rhs: makeFieldsByRebuild(fields.reversed()) + ) + } +} + +/// Runs past the 128 the other lists stop at, to cover both sides of the point where `==` hands off +/// to the by-name index. +let distinctNameCases: [DistinctNameCase] = [8, 16, 32, 64, 128, 256, 512].map(DistinctNameCase.init) + /// A name that is present in every field list, for the lookup and mutation benchmarks. let scalingPresentName: HTTPField.Name = .userAgent @@ -212,18 +245,53 @@ func validateScalingFixtures() { let pairs = [ ("equal, same order", scalingCase.equalSameOrder, true), ("equal, different order", scalingCase.equalDifferentOrder, true), + ("equal, locally displaced", scalingCase.equalLocallyDisplaced, true), ("differs at 80%, same order", scalingCase.mismatchSameOrder, false), ("differs at 80%, different order", scalingCase.mismatchDifferentOrder, false), ] for (description, pair, expected) in pairs { precondition(pair.lhs.count == n && pair.rhs.count == n, "N=\(n): \(description) has wrong field count") precondition((pair.lhs == pair.rhs) == expected, "N=\(n): \(description) is not \(expected)") + precondition( + HTTPFields.isEqualByNameIndex(pair.lhs, pair.rhs) == expected, + "N=\(n): \(description): isEqualByNameIndex disagrees with ==" + ) } - let differentOrder = scalingCase.equalDifferentOrder + let reorderedPairs = [ + ("equal, different order", scalingCase.equalDifferentOrder), + ("equal, locally displaced", scalingCase.equalLocallyDisplaced), + ] + for (description, pair) in reorderedPairs { + precondition( + n < 2 || !Array(pair.lhs).elementsEqual(pair.rhs), + "N=\(n): \(description) is actually in the same order" + ) + } + + let displaced = scalingCase.equalLocallyDisplaced + let movedPositions = zip(Array(displaced.lhs), Array(displaced.rhs)).enumerated() + .filter { $0.element.0 != $0.element.1 } + .map(\.offset) precondition( - n < 2 || !Array(differentOrder.lhs).elementsEqual(differentOrder.rhs), - "N=\(n): equal, different order is actually in the same order" + movedPositions == Array(0...localDisplacementDistance), + "N=\(n): locally displaced pair disturbs \(movedPositions.count) positions, not \(localDisplacementDistance + 1)" + ) + } + + for distinctNameCase in distinctNameCases { + let n = distinctNameCase.n + let pair = distinctNameCase.sortedAgainstReversed + precondition(pair.lhs.count == n && pair.rhs.count == n, "distinct N=\(n): wrong field count") + precondition(Set(pair.lhs.map(\.name)).count == n, "distinct N=\(n): names are not all distinct") + precondition(pair.lhs == pair.rhs, "distinct N=\(n): not equal") + precondition( + HTTPFields.isEqualByNameIndex(pair.lhs, pair.rhs) == true, + "distinct N=\(n): isEqualByNameIndex disagrees with ==" + ) + precondition( + !Array(pair.lhs).elementsEqual(pair.rhs), + "distinct N=\(n): actually in the same order" ) } } diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..63ed127 --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 147 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..c8d5311 --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 275 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..a11d416 --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 531 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..dc4d0a8 --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 145 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..14b7967 --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 33 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..07858cd --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 273 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..7656136 --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 49 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..6898c33 --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 529 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..ec9e0c6 --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 81 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..fcde1ab --- /dev/null +++ b/Benchmarks/Thresholds/6.1/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 25 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..63ed127 --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 147 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..c8d5311 --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 275 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..a11d416 --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 531 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json index 1d75e13..ff64d7f 100644 --- a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 16 + "mallocCountTotal" : 18 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json new file mode 100644 index 0000000..ff64d7f --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 18 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..dc4d0a8 --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 145 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..14b7967 --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 33 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..07858cd --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 273 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..7656136 --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 49 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..6898c33 --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 529 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..ec9e0c6 --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 81 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..fcde1ab --- /dev/null +++ b/Benchmarks/Thresholds/6.2/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 25 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..97fb7d7 --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 149 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..72f695e --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 277 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..83da394 --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 533 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..63ed127 --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 147 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..9cc9b28 --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 35 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..c8d5311 --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 275 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..50cfb4c --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 51 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..a11d416 --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 531 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..fc142ef --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 83 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..76605fa --- /dev/null +++ b/Benchmarks/Thresholds/6.3/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 27 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..97fb7d7 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 149 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..72f695e --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 277 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..83da394 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 533 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..63ed127 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 147 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..9cc9b28 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 35 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..c8d5311 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 275 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..50cfb4c --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 51 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..a11d416 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 531 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..fc142ef --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 83 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..76605fa --- /dev/null +++ b/Benchmarks/Thresholds/nightly-main/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 27 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-differsAt80%-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..97fb7d7 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 149 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..72f695e --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 277 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..83da394 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 533 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=128.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=16.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=32.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=64.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json index ff64d7f..d49021a 100644 --- a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-differentOrder-N=8.p90.json @@ -1,3 +1,3 @@ { - "mallocCountTotal" : 18 + "mallocCountTotal" : 20 } \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json new file mode 100644 index 0000000..d49021a --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.==-equal-locallyDisplaced-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 20 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json new file mode 100644 index 0000000..63ed127 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=128.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 147 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json new file mode 100644 index 0000000..9cc9b28 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=16.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 35 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json new file mode 100644 index 0000000..c8d5311 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=256.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 275 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json new file mode 100644 index 0000000..50cfb4c --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=32.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 51 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json new file mode 100644 index 0000000..a11d416 --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=512.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 531 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json new file mode 100644 index 0000000..fc142ef --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=64.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 83 +} \ No newline at end of file diff --git a/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json new file mode 100644 index 0000000..76605fa --- /dev/null +++ b/Benchmarks/Thresholds/nightly-next/Benchmarks.HTTPFields.isEqualByNameIndex-equal-allDistinctNamesReversed-N=8.p90.json @@ -0,0 +1,3 @@ +{ + "mallocCountTotal" : 27 +} \ No newline at end of file diff --git a/Sources/HTTPTypes/HTTPFields.swift b/Sources/HTTPTypes/HTTPFields.swift index c52100a..905aacc 100644 --- a/Sources/HTTPTypes/HTTPFields.swift +++ b/Sources/HTTPTypes/HTTPFields.swift @@ -176,38 +176,116 @@ public struct HTTPFields: Sendable { extension HTTPFields: Equatable { public static func == (lhs: HTTPFields, rhs: HTTPFields) -> Bool { - // Two field lists are equal when, for every name, they hold the same fields in the - // same order. That implies an equal total field count, so checking it up front also - // proves that matching every name run of `lhs` leaves no unmatched field in `rhs`. + // Equal means: for every name, the same fields in the same order. Fields with different + // names may be interleaved differently on the two sides. + // + // When checking for equality we try two approaches: + // 1. We walk both fields' elements in lock-step. To support ordering differences within the + // fields, we use `pending` arrays, to store elements that have not appeared in the other. + // This approach is very fast if the two candidates have mostly the same order, however + // if the orders are vastly different, this approach can scale quadratic. Because of this, + // if the `pending` arrays grows too large (>= `maxFieldsToScan`) and there are enough fields + // remaining (>=`minFieldsToIndexByName`), we will stop the lockstep approach and instead + // fallback to: + // 2. An approach in which we build a dictionary from one field list and then remove items + // from it based on the other one. This scales linear but has significant build costs, + // since it needs to hash every field name twice. if lhs.fields.count != rhs.fields.count { return false } - // Fast path: field lists that were built the same way carry their fields in the same - // order, so a single lock step walk usually settles it. Element wise equality is - // sufficient, but not necessary, for the definition above, so a mismatch only means the - // general comparison below has to run. - if lhs.fields.elementsEqual(rhs.fields) { - return true - } - for position in lhs.fields.indices { - let name = lhs.fields[position].name.canonicalName - if lhs.firstIndex(ofCanonicalName: name) != position { - // Not the first field with this name; its run was compared already. - continue + + // The index of the fields on either side whose equivalent on the other side has not + // turned up yet. Indexes are stored instead of fields, as this reduces ARC traffic. + // Both arrays remain empty for as long as the two fields hold the same elements in exactly + // the same order. After each iteration both arrays have the same length. + var pendingLeft = [Int]() + var pendingRight = [Int]() + for index in lhs.fields.indices { + // A direct element comparison can only be done if there are no elements in the pending + // arrays. This is to ensure correct ordering. Unpaired elements must be considered + // before the current element. + if pendingLeft.isEmpty { + if lhs.fields[index].name == rhs.fields[index].name { + if lhs.fields[index].value == rhs.fields[index].value { + continue + } else { + // Same name, different value, and no earlier candidate for either of them. + return false + } + } else { + // Disorder starts here + let remaining = lhs.fields.count - index + pendingLeft.reserveCapacity(remaining) + pendingRight.reserveCapacity(remaining) + } } - var leftIndex: Int? = position - var rightIndex = rhs.firstIndex(ofCanonicalName: name) - while let left = leftIndex, let right = rightIndex { - if lhs.fields[left] != rhs.fields[right] { + + let leftName = lhs.fields[index].name + if let match = pendingRight.firstIndex(where: { rhs.fields[$0].name == leftName }) { + // The n-th field of a name pairs only with the other side's n-th field. + if rhs.fields[pendingRight[match]] != lhs.fields[index] { return false } - leftIndex = lhs.firstIndex(ofCanonicalName: name, from: left + 1) - rightIndex = rhs.firstIndex(ofCanonicalName: name, from: right + 1) + pendingRight.remove(at: match) + } else { + pendingLeft.append(index) } - if (leftIndex == nil) != (rightIndex == nil) { - // One of the two runs of this name is longer than the other. + let rightName = rhs.fields[index].name + if let match = pendingLeft.firstIndex(where: { lhs.fields[$0].name == rightName }) { + if lhs.fields[pendingLeft[match]] != rhs.fields[index] { + return false + } + pendingLeft.remove(at: match) + } else { + pendingRight.append(index) + } + + if pendingLeft.count >= Self.maxPendingFieldsBeforeIndexing, + lhs.fields.count - index >= Self.minFieldsToIndexByName + { + return Self.isEqualByNameIndex(lhs, rhs) + } + } + // Both arrays hold the same count, so empty here means every field found a partner. + return pendingLeft.isEmpty + } + + /// How many fields can be unmatched before the lock step walk hands off to + /// ``isEqualByNameIndex(_:_:)``. + private static var maxPendingFieldsBeforeIndexing: Int { 32 } + + /// How many fields have to be left for building the index to pay for itself. If + /// `maxPendingFieldsBeforeIndexing` is reached, but there are less than + /// `minFieldsToIndexByName` remaining, the equality check will continue to + /// compare in lock-step. + private static var minFieldsToIndexByName: Int { 64 } + + /// Answers the same question as `==` in linear time, by indexing `rhs` by name and draining that + /// index while walking `lhs`. + @_spi(HTTPTypesBenchmarking) + public static func isEqualByNameIndex(_ lhs: HTTPFields, _ rhs: HTTPFields) -> Bool { + if lhs.fields.count != rhs.fields.count { + return false + } + // The fields of `rhs`, grouped by name. Fields sharing a name have to appear in the same + // order on both sides. Since we don't want to import swift-collections' Deque, we need + // another way to create a FIFO structure: By adding the fields to the dictionary in reverse + // order, we'll add later values first to the values array. This allows us, when iterating + // the lhs fields, to remove values from the end of the values array. + var remaining = [String: [HTTPField]](minimumCapacity: lhs.fields.count) + for field in rhs.fields.reversed() { + remaining[field.name.canonicalName, default: []].append(field) + } + for field in lhs.fields { + guard let group = remaining.index(forKey: field.name.canonicalName), + let candidate = remaining.values[group].last + else { return false } + if candidate != field { + return false + } + remaining.values[group].removeLast() } return true } diff --git a/Tests/HTTPTypesTests/HTTPTypesTests.swift b/Tests/HTTPTypesTests/HTTPTypesTests.swift index 3dff0a2..3ee9e87 100644 --- a/Tests/HTTPTypesTests/HTTPTypesTests.swift +++ b/Tests/HTTPTypesTests/HTTPTypesTests.swift @@ -13,7 +13,7 @@ //===----------------------------------------------------------------------===// import Foundation -import HTTPTypes +@_spi(HTTPTypesBenchmarking) import HTTPTypes import Testing extension HTTPField.Name { @@ -24,6 +24,14 @@ extension HTTPField.Name { } @Suite struct HTTPTypesTests { + private func makeFields(_ pairs: [(HTTPField.Name, String)]) -> HTTPFields { + var fields = HTTPFields() + for (name, value) in pairs { + fields.append(HTTPField(name: name, value: value)) + } + return fields + } + @Test func fields() { var fields = HTTPFields() fields[.acceptEncoding] = "gzip" @@ -133,6 +141,113 @@ extension HTTPField.Name { #expect(fields1 != fields6) } + /// Reorderings that split a run of same-named fields, so a field has to pair with one that is + /// not across from it. + @Test func equalityWhenSameNamedFieldsAreDisplaced() { + let a = HTTPField.Name("a")! + let b = HTTPField.Name("b")! + + // The leading "a" is identical on both sides, and the remaining "a" is on the far side of + // the reordered "b" in one of them. + let dupSplitByReorder = makeFields([(a, "1"), (b, "9"), (a, "1")]) + #expect(dupSplitByReorder == makeFields([(a, "1"), (a, "1"), (b, "9")])) + + let distinctValues = makeFields([(a, "1"), (b, "2"), (a, "3")]) + #expect(distinctValues == makeFields([(a, "1"), (a, "3"), (b, "2")])) + + // Same names and same total count, but the two "a" fields are swapped, and the relative + // order of same-named fields is significant. + #expect(makeFields([(a, "1"), (a, "2")]) != makeFields([(a, "2"), (a, "1")])) + #expect(makeFields([(a, "1"), (b, "1"), (a, "2")]) != makeFields([(a, "2"), (a, "1"), (b, "1")])) + + // Equal counts, but one name's run is longer on one side than on the other. + #expect(makeFields([(a, "1"), (a, "1"), (b, "2")]) != makeFields([(a, "1"), (b, "2"), (b, "2")])) + } + + /// A reordering where the fields `==` has set aside on one side outnumber the other side's part + /// way through the walk. + @Test func equalityWhenOneSideBrieflyHoldsMoreSetAsideFields() { + let a = HTTPField.Name("a")! + let b = HTTPField.Name("b")! + let c = HTTPField.Name("c")! + let d = HTTPField.Name("d")! + + let straight = makeFields([(a, "1"), (b, "2"), (c, "3"), (a, "4"), (d, "5")]) + #expect(straight == makeFields([(b, "2"), (c, "3"), (d, "5"), (a, "1"), (a, "4")])) + + // The same reordering with the two "a" fields swapped, which is not equal: the relative + // order of the fields sharing a name is the one thing that has to match. + #expect(straight != makeFields([(b, "2"), (c, "3"), (d, "5"), (a, "4"), (a, "1")])) + } + + /// `isEqualByNameIndex` is a second implementation of the same question, so it has to agree with + /// `==` on every pair, in both directions. + @Test func equalByNameIndexAgreesWithEquality() { + let a = HTTPField.Name("a")! + let b = HTTPField.Name("b")! + + let lists = [ + [] as [(HTTPField.Name, String)], + [(a, "1")], + [(a, "1"), (b, "2")], + [(b, "2"), (a, "1")], + [(a, "1"), (a, "2")], + [(a, "2"), (a, "1")], + [(a, "1"), (b, "9"), (a, "1")], + [(a, "1"), (a, "1"), (b, "9")], + [(a, "1"), (a, "1"), (b, "2")], + [(a, "1"), (b, "2"), (b, "2")], + [(a, "1"), (b, "1"), (a, "2"), (b, "2")], + [(a, "1"), (a, "2"), (b, "1"), (b, "2")], + [(a, "2"), (a, "1"), (b, "1"), (b, "2")], + ].map(makeFields) + + for lhs in lists { + for rhs in lists { + #expect( + HTTPFields.isEqualByNameIndex(lhs, rhs) == (lhs == rhs), + "\(Array(lhs)) vs \(Array(rhs))" + ) + } + } + } + + /// Lists long enough and disordered enough that `==` hands off to the by-name index. + @Test func equalityOfLongHeavilyReorderedLists() { + func fields(_ pairs: [(String, String)]) -> HTTPFields { + var fields = HTTPFields() + for (name, value) in pairs { + fields.append(HTTPField(name: HTTPField.Name(name)!, value: value)) + } + return fields + } + let distinct = (1...128).map { ("n\($0)", "value\($0)") } + + // All names distinct, so reversing cannot break the order of any name's fields. + #expect(fields(distinct) == fields(distinct.reversed())) + #expect(fields(distinct) == fields(distinct)) + + // One value differs, deep inside the reordered region. + var oneDiffers = distinct + oneDiffers[64] = (oneDiffers[64].0, "other") + #expect(fields(distinct) != fields(oneDiffers.reversed())) + + // One name differs, so each list has a name the other does not. + var oneRenamed = distinct + oneRenamed[64] = ("other", oneRenamed[64].1) + #expect(fields(distinct) != fields(oneRenamed.reversed())) + + // Repeated names in a long reordered list: the relative order of the repeats is what + // matters, and reversing the whole list inverts it. + let repeated = (1...128).map { ("n\($0 % 8)", "value\($0)") } + #expect(fields(repeated) == fields(repeated)) + #expect(fields(repeated) != fields(repeated.reversed())) + + // Same fields, but only the differently named ones move: every name's run keeps its order. + let grouped = (0..<8).flatMap { group in repeated.filter { $0.0 == "n\(group)" } } + #expect(fields(repeated) == fields(grouped)) + } + @Test func hashMatchesEqualityForSameOrder() { let fields1: HTTPFields = [ .acceptEncoding: "br",