content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
//===--- Exclusivity.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swi... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Exclusivity.swift | cpp_apple_swift_benchmark_single-source_Exclusivity.swift | Swift | 3,473 | 0.95 | 0.065217 | 0.430894 | python-kit | 608 | 2023-12-07T11:47:16.168932 | MIT | false | 6f3f505dbc85d80fe66562129a667706 |
//===--- ExistentialPerformance.swift -------------------------*- swift -*-===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ExistentialPerformance.swift | cpp_apple_swift_benchmark_single-source_ExistentialPerformance.swift | Swift | 22,166 | 0.95 | 0.052721 | 0.055249 | awesome-app | 641 | 2025-06-07T18:39:05.934661 | GPL-3.0 | false | 4cba352c10336dfc3232fcf4de6c0583 |
//===--- Fibonacci.swift --------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Fibonacci.swift | cpp_apple_swift_benchmark_single-source_Fibonacci.swift | Swift | 1,265 | 0.95 | 0.166667 | 0.309524 | python-kit | 861 | 2024-10-11T08:37:51.853022 | BSD-3-Clause | false | 910d658422f3f6298a7b111a9e2a33e3 |
//===--- FindStringNaive.swift --------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2019 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_FindStringNaive.swift | cpp_apple_swift_benchmark_single-source_FindStringNaive.swift | Swift | 5,339 | 0.95 | 0.11413 | 0.088757 | react-lib | 475 | 2023-11-29T16:51:34.765597 | MIT | false | 4c7f3c976c4087fbf1b727e9ab9536ca |
//===--- FlattenDistanceFromTo.swift --------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_FlattenDistanceFromTo.swift | cpp_apple_swift_benchmark_single-source_FlattenDistanceFromTo.swift | Swift | 3,682 | 0.95 | 0.068376 | 0.135417 | node-utils | 369 | 2025-06-29T02:13:55.250154 | GPL-3.0 | false | 4fa022848ffed9c2c00ec78fc6c63df2 |
//===--- FlattenList.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_FlattenList.swift | cpp_apple_swift_benchmark_single-source_FlattenList.swift | Swift | 1,647 | 0.95 | 0.079365 | 0.207547 | react-lib | 71 | 2024-10-21T19:43:18.086550 | Apache-2.0 | false | 0d9ef22af77d3c86a588050bd2b14a0a |
//===--- FloatingPointConversion.swift ------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2020 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_FloatingPointConversion.swift | cpp_apple_swift_benchmark_single-source_FloatingPointConversion.swift | Swift | 8,061 | 0.95 | 0.051887 | 0.072165 | react-lib | 786 | 2024-01-17T05:58:35.370782 | MIT | false | 205a804b9c45c91c30db12ac70c93a71 |
//===--- FloatingPointParsing.swift -----------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2019 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICEN... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_FloatingPointParsing.swift | cpp_apple_swift_benchmark_single-source_FloatingPointParsing.swift | Swift | 15,359 | 0.95 | 0.058608 | 0.204082 | node-utils | 130 | 2024-10-18T22:04:26.836087 | GPL-3.0 | false | 0ec9f3f46d9f3dc6a6a5a873be36511d |
//===--- FloatingPointPrinting.swift -----------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/LICE... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_FloatingPointPrinting.swift | cpp_apple_swift_benchmark_single-source_FloatingPointPrinting.swift | Swift | 6,782 | 0.95 | 0.140271 | 0.232323 | node-utils | 263 | 2024-12-04T11:43:04.613028 | MIT | false | fb605525baed1816ac270ed901f04f58 |
//===--- Hanoi.swift ------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Hanoi.swift | cpp_apple_swift_benchmark_single-source_Hanoi.swift | Swift | 1,507 | 0.95 | 0.092593 | 0.291667 | node-utils | 274 | 2024-02-19T20:34:54.628671 | Apache-2.0 | false | caf5ffa18b7d2c4d6fc922c14a5a740c |
//===--- Hash.swift -------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Hash.swift | cpp_apple_swift_benchmark_single-source_Hash.swift | Swift | 18,579 | 0.95 | 0.08321 | 0.114726 | python-kit | 53 | 2024-09-14T15:39:18.431888 | BSD-3-Clause | false | b1f32c6546cad4c3f1de2fde2fa5d063 |
//===--- Histogram.swift --------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Histogram.swift | cpp_apple_swift_benchmark_single-source_Histogram.swift | Swift | 5,298 | 0.95 | 0.033058 | 0.121739 | node-utils | 433 | 2025-04-29T18:15:12.648444 | GPL-3.0 | false | b001f08ca0c4fc667d4f66d55c53f5e1 |
//===--- HTTP2StateMachine.swift ------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_HTTP2StateMachine.swift | cpp_apple_swift_benchmark_single-source_HTTP2StateMachine.swift | Swift | 19,017 | 0.95 | 0.028205 | 0.052805 | awesome-app | 459 | 2025-02-28T02:53:24.077023 | BSD-3-Clause | false | 2fbfbc9aad3c7e43c711cd9047706579 |
//===--- InsertCharacter.swift --------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_InsertCharacter.swift | cpp_apple_swift_benchmark_single-source_InsertCharacter.swift | Swift | 3,383 | 0.95 | 0.061947 | 0.145833 | react-lib | 125 | 2024-07-29T03:43:11.433257 | Apache-2.0 | false | 6d94fb15b6a8c7195f71d7b3f0dea3dc |
//===--- IntegerParsing.swift -------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_IntegerParsing.swift | cpp_apple_swift_benchmark_single-source_IntegerParsing.swift | Swift | 16,606 | 0.95 | 0.085763 | 0.061931 | python-kit | 650 | 2025-01-21T23:57:50.719746 | MIT | false | 786fde90e338079f25ddb1093edcb2dd |
//===--- IterateData.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_IterateData.swift | cpp_apple_swift_benchmark_single-source_IterateData.swift | Swift | 1,077 | 0.95 | 0.102564 | 0.314286 | node-utils | 893 | 2023-10-18T04:22:39.634947 | BSD-3-Clause | false | 2ae51ce26148bca18ac29cd576374ce6 |
//===--- Join.swift -------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Join.swift | cpp_apple_swift_benchmark_single-source_Join.swift | Swift | 944 | 0.95 | 0.1 | 0.444444 | awesome-app | 771 | 2024-12-15T19:19:46.605022 | BSD-3-Clause | false | c4e6e865938c36edf54b063f87b28696 |
//===--- LazyFilter.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_LazyFilter.swift | cpp_apple_swift_benchmark_single-source_LazyFilter.swift | Swift | 2,181 | 0.95 | 0.082192 | 0.19697 | awesome-app | 52 | 2024-04-01T13:19:48.654016 | MIT | false | 02c1a785f5c82cbf70812fa7eaae599d |
//===--- LinkedList.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_LinkedList.swift | cpp_apple_swift_benchmark_single-source_LinkedList.swift | Swift | 1,496 | 0.95 | 0.137931 | 0.288462 | python-kit | 915 | 2023-11-08T03:17:04.890497 | MIT | false | 836d7fa425fe50b786d4ae5aafafc7c2 |
// LuhnAlgoEager benchmark\n//\n// Description: Performs a Luhn checksum eagerly\n// Source: https://gist.github.com/airspeedswift/e584239d7658b317f59a\n\nimport TestsUtils\n\npublic let benchmarks = [\n BenchmarkInfo(\n name: "LuhnAlgoEager",\n runFunction: run_LuhnAlgoEager,\n tags: [.algorithm]\n ),\n]\n\... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_LuhnAlgoEager.swift | cpp_apple_swift_benchmark_single-source_LuhnAlgoEager.swift | Swift | 6,465 | 0.95 | 0.068376 | 0.233831 | react-lib | 798 | 2024-11-14T13:08:05.504382 | MIT | false | ac3a940e8b36588efe12ef758b0af3c2 |
// LuhnAlgoLazy benchmark\n//\n// Description: Performs a Luhn checksum lazily\n// Source: https://gist.github.com/airspeedswift/e584239d7658b317f59a\n\nimport TestsUtils\n\npublic let benchmarks = [\n BenchmarkInfo(\n name: "LuhnAlgoLazy",\n runFunction: run_LuhnAlgoLazy,\n tags: [.algorithm]\n ),\n]\n\n@in... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_LuhnAlgoLazy.swift | cpp_apple_swift_benchmark_single-source_LuhnAlgoLazy.swift | Swift | 6,417 | 0.95 | 0.06867 | 0.23 | node-utils | 186 | 2024-12-02T00:28:13.594744 | MIT | false | 2ae53180a968955ac50a7e7b89be119b |
//===--- MapReduce.swift --------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_MapReduce.swift | cpp_apple_swift_benchmark_single-source_MapReduce.swift | Swift | 6,350 | 0.95 | 0.082645 | 0.086957 | vue-tools | 10 | 2025-05-26T09:48:08.632012 | BSD-3-Clause | false | 08a5f134b48fb44a279a96ab9a789c78 |
//===--- Memset.swift -----------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Memset.swift | cpp_apple_swift_benchmark_single-source_Memset.swift | Swift | 947 | 0.95 | 0.111111 | 0.34375 | react-lib | 45 | 2025-02-20T16:52:37.533507 | MIT | false | a79f9dea0e7ee0d88650e75f7655f102 |
//===--- MonteCarloE.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_MonteCarloE.swift | cpp_apple_swift_benchmark_single-source_MonteCarloE.swift | Swift | 1,596 | 0.95 | 0.088889 | 0.487805 | python-kit | 91 | 2023-12-10T07:32:24.780293 | BSD-3-Clause | false | d5e95f96f72287932d61e907517ee66d |
//===--- MonteCarloPi.swift -----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_MonteCarloPi.swift | cpp_apple_swift_benchmark_single-source_MonteCarloPi.swift | Swift | 1,128 | 0.95 | 0.105263 | 0.323529 | react-lib | 916 | 2023-08-12T07:56:21.724284 | GPL-3.0 | false | 9279b96b3da49d598b93181c4598056a |
//===--- NaiveRangeReplaceableCollectionConformance.swift -----------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2023 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_NaiveRangeReplaceableCollectionConformance.swift | cpp_apple_swift_benchmark_single-source_NaiveRangeReplaceableCollectionConformance.swift | Swift | 2,566 | 0.95 | 0.059406 | 0.130952 | node-utils | 490 | 2025-04-15T10:32:40.105727 | MIT | false | 99ca9667d5ea13698ddb4eb2f9e043e2 |
// NibbleSort benchmark\n//\n// Source: https://gist.github.com/airspeedswift/f4daff4ea5c6de9e1fdf\n\nimport TestsUtils\n\npublic let benchmarks = [\n BenchmarkInfo(\n name: "NibbleSort",\n runFunction: run_NibbleSort,\n tags: [.validation],\n legacyFactor: 10\n ),\n]\n\n@inline(never)\npublic func run_Ni... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_NibbleSort.swift | cpp_apple_swift_benchmark_single-source_NibbleSort.swift | Swift | 1,019 | 0.95 | 0.037037 | 0.066667 | vue-tools | 473 | 2025-04-30T14:43:50.064818 | GPL-3.0 | false | 63740be01792e25a40f2d2d8d6558b80 |
//===--- NIOChannelPipeline.swift -----------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2019 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_NIOChannelPipeline.swift | cpp_apple_swift_benchmark_single-source_NIOChannelPipeline.swift | Swift | 2,340 | 0.95 | 0.115385 | 0.151163 | awesome-app | 101 | 2024-04-22T14:30:17.247578 | GPL-3.0 | false | c5dba46de6b1d4c34774cd6be497870b |
//===--- NopDeinit.swift --------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_NopDeinit.swift | cpp_apple_swift_benchmark_single-source_NopDeinit.swift | Swift | 1,084 | 0.95 | 0.166667 | 0.315789 | node-utils | 67 | 2024-11-21T21:30:34.820350 | BSD-3-Clause | false | 80cbdfc5ef0200bf1806e71b19ff4d34 |
//===--- NSDictionaryCastToSwift.swift ------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_NSDictionaryCastToSwift.swift | cpp_apple_swift_benchmark_single-source_NSDictionaryCastToSwift.swift | Swift | 1,290 | 0.95 | 0.146341 | 0.473684 | vue-tools | 588 | 2023-12-22T18:55:06.474836 | Apache-2.0 | false | 48f66038771dd53854fa31fe42992102 |
//===--- NSStringConversion.swift -----------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_NSStringConversion.swift | cpp_apple_swift_benchmark_single-source_NSStringConversion.swift | Swift | 12,881 | 0.95 | 0.045455 | 0.064378 | python-kit | 873 | 2024-12-24T23:46:33.578982 | MIT | false | 5685da24c26d51f2e0e883077115b52f |
//===--- ObjectAllocation.swift -------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ObjectAllocation.swift | cpp_apple_swift_benchmark_single-source_ObjectAllocation.swift | Swift | 2,576 | 0.95 | 0.085714 | 0.125 | node-utils | 530 | 2024-09-05T20:28:45.669609 | BSD-3-Clause | false | 30bf57b5d9a9815b517cb428edad9494 |
//===--- ObjectiveCBridging.swift -----------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ObjectiveCBridging.swift | cpp_apple_swift_benchmark_single-source_ObjectiveCBridging.swift | Swift | 26,805 | 0.95 | 0.142373 | 0.15443 | awesome-app | 827 | 2025-05-16T13:07:28.217986 | GPL-3.0 | false | f1c78d054a6426fa31f443be44a99459 |
//===--- ObjectiveCBridgingStubs.swift ------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ObjectiveCBridgingStubs.swift | cpp_apple_swift_benchmark_single-source_ObjectiveCBridgingStubs.swift | Swift | 13,637 | 0.95 | 0.136095 | 0.170996 | react-lib | 55 | 2024-09-09T23:34:22.567242 | MIT | false | e2f90eb050cace7741344cb414617ca4 |
//===--- ObjectiveCNoBridgingStubs.swift ----------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ObjectiveCNoBridgingStubs.swift | cpp_apple_swift_benchmark_single-source_ObjectiveCNoBridgingStubs.swift | Swift | 5,668 | 0.95 | 0.16087 | 0.236967 | awesome-app | 387 | 2024-12-05T11:06:20.501171 | GPL-3.0 | false | b4f44b77ccd25d745be8d0710532f926 |
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ObserverClosure.swift | cpp_apple_swift_benchmark_single-source_ObserverClosure.swift | Swift | 1,221 | 0.95 | 0.12 | 0.261905 | awesome-app | 517 | 2024-09-20T17:57:08.721110 | GPL-3.0 | false | 98d92d82bc0233a0817f4dabd80554d7 |
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ObserverForwarderStruct.swift | cpp_apple_swift_benchmark_single-source_ObserverForwarderStruct.swift | Swift | 1,380 | 0.95 | 0.098361 | 0.215686 | vue-tools | 814 | 2024-02-15T02:34:31.591843 | GPL-3.0 | false | 71dd0625daa05882ddb9c394c5233071 |
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ObserverPartiallyAppliedMethod.swift | cpp_apple_swift_benchmark_single-source_ObserverPartiallyAppliedMethod.swift | Swift | 1,252 | 0.95 | 0.122449 | 0.261905 | python-kit | 158 | 2024-04-27T11:20:31.643396 | Apache-2.0 | false | 96fcaf3bb8db6879323c695060fa7b50 |
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ObserverUnappliedMethod.swift | cpp_apple_swift_benchmark_single-source_ObserverUnappliedMethod.swift | Swift | 1,481 | 0.95 | 0.095238 | 0.207547 | vue-tools | 763 | 2024-09-27T05:32:27.350426 | GPL-3.0 | false | 05dbbb07a96023b2a09dea1f69461a58 |
//===--- OpaqueConsumingUsers.swift ---------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_OpaqueConsumingUsers.swift | cpp_apple_swift_benchmark_single-source_OpaqueConsumingUsers.swift | Swift | 2,262 | 0.95 | 0.066667 | 0.233766 | react-lib | 160 | 2024-02-01T14:38:56.885750 | MIT | false | 4c6e3f7325aa237c3ed8e0d040cb656c |
//===--- OpenClose.swift --------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_OpenClose.swift | cpp_apple_swift_benchmark_single-source_OpenClose.swift | Swift | 1,082 | 0.95 | 0.102564 | 0.352941 | node-utils | 107 | 2024-10-13T16:17:49.969467 | Apache-2.0 | false | 9221205bb26a9b1e74eace983a634a8a |
//===--- Phonebook.swift --------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Phonebook.swift | cpp_apple_swift_benchmark_single-source_Phonebook.swift | Swift | 2,121 | 0.95 | 0.1125 | 0.211268 | react-lib | 203 | 2024-10-14T16:05:20.790346 | BSD-3-Clause | false | 32f99dc335f371ab702aeeb2e23a29d3 |
//===--- PointerArithmetics.swift -----------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_PointerArithmetics.swift | cpp_apple_swift_benchmark_single-source_PointerArithmetics.swift | Swift | 1,041 | 0.95 | 0.085714 | 0.354839 | awesome-app | 213 | 2025-03-04T23:50:29.880939 | BSD-3-Clause | false | 7c77d9eb29bc396dcfa74050b77d0e0d |
//===--- PolymorphicCalls.swift -------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_PolymorphicCalls.swift | cpp_apple_swift_benchmark_single-source_PolymorphicCalls.swift | Swift | 7,015 | 0.95 | 0.087613 | 0.09699 | react-lib | 808 | 2024-05-02T00:09:13.696409 | GPL-3.0 | false | 55f39e0bb0da660375b4750f4cd797dc |
//===--- PopFront.swift ---------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_PopFront.swift | cpp_apple_swift_benchmark_single-source_PopFront.swift | Swift | 1,693 | 0.95 | 0.114754 | 0.196429 | react-lib | 857 | 2025-04-16T17:01:57.738419 | MIT | false | 8508cccf72d5929a2d26fd8340d7b8ce |
//===--- PopFrontGeneric.swift --------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_PopFrontGeneric.swift | cpp_apple_swift_benchmark_single-source_PopFrontGeneric.swift | Swift | 1,860 | 0.95 | 0.063492 | 0.232143 | vue-tools | 402 | 2023-07-22T19:53:40.300643 | Apache-2.0 | false | f7ebbaac0c879e2a43bd9a44cfe1fc3a |
//===--- Prefix.swift -----------------------------------------*- swift -*-===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Prefix.swift | cpp_apple_swift_benchmark_single-source_Prefix.swift | Swift | 6,749 | 0.95 | 0.122951 | 0.079832 | node-utils | 840 | 2024-08-28T14:26:59.311838 | BSD-3-Clause | false | 76d7580d820cbe92bc4687cdc4cb6467 |
//===--- PrefixWhile.swift ------------------------------------*- swift -*-===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_PrefixWhile.swift | cpp_apple_swift_benchmark_single-source_PrefixWhile.swift | Swift | 7,174 | 0.95 | 0.180328 | 0.079832 | react-lib | 280 | 2024-12-09T18:46:01.635413 | MIT | false | d6f80930221d5ffa8add2576941d776c |
//===--- Prims.swift ------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Prims.swift | cpp_apple_swift_benchmark_single-source_Prims.swift | Swift | 18,208 | 0.95 | 0.04194 | 0.065395 | awesome-app | 102 | 2023-11-04T07:22:00.322810 | GPL-3.0 | false | 101c59d9c139619e9765a496ebe91bd9 |
//===--- PrimsNonStrongRefAdjacencyList.swift -----------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_PrimsNonStrongRef.swift | cpp_apple_swift_benchmark_single-source_PrimsNonStrongRef.swift | Swift | 32,977 | 0.95 | 0.049034 | 0.084774 | node-utils | 481 | 2025-07-03T23:21:00.095747 | MIT | false | 51e802dd1232d60cc58f92f096930744 |
//===--- ProtocolDispatch.swift -------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2020 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ProtocolConformance.swift | cpp_apple_swift_benchmark_single-source_ProtocolConformance.swift | Swift | 1,987 | 0.95 | 0.077922 | 0.269841 | vue-tools | 768 | 2024-07-01T12:58:42.826317 | Apache-2.0 | false | bdc4685af247c9bc59a276bb118765dd |
// Radix2CooleyTukey benchmark\n//\n// Originally written by @owensd. Used with his permission.\n\n#if canImport(Glibc)\nimport Glibc\n#elseif canImport(Musl)\nimport Musl\n#elseif os(Windows)\nimport MSVCRT\n#else\nimport Darwin\n#endif\nimport TestsUtils\n\npublic let benchmarks = [\n BenchmarkInfo(\n name: "Radi... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Radix2CooleyTukey.swift | cpp_apple_swift_benchmark_single-source_Radix2CooleyTukey.swift | Swift | 8,755 | 0.95 | 0.026119 | 0.058091 | awesome-app | 754 | 2023-10-07T08:30:01.553652 | Apache-2.0 | false | 7eb98f486c7dbd44cd2a7415b0efdf8c |
//===--- RandomShuffle.swift ----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RandomShuffle.swift | cpp_apple_swift_benchmark_single-source_RandomShuffle.swift | Swift | 1,725 | 0.95 | 0.083333 | 0.313725 | vue-tools | 259 | 2024-01-10T16:48:14.563127 | Apache-2.0 | false | 8486d06b0700ead326b871b382e1d59e |
//===--- RandomTree.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RandomTree.swift | cpp_apple_swift_benchmark_single-source_RandomTree.swift | Swift | 8,502 | 0.95 | 0.082353 | 0.043919 | python-kit | 271 | 2023-09-11T11:47:05.273368 | MIT | false | 0bca764e59b49433dc505d8c865f0044 |
//===--- RandomValues.swift -----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RandomValues.swift | cpp_apple_swift_benchmark_single-source_RandomValues.swift | Swift | 5,165 | 0.95 | 0.136585 | 0.091398 | awesome-app | 38 | 2023-10-19T06:56:14.001151 | GPL-3.0 | false | f83cb55a904bc4e232b78f67926d1a26 |
//===--- RangeAssignment.swift --------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RangeAssignment.swift | cpp_apple_swift_benchmark_single-source_RangeAssignment.swift | Swift | 990 | 0.95 | 0.09375 | 0.392857 | vue-tools | 449 | 2025-02-28T08:42:12.662802 | MIT | false | f8bbfe0db505ed8ca1f1071b09e5b37d |
//===--- RangeContains.swift ----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2024 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RangeContains.swift | cpp_apple_swift_benchmark_single-source_RangeContains.swift | Swift | 2,609 | 0.95 | 0.1875 | 0.125 | python-kit | 400 | 2024-03-22T18:08:01.193814 | BSD-3-Clause | false | a077ec6ba9634cf1972fef640d60f3a0 |
//===--- RangeAssignment.swift --------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RangeIteration.swift | cpp_apple_swift_benchmark_single-source_RangeIteration.swift | Swift | 2,030 | 0.95 | 0.11236 | 0.205128 | node-utils | 294 | 2025-06-23T11:35:59.622358 | GPL-3.0 | false | 883305fbe3515bed23b11a18da7f9ae3 |
//===--- RangeOverlaps.swift ----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RangeOverlaps.swift | cpp_apple_swift_benchmark_single-source_RangeOverlaps.swift | Swift | 2,172 | 0.95 | 0.179487 | 0.15493 | awesome-app | 74 | 2024-08-27T22:58:57.294820 | MIT | false | cb817f0def061fb5cb4b46c17d69cb1f |
// RangeReplaceablePlusDefault benchmark\n//\n// Source: https://gist.github.com/airspeedswift/392599e7eeeb74b481a7\n\nimport TestsUtils\n\npublic let benchmarks =\n BenchmarkInfo(\n name: "RangeReplaceableCollectionPlusDefault",\n runFunction: run_RangeReplaceableCollectionPlusDefault,\n tags: [.validation],... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RangeReplaceableCollectionPlusDefault.swift | cpp_apple_swift_benchmark_single-source_RangeReplaceableCollectionPlusDefault.swift | Swift | 1,595 | 0.95 | 0.080645 | 0.188679 | awesome-app | 457 | 2024-06-11T04:50:22.637043 | BSD-3-Clause | false | dda1c5872b69673656e65e970574b1e8 |
//===--- RC4.swift --------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RC4.swift | cpp_apple_swift_benchmark_single-source_RC4.swift | Swift | 2,782 | 0.95 | 0.081081 | 0.148936 | react-lib | 240 | 2024-07-02T06:47:56.130165 | Apache-2.0 | false | 5be3f8c17c548631e9f781dd64463524 |
//===--- RecursiveOwnedParameter.swift ------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RecursiveOwnedParameter.swift | cpp_apple_swift_benchmark_single-source_RecursiveOwnedParameter.swift | Swift | 1,901 | 0.95 | 0.145161 | 0.365385 | vue-tools | 579 | 2023-09-27T02:39:18.351606 | MIT | false | 4660bdf48a37ff4f0bcafc5224c67d70 |
//===--- ReduceInto.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ReduceInto.swift | cpp_apple_swift_benchmark_single-source_ReduceInto.swift | Swift | 3,237 | 0.95 | 0.083333 | 0.135922 | react-lib | 808 | 2023-09-18T11:15:55.781730 | BSD-3-Clause | false | ab25793ad71c4a998e80ee374bebc30b |
//===--- RemoveWhere.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RemoveWhere.swift | cpp_apple_swift_benchmark_single-source_RemoveWhere.swift | Swift | 6,231 | 0.95 | 0.121951 | 0.090395 | vue-tools | 548 | 2025-04-01T18:40:58.002101 | BSD-3-Clause | false | 08f51e1552adfbe002eb114fed202278 |
//===--- ReversedCollections.swift ----------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ReversedCollections.swift | cpp_apple_swift_benchmark_single-source_ReversedCollections.swift | Swift | 2,433 | 0.95 | 0.116883 | 0.283582 | awesome-app | 837 | 2023-08-31T13:11:46.742428 | MIT | false | 428af83c8a44505d0bfe4a93045602e5 |
//===--- RGBHistogram.swift -----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RGBHistogram.swift | cpp_apple_swift_benchmark_single-source_RGBHistogram.swift | Swift | 7,424 | 0.95 | 0.067039 | 0.099379 | awesome-app | 345 | 2024-09-03T07:39:26.265169 | Apache-2.0 | false | 5006ccfd08bf6f50bf58178f274882a6 |
//===--- RomanNumbers.swift -----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_RomanNumbers.swift | cpp_apple_swift_benchmark_single-source_RomanNumbers.swift | Swift | 2,111 | 0.95 | 0.094595 | 0.261538 | awesome-app | 889 | 2025-04-10T21:11:11.988266 | BSD-3-Clause | false | f4dfce3f1eafb771e72b9e4da71fe672 |
//===--- SequenceAlgos.swift ----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SequenceAlgos.swift | cpp_apple_swift_benchmark_single-source_SequenceAlgos.swift | Swift | 3,588 | 0.95 | 0.09 | 0.170455 | react-lib | 397 | 2023-08-20T02:15:00.784333 | MIT | false | c556bd7028272f141a24a1e8e517c2c0 |
//===--- SevenBoom.swift --------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SevenBoom.swift | cpp_apple_swift_benchmark_single-source_SevenBoom.swift | Swift | 1,303 | 0.95 | 0.096154 | 0.425532 | node-utils | 564 | 2024-07-14T13:19:12.217732 | MIT | false | 1ccdc43303c8ba869447eb0cabe3cdd1 |
//===--- Sim2DArray.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Sim2DArray.swift | cpp_apple_swift_benchmark_single-source_Sim2DArray.swift | Swift | 1,245 | 0.95 | 0.122449 | 0.25 | node-utils | 815 | 2025-05-29T17:58:31.354675 | BSD-3-Clause | false | 5219b34312d361dbaa52fd6913f378a1 |
//===--- SIMDRandomMask.swift ---------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SIMDRandomMask.swift | cpp_apple_swift_benchmark_single-source_SIMDRandomMask.swift | Swift | 2,370 | 0.95 | 0.076087 | 0.130952 | python-kit | 822 | 2023-12-13T10:05:42.267594 | GPL-3.0 | false | 75bacd6360119f3c8a71c26578d1cc74 |
//===--- SIMDReduceInteger.swift ------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SIMDReduceInteger.swift | cpp_apple_swift_benchmark_single-source_SIMDReduceInteger.swift | Swift | 7,085 | 0.95 | 0.129555 | 0.103448 | awesome-app | 977 | 2024-08-29T05:23:20.010854 | GPL-3.0 | false | 38b8ec630e35d55ff7f263394a6e1eaf |
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2022 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.org/L... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SimpleArraySpecialization.swift | cpp_apple_swift_benchmark_single-source_SimpleArraySpecialization.swift | Swift | 2,696 | 0.95 | 0.091667 | 0.168421 | react-lib | 884 | 2023-07-24T20:33:10.520370 | BSD-3-Clause | false | 98b0683ca115deb1e8c542ab5add7726 |
//===--- SortArrayInClass.swift -------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SortArrayInClass.swift | cpp_apple_swift_benchmark_single-source_SortArrayInClass.swift | Swift | 2,484 | 0.95 | 0.141176 | 0.324324 | node-utils | 664 | 2024-10-11T10:53:23.455349 | GPL-3.0 | false | dc7eedb5f35e3cbf92df7b02f626c53c |
import TestsUtils\n\n// This benchmark aims to measure heapSort path of stdlib sorting function.\n// Datasets in this benchmark are influenced by stdlib partition function,\n// therefore if stdlib partition implementation changes we should correct these\n// datasets or disable/skip this benchmark\npublic let benchmarks... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SortIntPyramids.swift | cpp_apple_swift_benchmark_single-source_SortIntPyramids.swift | Swift | 2,331 | 0.95 | 0.092105 | 0.453125 | react-lib | 716 | 2024-01-08T15:24:34.275955 | Apache-2.0 | false | 6f5fb7cd05a99c0a11f315767ce2407d |
//===--- SortLargeExistentials.swift --------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SortLargeExistentials.swift | cpp_apple_swift_benchmark_single-source_SortLargeExistentials.swift | Swift | 3,417 | 0.95 | 0.033333 | 0.205128 | node-utils | 999 | 2023-08-06T11:43:03.014844 | MIT | false | 60ed326d22041eb5b4d4a3e1fd9c95f1 |
//===--- SortLettersInPlace.swift -----------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SortLettersInPlace.swift | cpp_apple_swift_benchmark_single-source_SortLettersInPlace.swift | Swift | 1,584 | 0.95 | 0.081633 | 0.348837 | node-utils | 221 | 2024-01-07T00:57:17.880222 | BSD-3-Clause | false | 64fdc8d6561c90a4fb1f53a3ec485432 |
//===--- SortStrings.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SortStrings.swift | cpp_apple_swift_benchmark_single-source_SortStrings.swift | Swift | 39,372 | 0.95 | 0.002427 | 0.006823 | node-utils | 107 | 2024-06-03T01:55:38.889748 | GPL-3.0 | false | f7176212fb946e21b7a8736c4897b8ba |
//===----------------------------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StackPromo.swift | cpp_apple_swift_benchmark_single-source_StackPromo.swift | Swift | 1,355 | 0.95 | 0.107692 | 0.186441 | python-kit | 453 | 2024-08-29T03:07:01.421130 | GPL-3.0 | false | e89d1fd85c806617e4239fa4c7ff6f32 |
//===--- StaticArray.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StaticArray.swift | cpp_apple_swift_benchmark_single-source_StaticArray.swift | Swift | 3,475 | 0.95 | 0.087379 | 0.181818 | python-kit | 122 | 2023-09-17T04:24:06.056850 | Apache-2.0 | false | fad629783b5598d0cd3f1080d9d332b9 |
//===--- StrComplexWalk.swift ---------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StrComplexWalk.swift | cpp_apple_swift_benchmark_single-source_StrComplexWalk.swift | Swift | 1,964 | 0.95 | 0.121212 | 0.366667 | node-utils | 533 | 2024-02-10T07:35:14.551027 | GPL-3.0 | false | ecd6c08ade810a715b5100f2592ec695 |
//===--- StringBuilder.swift ----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringBuilder.swift | cpp_apple_swift_benchmark_single-source_StringBuilder.swift | Swift | 5,282 | 0.95 | 0.092683 | 0.05914 | react-lib | 499 | 2025-05-12T08:24:52.327924 | BSD-3-Clause | false | 00b87c30ec6725d6b9d76f1dec0712c5 |
//===--- StringComparison.swift -------------------------------------*- swift -*-===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https:... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringComparison.swift | cpp_apple_swift_benchmark_single-source_StringComparison.swift | Swift | 26,520 | 0.95 | 0.077806 | 0.037037 | vue-tools | 896 | 2023-12-06T03:40:57.406226 | Apache-2.0 | false | d3477767678724ff4fff364beda6ceac |
//===--- StringEdits.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2022 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringDistance.swift | cpp_apple_swift_benchmark_single-source_StringDistance.swift | Swift | 7,519 | 0.95 | 0.181373 | 0.058824 | node-utils | 476 | 2024-03-01T17:50:25.208331 | BSD-3-Clause | false | 8ed53ed77b75ce6a30b13cfcc2f5dddf |
//===--- StringEdits.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringEdits.swift | cpp_apple_swift_benchmark_single-source_StringEdits.swift | Swift | 1,945 | 0.95 | 0.123457 | 0.314286 | node-utils | 768 | 2023-12-16T10:29:56.041646 | GPL-3.0 | false | a1d46fe8d9625ba96e3a1f409db2f927 |
//===--- StringEnum.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringEnum.swift | cpp_apple_swift_benchmark_single-source_StringEnum.swift | Swift | 5,374 | 0.95 | 0.017544 | 0.049327 | python-kit | 693 | 2023-11-07T16:49:50.926984 | MIT | false | a6a3e62a18a52405e5a407c41f6721cf |
//===--- StringInterpolation.swift ----------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringInterpolation.swift | cpp_apple_swift_benchmark_single-source_StringInterpolation.swift | Swift | 3,131 | 0.95 | 0.09009 | 0.14 | react-lib | 546 | 2025-03-18T14:06:03.844558 | MIT | false | 83c6c2825b6cfe99d891d745597b433c |
//===--- StringMatch.swift ------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringMatch.swift | cpp_apple_swift_benchmark_single-source_StringMatch.swift | Swift | 2,744 | 0.95 | 0.207921 | 0.227273 | vue-tools | 438 | 2024-11-15T05:22:47.234981 | Apache-2.0 | false | 7ce76e5566232dbd8a3f2169d4173d42 |
// StringRemoveDupes benchmark\n//\n// Source: https://gist.github.com/airspeedswift/83eee31e1d9e52fd5570\n\nimport TestsUtils\n\npublic let benchmarks =\n BenchmarkInfo(\n name: "StringRemoveDupes",\n runFunction: run_StringRemoveDupes,\n tags: [.validation, .String]\n )\n\n@inline(never)\npublic func run_S... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringRemoveDupes.swift | cpp_apple_swift_benchmark_single-source_StringRemoveDupes.swift | Swift | 1,602 | 0.95 | 0.038462 | 0.204545 | node-utils | 353 | 2024-10-06T02:05:36.109256 | GPL-3.0 | false | 46689a3d7fa5c63bd097705d946fa9ef |
//===--- StringRepeating.swift --------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2023 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringRepeating.swift | cpp_apple_swift_benchmark_single-source_StringRepeating.swift | Swift | 3,191 | 0.95 | 0.105263 | 0.157143 | node-utils | 912 | 2024-01-18T06:03:46.059761 | BSD-3-Clause | false | 86cda387961a28518e74b5bd02025289 |
//===--- StringReplaceSubrange.swift -------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https:/... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringReplaceSubrange.swift | cpp_apple_swift_benchmark_single-source_StringReplaceSubrange.swift | Swift | 2,445 | 0.95 | 0.04 | 0.15942 | node-utils | 449 | 2023-11-11T06:48:00.375929 | Apache-2.0 | false | 3591a3faed0ab7a9b0e7b9881b081426 |
//===--- StringSplitting.swift --------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringSplitting.swift | cpp_apple_swift_benchmark_single-source_StringSplitting.swift | Swift | 9,487 | 0.95 | 0.110749 | 0.099631 | python-kit | 900 | 2024-11-19T00:36:24.460788 | MIT | false | 0876f75675b4dbac5dc43f3cefdb0049 |
//===--- StringSwitch.swift -------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2020 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swift.or... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringSwitch.swift | cpp_apple_swift_benchmark_single-source_StringSwitch.swift | Swift | 6,253 | 0.95 | 0.021368 | 0.048246 | vue-tools | 791 | 2025-01-02T15:36:16.858411 | MIT | false | f7c75775704daac819ec71421e3a0cb1 |
//===--- StringWalk.swift -------------------------------------*- swift -*-===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StringWalk.swift | cpp_apple_swift_benchmark_single-source_StringWalk.swift | Swift | 35,300 | 0.95 | 0.109341 | 0.033599 | vue-tools | 851 | 2024-05-09T21:37:33.202076 | MIT | false | 3ac708674ced3040a2a051b4b9bcbb1d |
//===--- StrToInt.swift ---------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_StrToInt.swift | cpp_apple_swift_benchmark_single-source_StrToInt.swift | Swift | 2,038 | 0.95 | 0.092593 | 0.27451 | awesome-app | 772 | 2025-02-22T14:11:49.677329 | BSD-3-Clause | false | 021ed72413b8ba28b4ed260d9a786b34 |
//===--- Suffix.swift -----------------------------------------*- swift -*-===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Suffix.swift | cpp_apple_swift_benchmark_single-source_Suffix.swift | Swift | 6,753 | 0.95 | 0.122951 | 0.079832 | vue-tools | 539 | 2025-04-15T00:38:13.156464 | Apache-2.0 | false | f2d2e6035a9ff961759b05ee0c572810 |
//===--- SuperChars.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_SuperChars.swift | cpp_apple_swift_benchmark_single-source_SuperChars.swift | Swift | 1,359 | 0.95 | 0.136364 | 0.358974 | node-utils | 948 | 2024-01-21T15:48:33.755657 | GPL-3.0 | false | a8a73a2f418fbc2e45049154a26e0270 |
//===--- TwoSum.swift -----------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_TwoSum.swift | cpp_apple_swift_benchmark_single-source_TwoSum.swift | Swift | 3,884 | 0.95 | 0.072289 | 0.164557 | vue-tools | 293 | 2025-02-07T19:03:14.359745 | Apache-2.0 | false | 83735da079b6cb16defb15b1665e775c |
//===--- TypeFlood.swift --------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_TypeFlood.swift | cpp_apple_swift_benchmark_single-source_TypeFlood.swift | Swift | 4,043 | 0.95 | 0.034188 | 0.205607 | vue-tools | 444 | 2025-05-12T19:53:39.267258 | GPL-3.0 | false | ced369dc3f5ef60ae0bc51ca65ac8872 |
//===--- UTF16Decode.swift -------------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n// Licensed under Apache License v2.0 with Runtime Library Exception\n//\n// See https://swi... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_UTF16Decode.swift | cpp_apple_swift_benchmark_single-source_UTF16Decode.swift | Swift | 7,843 | 0.95 | 0.080717 | 0.085 | python-kit | 703 | 2024-05-15T07:55:59.463495 | Apache-2.0 | false | 8b5b0dc1f6fe47e08ea824be4d1ab00b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.