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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
//\n// PacketTunnelActor+Mocks.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 25/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadMockData\nimport MullvadREST\nimport PacketTunnelCore\n\nextension PacketTunnelActorTimings {\n static var t... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\PacketTunnelActor+Mocks.swift | PacketTunnelActor+Mocks.swift | Swift | 1,526 | 0.95 | 0 | 0.175 | node-utils | 731 | 2023-08-02T16:45:30.149204 | Apache-2.0 | true | 92cc9a4b6271355c3647f2604b174b2f |
//\n// PacketTunnelActorStub.swift\n// PacketTunnelCoreTests\n//\n// Created by Jon Petersson on 2023-10-11.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport PacketTunnelCore\nimport XCTest\n\nstruct PacketTunnelActorStub: PacketTunnelActorProtocol {\n let innerState: Ob... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\PacketTunnelActorStub.swift | PacketTunnelActorStub.swift | Swift | 854 | 0.95 | 0 | 0.25 | python-kit | 402 | 2024-12-01T01:06:08.890121 | GPL-3.0 | true | 211bf744951842f8367c55538953bbfd |
//\n// PingerMock.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 16/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadTypes\nimport Network\n@testable import PacketTunnelCore\n\n/// Ping client mock that can be used to simulate network transm... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\PingerMock.swift | PingerMock.swift | Swift | 3,772 | 0.95 | 0.045113 | 0.179245 | awesome-app | 778 | 2024-07-26T21:17:34.783756 | BSD-3-Clause | true | d1e17a6c1d9ca3f3c9f1914634cb08a0 |
//\n// PostQuantumKeyExchangingUpdaterStub.swift\n// PacketTunnelCoreTests\n//\n// Created by Mojgan on 2024-07-15.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n@testable import MullvadTypes\n@testable import PacketTunnelCore\n\nfinal class PostQuantumKeyExchangingUpdaterStub:... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\PostQuantumKeyExchangingUpdaterStub.swift | PostQuantumKeyExchangingUpdaterStub.swift | Swift | 401 | 0.95 | 0.066667 | 0.538462 | python-kit | 708 | 2025-07-06T19:13:16.696580 | MIT | true | 08fe96eaf2e8ec4ae18a6a4a65ec40e4 |
//\n// ProtocolObfuscationStub.swift\n// PacketTunnelCoreTests\n//\n// Created by Marco Nikic on 2023-11-20.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n@testable import MullvadSettings\n@testable import MullvadTypes\n@testable import PacketTunnelCore\n\nstruct ProtocolObfusc... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\ProtocolObfuscationStub.swift | ProtocolObfuscationStub.swift | Swift | 644 | 0.95 | 0 | 0.318182 | vue-tools | 115 | 2024-02-05T10:25:11.042310 | GPL-3.0 | true | 73799545c2742679250f0d50000ffc66 |
//\n// SettingsReaderStub.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 05/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n@testable import MullvadSettings\nimport MullvadTypes\nimport PacketTunnelCore\nimport WireGuardKitTypes\n\n/// Settings reader st... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\SettingsReaderStub.swift | SettingsReaderStub.swift | Swift | 2,102 | 0.95 | 0.016129 | 0.160714 | python-kit | 636 | 2025-03-04T10:22:38.821232 | GPL-3.0 | true | 2b94868f9b2ed5cdb904d4d6ced7c31e |
//\n// TunnelAdapterDummy.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 05/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport PacketTunnelCore\n@testable import WireGuardKitTypes\n\n/// Dummy tunnel adapter that does nothing and reports no errors.\n... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\TunnelAdapterDummy.swift | TunnelAdapterDummy.swift | Swift | 786 | 0.95 | 0.038462 | 0.380952 | vue-tools | 323 | 2024-09-26T22:41:55.659989 | BSD-3-Clause | true | bad0893fdae01340df23e757b63f8d76 |
//\n// TunnelDeviceInfoStub.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 16/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport PacketTunnelCore\n\n/// Tunnel device stub that returns fixed interface name and feeds network stats from the type implem... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\TunnelDeviceInfoStub.swift | TunnelDeviceInfoStub.swift | Swift | 715 | 0.95 | 0 | 0.363636 | vue-tools | 997 | 2023-11-19T15:28:58.320899 | BSD-3-Clause | true | f6c8a53276183a9180a1dfc3cb487efb |
//\n// TunnelMonitorStub.swift\n// PacketTunnelCoreTests\n//\n// Created by pronebird on 05/09/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\nimport PacketTunnelCore\n\n/// Tunnel monitor stub that can be configured with block handler to simulate a specific... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\TunnelMonitorStub.swift | TunnelMonitorStub.swift | Swift | 2,611 | 0.95 | 0.041667 | 0.115385 | python-kit | 698 | 2023-10-26T12:40:06.124416 | Apache-2.0 | true | a6ef70d242095793980cb8d44e62e144 |
//\n// TunnelObfuscationStub.swift\n// PacketTunnelCoreTests\n//\n// Created by Marco Nikic on 2023-11-21.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n@testable import MullvadRustRuntime\n@testable import MullvadTypes\nimport Network\n\nstruct TunnelObfuscationStub: TunnelObf... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\TunnelObfuscationStub.swift | TunnelObfuscationStub.swift | Swift | 612 | 0.95 | 0 | 0.333333 | python-kit | 695 | 2024-12-16T00:31:45.220760 | GPL-3.0 | true | a282e3ef6eb71c1e0d0f33db31ac8fa7 |
//\n// URLRequestProxyStub.swift\n// PacketTunnelCoreTests\n//\n// Created by Jon Petersson on 2023-10-11.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadREST\nimport PacketTunnelCore\nimport XCTest\n\nstruct URLRequestProxyStub: URLRequestProxyProtocol {\n var ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\PacketTunnelCoreTests\Mocks\URLRequestProxyStub.swift | URLRequestProxyStub.swift | Swift | 1,590 | 0.95 | 0 | 0.155556 | node-utils | 868 | 2024-05-19T08:56:46.222419 | BSD-3-Clause | true | d514825ec8052dbc8f20a7a25f02d6e3 |
//\n// Coordinator.swift\n// MullvadVPN\n//\n// Created by pronebird on 27/01/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport MullvadLogging\nimport UIKit\n\n/**\n Base coordinator class.\n\n Coordinators help to abstract the navigation and business logic from view controllers making t... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Routing\Coordinator.swift | Coordinator.swift | Swift | 5,158 | 0.95 | 0.025907 | 0.267974 | vue-tools | 522 | 2025-03-14T17:09:36.729918 | BSD-3-Clause | false | 7e90f05199f5cefafbd9134d726dfad0 |
//\n// ModalPresentationConfiguration.swift\n// MullvadVPN\n//\n// Created by pronebird on 14/03/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/**\n A struct holding modal presentation configuration.\n */\n@MainActor\npublic struct ModalPresentationConfiguration {\n var p... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Routing\ModalPresentationConfiguration.swift | ModalPresentationConfiguration.swift | Swift | 2,607 | 0.95 | 0.067568 | 0.171875 | awesome-app | 28 | 2024-05-26T19:45:01.805877 | MIT | false | 60a179edb8d5eb8c1d788f81ae6bce18 |
//\n// PresentationControllerDismissalInterceptor.swift\n// MullvadVPN\n//\n// Created by pronebird on 20/02/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport UIKit\n\n/**\n Presentation controller delegate class that intercepts interactive dismissal and calls\n `dismissHandler` closure.... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Routing\PresentationControllerDismissalInterceptor.swift | PresentationControllerDismissalInterceptor.swift | Swift | 2,487 | 0.95 | 0.090909 | 0.134328 | awesome-app | 284 | 2023-08-05T23:34:37.153323 | BSD-3-Clause | false | b9c6a79c915ddb87546ddeb02e959ca7 |
//\n// ApplicationRouter.swift\n// MullvadVPN\n//\n// Created by pronebird on 16/03/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport MullvadLogging\nimport UIKit\n\n/**\n Main application router.\n */\n@MainActor\npublic final class ApplicationRouter<RouteType: AppRou... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Routing\Router\ApplicationRouter.swift | ApplicationRouter.swift | Swift | 12,875 | 0.95 | 0.089286 | 0.156627 | react-lib | 990 | 2024-02-12T14:57:13.912503 | GPL-3.0 | false | 23cf7255fbf0982c7761924f195888f0 |
//\n// ApplicationRouterDelegate.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/**\n Application router delegate\n */\npublic protocol ApplicationRouterDelegate<RouteType>: AnyObject, Sendable {\n associatedt... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Routing\Router\ApplicationRouterDelegate.swift | ApplicationRouterDelegate.swift | Swift | 1,924 | 0.95 | 0.048387 | 0.358491 | node-utils | 914 | 2024-02-21T15:18:53.003702 | MIT | false | a4d7663217033c069b92755a511e38e9 |
//\n// ApplicationRouterTypes.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/**\n Struct describing a routing request for presentation or dismissal.\n */\nstruct PendingRoute<RouteType: AppRouteProtocol>: Sendab... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Routing\Router\ApplicationRouterTypes.swift | ApplicationRouterTypes.swift | Swift | 5,097 | 0.95 | 0.030303 | 0.331395 | awesome-app | 659 | 2024-06-11T11:03:28.527543 | MIT | false | da299380a608afd8996558bb484b9c2d |
//\n// AppRouteProtocol.swift\n// MullvadVPN\n//\n// Created by pronebird on 17/08/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\n/**\n Formal protocol describing a group of routes.\n */\npublic protocol AppRouteGroupProtocol: Comparable, Equatable, Hashable, Sendable {\... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Routing\Router\AppRouteProtocol.swift | AppRouteProtocol.swift | Swift | 1,868 | 0.95 | 0.09375 | 0.425926 | awesome-app | 768 | 2023-10-03T09:15:36.907156 | GPL-3.0 | false | 969db1fc2a2e1c6535a1f918c6ced031 |
//\n// RouterBlockDelegate.swift\n// RoutingTests\n//\n// Created by Jon Petersson on 2023-08-22.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Routing\n\nfinal class RouterBlockDelegate<RouteType: AppRouteProtocol>: ApplicationRouterDelegate, @unchecked Sendable {\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\RoutingTests\RouterBlockDelegate.swift | RouterBlockDelegate.swift | Swift | 2,114 | 0.95 | 0.017241 | 0.137255 | vue-tools | 293 | 2025-01-21T03:21:47.826744 | Apache-2.0 | true | ab02a6cd614b662971fb86105e3c852e |
//\n// ApplicationConfiguration.swift\n// MullvadVPN\n//\n// Created by pronebird on 05/06/2019.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\nimport Network\n\nenum ApplicationConfiguration {\n static var hostName: String {\n // swiftlint:disable:next force_cast\n ... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Shared\ApplicationConfiguration.swift | ApplicationConfiguration.swift | Swift | 3,143 | 0.95 | 0.12987 | 0.316667 | python-kit | 153 | 2024-06-06T08:47:52.977713 | Apache-2.0 | false | 0dd72b5d3767cdaee1a53ecaf733c259 |
//\n// ApplicationTarget.swift\n// MullvadVPN\n//\n// Created by pronebird on 09/06/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\nenum ApplicationTarget: CaseIterable {\n case mainApp, packetTunnel\n\n /// Returns target bundle identifier.\n var bundleIdentifie... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Shared\ApplicationTarget.swift | ApplicationTarget.swift | Swift | 719 | 0.95 | 0.076923 | 0.391304 | vue-tools | 996 | 2024-12-18T01:43:14.959402 | Apache-2.0 | false | 74d83e935e84b133d93e4e0452b94d68 |
//\n// LaunchArguments.swift\n// MullvadTypes\n//\n// Created by Mojgan on 2024-05-06.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Foundation\n\npublic protocol Taggable {\n static var tag: String { get }\n}\n\npublic extension Taggable {\n static var tag: String {\n String(... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\Shared\LaunchArguments.swift | LaunchArguments.swift | Swift | 2,063 | 0.95 | 0.041096 | 0.15873 | react-lib | 570 | 2023-10-25T15:31:11.513593 | BSD-3-Clause | false | 0ee6b4e116919552e1991ce921ad09fb |
//\n// TCPListener.swift\n// TunnelObfuscationTests\n//\n// Created by pronebird on 27/06/2023.\n// Copyright © 2025 Mullvad VPN AB. All rights reserved.\n//\n\nimport Network\n\n/// Minimal implementation of a TCP listener.\nclass TCPOneShotListener {\n private let dispatchQueue = DispatchQueue(label: "TCPListe... | dataset_sample\swift\mullvad_mullvadvpn-app\ios\TunnelObfuscationTests\TCPListener.swift | TCPListener.swift | Swift | 2,486 | 0.95 | 0.08 | 0.307692 | node-utils | 11 | 2025-02-23T01:15:29.281557 | MIT | true | de44906599feefc23f7087bedc37fa35 |
// swift-tools-version:5.10\nimport PackageDescription\n\nlet package = Package(\n name: "PostgresClientKitExample",\n dependencies: [\n .package(\n url: "https://github.com/codewinsdotcom/PostgresClientKit.git",\n revision: "v1.5.0"\n )\n ],\n targets: [\n .execut... | dataset_sample\swift\neondatabase_neon\test_runner\pg_clients\PostgresClientKitExample\Package.swift | Package.swift | Swift | 425 | 0.95 | 0 | 0.0625 | python-kit | 615 | 2023-11-17T22:21:11.486704 | GPL-3.0 | true | 3accfae4c7641af46748971e51576910 |
import Foundation\n\nimport PostgresClientKit\n\ndo {\n let env = ProcessInfo.processInfo.environment\n\n var configuration = PostgresClientKit.ConnectionConfiguration()\n let host = env["NEON_HOST"] ?? ""\n configuration.host = host\n configuration.port = 5432\n configuration.database = env["NEON_DAT... | dataset_sample\swift\neondatabase_neon\test_runner\pg_clients\PostgresClientKitExample\Sources\PostgresClientKitExample\main.swift | main.swift | Swift | 1,270 | 0.95 | 0.153846 | 0.096774 | awesome-app | 55 | 2024-02-15T23:51:10.271743 | BSD-3-Clause | true | a9a45b91afddf491b417c11ea7f13000 |
// swift-tools-version:5.10\nimport PackageDescription\n\nlet package = Package(\n name: "PostgresNIOExample",\n dependencies: [\n .package(url: "https://github.com/vapor/postgres-nio.git", from: "1.21.5")\n ],\n targets: [\n .executableTarget(\n name: "PostgresNIOExample",\n ... | dataset_sample\swift\neondatabase_neon\test_runner\pg_clients\PostgresNIOExample\Package.swift | Package.swift | Swift | 427 | 0.95 | 0 | 0.0625 | awesome-app | 331 | 2024-04-22T00:11:23.810359 | GPL-3.0 | true | 2a51ccf3893079c21e156c310daece90 |
import Foundation\n\nimport PostgresNIO\nimport NIOPosix\nimport Logging\n\nawait Task {\n do {\n let eventLoopGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)\n let logger = Logger(label: "postgres-logger")\n\n let env = ProcessInfo.processInfo.environment\n\n let sslContext = try! NIOSSLContext(co... | dataset_sample\swift\neondatabase_neon\test_runner\pg_clients\PostgresNIOExample\Sources\PostgresNIOExample\main.swift | main.swift | Swift | 1,187 | 0.95 | 0.177778 | 0.055556 | react-lib | 221 | 2024-02-03T09:59:11.305307 | MIT | true | 938da9f883315e611c6eaa41e9217177 |
// swift-tools-version:4.0\n// The swift-tools-version declares the minimum version of Swift required to build this package.\nimport PackageDescription\n\nlet package = Package(\n name: "Fastlane",\n products: [\n .library(name: "Fastlane", targets: ["Fastlane"])\n ],\n dependencies: [\n .pack... | dataset_sample\swift\ruby\Package.swift | Package.swift | Swift | 700 | 0.95 | 0 | 0.095238 | awesome-app | 161 | 2024-11-03T12:10:19.496032 | MIT | false | 120f24c6c7882d303a82c59a7f25e3e3 |
import UIKit\nimport Flutter\n\n@main\n@objc class AppDelegate: FlutterAppDelegate {\n override func application(\n _ application: UIApplication,\n didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?\n ) -> Bool {\n GeneratedPluginRegistrant.register(with: self)\n dummyMeth... | dataset_sample\swift\rustdesk_rustdesk\flutter\ios\Runner\AppDelegate.swift | AppDelegate.swift | Swift | 555 | 0.85 | 0.052632 | 0 | awesome-app | 960 | 2023-11-28T18:32:02.707687 | GPL-3.0 | false | f462a68bcdbf718cb3e5a216faec83b9 |
import Cocoa\nimport FlutterMacOS\n\n@main\nclass AppDelegate: FlutterAppDelegate {\n var launched = false;\n override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {\n dummy_method_to_enforce_bundling()\n // https://github.com/leanflutter/window_manager/issues/214\n ... | dataset_sample\swift\rustdesk_rustdesk\flutter\macos\Runner\AppDelegate.swift | AppDelegate.swift | Swift | 722 | 0.95 | 0.083333 | 0.047619 | awesome-app | 457 | 2024-08-31T11:26:28.368447 | BSD-3-Clause | false | 4b74ac2ac1e601c4efd48f7148fa6305 |
import Cocoa\nimport AVFoundation\nimport FlutterMacOS\nimport desktop_multi_window\n// import bitsdojo_window_macos\n\nimport desktop_drop\nimport device_info_plus\nimport flutter_custom_cursor\nimport package_info_plus\nimport path_provider_foundation\nimport screen_retriever\nimport sqflite\n// import tray_manager\n... | dataset_sample\swift\rustdesk_rustdesk\flutter\macos\Runner\MainFlutterWindow.swift | MainFlutterWindow.swift | Swift | 4,843 | 0.95 | 0.046729 | 0.080808 | node-utils | 242 | 2024-04-05T21:05:02.088624 | GPL-3.0 | false | 725be84e607bbf273b12143eed09daf7 |
/* Options:\nDate: 2025-03-28 01:55:02\nSwiftVersion: 6.0\nVersion: 8.61\nTip: To override a DTO option, remove "//" prefix before updating\nBaseUrl: http://localhost:20000\n\n//BaseClass: \n//AddModelExtensions: True\n//AddServiceStackTypes: True\n//MakePropertiesOptional: True\n//IncludeTypes: \n//ExcludeTypes: \n//E... | dataset_sample\swift\ServiceStack_ServiceStack\ServiceStack\tests\NorthwindAuto\wwwroot\dtos\dtos.swift | dtos.swift | Swift | 66,815 | 0.75 | 0.100293 | 0.149814 | react-lib | 50 | 2024-01-15T12:10:40.279517 | BSD-3-Clause | true | 378d42b2cc245895361df5843fb901c8 |
//===--- CreateObjects.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://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_cxx-source_CreateObjects.swift | cpp_apple_swift_benchmark_cxx-source_CreateObjects.swift | Swift | 991 | 0.95 | 0.090909 | 0.448276 | node-utils | 458 | 2024-05-09T13:57:34.199311 | GPL-3.0 | false | 24c68fed635d9d95242b0e324f816931 |
//===--- CxxSetToCollection.swift -----------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2012 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_cxx-source_CxxSetToCollection.swift | cpp_apple_swift_benchmark_cxx-source_CxxSetToCollection.swift | Swift | 1,726 | 0.95 | 0.075758 | 0.224138 | awesome-app | 876 | 2023-11-03T13:23:31.532531 | BSD-3-Clause | false | 56d232deed7302a3fa3d3293fb18a153 |
//===--- CxxStringConversion.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_cxx-source_CxxStringConversion.swift | cpp_apple_swift_benchmark_cxx-source_CxxStringConversion.swift | Swift | 1,642 | 0.95 | 0.083333 | 0.203704 | awesome-app | 398 | 2024-03-25T13:05:57.849403 | MIT | false | a19d539877d58c5a64a52e252598efc0 |
//===--- CxxVectorSum.swift -----------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2012 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_cxx-source_CxxVectorSum.swift | cpp_apple_swift_benchmark_cxx-source_CxxVectorSum.swift | Swift | 3,811 | 0.95 | 0.099174 | 0.209091 | node-utils | 209 | 2025-01-12T20:57:40.811033 | GPL-3.0 | false | 8f8ddefdf618207e16ff2cb43f1b56dd |
// Subscripts.swift - Very brief description\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://swift.org/LICENSE.txt for license inform... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_cxx-source_ReadAccessor.swift | cpp_apple_swift_benchmark_cxx-source_ReadAccessor.swift | Swift | 1,198 | 0.95 | 0.113636 | 0.4 | node-utils | 111 | 2024-11-23T18:36:12.062194 | Apache-2.0 | false | 184655a8f3bb0cefa2d1e0c8458c56c7 |
//===--- Prims.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://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_multi-source_PrimsSplit_Prims.swift | cpp_apple_swift_benchmark_multi-source_PrimsSplit_Prims.swift | Swift | 6,011 | 0.95 | 0.117371 | 0.221053 | node-utils | 938 | 2024-09-05T22:47:28.634982 | Apache-2.0 | false | b153e09f7de660f90015c7a954024594 |
//===--- main.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://swif... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_multi-source_PrimsSplit_Prims_main.swift | cpp_apple_swift_benchmark_multi-source_PrimsSplit_Prims_main.swift | Swift | 12,749 | 0.95 | 0.015986 | 0.030576 | node-utils | 388 | 2024-09-10T23:11:20.456840 | BSD-3-Clause | false | f701754c9f209f5b7cb168181f48d9fd |
// swift-tools-version:5.9\n\nimport PackageDescription\nimport Foundation\n\nvar unsupportedTests: Set<String> = []\n#if !os(macOS) && !os(iOS) && !os(watchOS) && !os(tvOS)\nunsupportedTests.insert("ObjectiveCNoBridgingStubs")\nunsupportedTests.insert("ObjectiveCBridging")\nunsupportedTests.insert("ObjectiveCBridgingS... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_Package.swift | cpp_apple_swift_benchmark_Package.swift | Swift | 6,356 | 0.95 | 0.051546 | 0.237805 | vue-tools | 783 | 2024-04-28T10:35:33.231316 | MIT | false | 44302418c38b17ab929806383c1ad14a |
//===--- Ackermann.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_Ackermann.swift | cpp_apple_swift_benchmark_single-source_Ackermann.swift | Swift | 1,597 | 0.95 | 0.211538 | 0.326087 | vue-tools | 103 | 2024-10-17T01:28:00.806433 | BSD-3-Clause | false | 9b77aca5e5cc099f4b884932a2cdb9e2 |
//===--- AngryPhonebook.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_AngryPhonebook.swift | cpp_apple_swift_benchmark_single-source_AngryPhonebook.swift | Swift | 5,447 | 0.95 | 0.078947 | 0.242647 | vue-tools | 172 | 2023-11-06T22:19:38.118174 | MIT | false | 2a7601561e178b1690d408a4f1a2af58 |
//===----------------------------------------------------------------------===//\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_AnyHashableWithAClass.swift | cpp_apple_swift_benchmark_single-source_AnyHashableWithAClass.swift | Swift | 1,843 | 0.95 | 0.142857 | 0.363636 | awesome-app | 924 | 2025-04-26T02:37:54.809999 | Apache-2.0 | false | a729712dfd6de968489e1e6ad693afac |
//===--- Array2D.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_Array2D.swift | cpp_apple_swift_benchmark_single-source_Array2D.swift | Swift | 1,253 | 0.95 | 0.12 | 0.25 | vue-tools | 148 | 2024-06-23T05:09:52.031439 | Apache-2.0 | false | f8af7fb9eb3b7ec9d1cd62aea93f6e5e |
//===--- ArrayAppend.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_ArrayAppend.swift | cpp_apple_swift_benchmark_single-source_ArrayAppend.swift | Swift | 11,364 | 0.95 | 0.119048 | 0.138554 | node-utils | 823 | 2023-07-14T02:55:00.896774 | GPL-3.0 | false | 3a942ec5a25e177812eaf5fdba90b67c |
//===--- ArrayInClass.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_ArrayInClass.swift | cpp_apple_swift_benchmark_single-source_ArrayInClass.swift | Swift | 1,921 | 0.95 | 0.104651 | 0.150685 | python-kit | 829 | 2024-09-30T01:55:43.137462 | MIT | false | c58612789265af67ce14b1f5270ad487 |
//===--- ArrayLiteral.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_ArrayLiteral.swift | cpp_apple_swift_benchmark_single-source_ArrayLiteral.swift | Swift | 2,706 | 0.95 | 0.088496 | 0.14 | python-kit | 710 | 2024-02-18T19:37:24.544489 | Apache-2.0 | false | d73687ff266fdb981d6abc3cd574c139 |
//===--- ArrayOfGenericPOD.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_ArrayOfGenericPOD.swift | cpp_apple_swift_benchmark_single-source_ArrayOfGenericPOD.swift | Swift | 2,777 | 0.95 | 0.059406 | 0.367816 | node-utils | 114 | 2023-10-21T20:37:13.665740 | Apache-2.0 | false | b37f50a71a977c7637718e58e3cebc35 |
//===--- ArrayOfGenericRef.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_ArrayOfGenericRef.swift | cpp_apple_swift_benchmark_single-source_ArrayOfGenericRef.swift | Swift | 2,418 | 0.95 | 0.095238 | 0.266667 | react-lib | 674 | 2023-12-28T11:20:22.237911 | MIT | false | 41de47a16888f40026338d82174879e8 |
//===--- ArrayOfPOD.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_ArrayOfPOD.swift | cpp_apple_swift_benchmark_single-source_ArrayOfPOD.swift | Swift | 1,598 | 0.95 | 0.071429 | 0.322034 | vue-tools | 269 | 2023-12-04T07:10:22.499107 | Apache-2.0 | false | 73d0e9cebb30db5498d3ebf2b4c9a943 |
//===--- ArrayOfRef.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_ArrayOfRef.swift | cpp_apple_swift_benchmark_single-source_ArrayOfRef.swift | Swift | 2,548 | 0.95 | 0.103448 | 0.242424 | vue-tools | 739 | 2024-04-13T18:48:43.268073 | Apache-2.0 | false | a4d69b3a626466fade8918fa67a155bd |
// This test checks the performance of removeAll\n// on a non-uniquely referenced array.\n\nimport TestsUtils\n\npublic let benchmarks = [\n BenchmarkInfo(\n name: "Array.removeAll.keepingCapacity.Int",\n runFunction: run_ArrayRemoveAll_Class,\n tags: [.validation, .api, .Array],\n setUpFunction: { blackHo... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ArrayRemoveAll.swift | cpp_apple_swift_benchmark_single-source_ArrayRemoveAll.swift | Swift | 1,288 | 0.95 | 0.054545 | 0.042553 | python-kit | 768 | 2023-08-21T14:27:29.149863 | Apache-2.0 | false | fec5ee4784f8c76359efaf0f72d1968d |
//===--- ArraySetElement.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_ArraySetElement.swift | cpp_apple_swift_benchmark_single-source_ArraySetElement.swift | Swift | 1,249 | 0.95 | 0.102564 | 0.457143 | awesome-app | 600 | 2024-01-28T17:10:18.121668 | GPL-3.0 | false | 0c1dbba3b3d575afd4047fe13f0b94d8 |
//===--- ArraySubscript.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_ArraySubscript.swift | cpp_apple_swift_benchmark_single-source_ArraySubscript.swift | Swift | 1,421 | 0.95 | 0.12766 | 0.325 | react-lib | 194 | 2024-09-12T04:54:07.650297 | BSD-3-Clause | false | 36057bd320f655bf5c4e42abef417bfc |
//===--- AsyncTree.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/LI... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_AsyncTree.swift | cpp_apple_swift_benchmark_single-source_AsyncTree.swift | Swift | 1,674 | 0.95 | 0.077922 | 0.161765 | react-lib | 49 | 2023-10-29T23:43:38.282437 | Apache-2.0 | false | 2e2304d089fb7737be454ede728886e6 |
//===--- BinaryFloatingPointConversionFromBinaryInteger.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_BinaryFloatingPointConversionFromBinaryInteger.swift | cpp_apple_swift_benchmark_single-source_BinaryFloatingPointConversionFromBinaryInteger.swift | Swift | 5,475 | 0.95 | 0.028037 | 0.104046 | node-utils | 247 | 2024-08-20T14:14:24.013449 | MIT | false | 830fef0e4c2d36166ba90a82800b6d6b |
//===--- BinaryFloatingPointProperties.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_BinaryFloatingPointProperties.swift | cpp_apple_swift_benchmark_single-source_BinaryFloatingPointProperties.swift | Swift | 1,922 | 0.95 | 0.109589 | 0.161765 | vue-tools | 926 | 2025-01-10T02:20:27.284836 | Apache-2.0 | false | 77fa49d536398437a604656f6f0e1518 |
//===--- BitCount.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_BitCount.swift | cpp_apple_swift_benchmark_single-source_BitCount.swift | Swift | 1,267 | 0.95 | 0.106383 | 0.348837 | python-kit | 651 | 2023-11-07T14:59:30.550560 | MIT | false | 2567f75cab26735491f11de2b72da139 |
//===--- Breadcrumbs.swift ------------------------------------*- 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_Breadcrumbs.swift | cpp_apple_swift_benchmark_single-source_Breadcrumbs.swift | Swift | 17,840 | 0.95 | 0.061144 | 0.094037 | vue-tools | 407 | 2024-03-30T18:08:06.169673 | BSD-3-Clause | false | 19561e42bc07051b46b3e9dfb69e7e0c |
//===--- BucketSort.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_BucketSort.swift | cpp_apple_swift_benchmark_single-source_BucketSort.swift | Swift | 4,178 | 0.95 | 0.068182 | 0.220339 | python-kit | 499 | 2024-07-22T02:48:32.464057 | GPL-3.0 | false | 604e9a4d7d91979d6aafe53ed295e2dd |
//===--- BufferFill.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.org/... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_BufferFill.swift | cpp_apple_swift_benchmark_single-source_BufferFill.swift | Swift | 5,277 | 0.95 | 0.036145 | 0.163121 | awesome-app | 319 | 2025-02-03T06:28:01.961366 | Apache-2.0 | false | f8f00a7ef34a9233e3ba5b0446b4284c |
//===--- BufferFind.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/LICENSE... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_BufferFind.swift | cpp_apple_swift_benchmark_single-source_BufferFind.swift | Swift | 3,345 | 0.95 | 0.047244 | 0.12931 | vue-tools | 311 | 2024-07-31T06:55:53.718409 | Apache-2.0 | false | fc0cfb576134ab983914a54c4a591f9f |
//===--- ByteSwap.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_ByteSwap.swift | cpp_apple_swift_benchmark_single-source_ByteSwap.swift | Swift | 1,917 | 0.95 | 0.051724 | 0.307692 | python-kit | 262 | 2024-05-28T21:41:53.790613 | MIT | false | 3c091a9f8ffc0dee361b273790379db8 |
//===--- Calculator.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_Calculator.swift | cpp_apple_swift_benchmark_single-source_Calculator.swift | Swift | 1,515 | 0.95 | 0.072727 | 0.215686 | node-utils | 247 | 2024-12-08T22:31:22.074116 | Apache-2.0 | false | 957b781c22bba88b43e1c7e7cb22a32a |
//===--- CaptureProp.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_CaptureProp.swift | cpp_apple_swift_benchmark_single-source_CaptureProp.swift | Swift | 1,106 | 0.95 | 0.073171 | 0.314286 | vue-tools | 563 | 2024-05-07T00:54:52.163995 | BSD-3-Clause | false | 178dad9beba4049dd5584018acbc8c5f |
//===--- ChaCha.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_ChaCha.swift | cpp_apple_swift_benchmark_single-source_ChaCha.swift | Swift | 14,406 | 0.95 | 0.079156 | 0.238245 | python-kit | 591 | 2024-01-18T12:08:25.463878 | Apache-2.0 | false | 3d957c6080f92fbd26519b63941cf549 |
import TestsUtils\n\npublic let benchmarks = [\n BenchmarkInfo(name: "ChainedFilterMap", runFunction: run_ChainedFilterMap,\n tags: [.algorithm], setUpFunction: { blackHole(first100k) },\n legacyFactor: 9),\n BenchmarkInfo(name: "FatCompactMap", runFunction: run_FatCompactMap,\n tags: [.algorithm], setUpFunc... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_ChainedFilterMap.swift | cpp_apple_swift_benchmark_single-source_ChainedFilterMap.swift | Swift | 1,136 | 0.85 | 0.090909 | 0 | node-utils | 652 | 2024-10-11T14:49:42.965415 | GPL-3.0 | false | ed56d3ab99319651091cbee0aec3da6f |
//===--- CharacterLiteralsLarge.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_CharacterLiteralsLarge.swift | cpp_apple_swift_benchmark_single-source_CharacterLiteralsLarge.swift | Swift | 1,594 | 0.95 | 0.058824 | 0.318182 | python-kit | 413 | 2024-12-18T01:29:38.521595 | GPL-3.0 | false | 11a04a5c2ca196c1bc60bb8b27ae0cc1 |
//===--- CharacterLiteralsSmall.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_CharacterLiteralsSmall.swift | cpp_apple_swift_benchmark_single-source_CharacterLiteralsSmall.swift | Swift | 2,114 | 0.95 | 0.0375 | 0.205882 | node-utils | 56 | 2024-03-29T09:02:18.725479 | MIT | false | 7d433379b457bf6431333ae444b455c2 |
//===--- CharacterProperties.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_CharacterProperties.swift | cpp_apple_swift_benchmark_single-source_CharacterProperties.swift | Swift | 14,444 | 0.95 | 0.079545 | 0.06506 | react-lib | 620 | 2023-10-02T21:11:56.524630 | Apache-2.0 | false | de4e88d1fa353fe414e82e5280bbdace |
//===--- StringEdits.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_CharacterRecognizer.swift | cpp_apple_swift_benchmark_single-source_CharacterRecognizer.swift | Swift | 4,234 | 0.95 | 0.092784 | 0.125 | vue-tools | 275 | 2023-07-13T22:17:27.933000 | BSD-3-Clause | false | 538b07b5b45ce2cb119e25f3ed4cc6e3 |
//===--- Chars.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_Chars.swift | cpp_apple_swift_benchmark_single-source_Chars.swift | Swift | 1,602 | 0.95 | 0.102041 | 0.295455 | react-lib | 494 | 2025-03-09T22:21:36.651198 | MIT | false | a0cd337bbee9a3b79eae355ed5b8cfe3 |
//===--- ClassArrayGetter.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_ClassArrayGetter.swift | cpp_apple_swift_benchmark_single-source_ClassArrayGetter.swift | Swift | 1,260 | 0.95 | 0.113208 | 0.234043 | python-kit | 627 | 2024-07-23T06:18:25.506603 | MIT | false | f2622db29ec4022e9e1f59c29813f23f |
// Combos benchmark\n//\n// Description: Generates every combination of every element in two sequences\n// Source: https://gist.github.com/airspeedswift/34251f2ddb1b038c5d88\n\nimport TestsUtils\n\npublic let benchmarks =\n BenchmarkInfo(\n name: "Combos",\n runFunction: run_Combos,\n tags: [.validation, .abs... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_Combos.swift | cpp_apple_swift_benchmark_single-source_Combos.swift | Swift | 2,344 | 0.95 | 0.141176 | 0.282051 | vue-tools | 659 | 2024-07-01T23:09:43.155717 | GPL-3.0 | false | 0f460fd6d3b1c9cd95adfab49eef5956 |
//===--- CountAlgo.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_CountAlgo.swift | cpp_apple_swift_benchmark_single-source_CountAlgo.swift | Swift | 7,214 | 0.95 | 0.031496 | 0.090164 | python-kit | 466 | 2025-01-22T14:43:34.568172 | Apache-2.0 | false | 7e1e81183c3041176bda5952e454a045 |
//===--- COWArrayGuaranteedParameterOverhead.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_COWArrayGuaranteedParameterOverhead.swift | cpp_apple_swift_benchmark_single-source_COWArrayGuaranteedParameterOverhead.swift | Swift | 1,248 | 0.95 | 0.066667 | 0.358974 | react-lib | 8 | 2025-05-10T20:42:45.645454 | BSD-3-Clause | false | cf080595e529802d6c7bcc571eb3aeeb |
// COWTree benchmark\n//\n// Description: Copy-On-Write behaviour for a struct\n// Source: https://gist.github.com/airspeedswift/71f15d1eb866be9e5ac7\n\nimport TestsUtils\n\npublic let benchmarks = [\n BenchmarkInfo(\n name: "COWTree",\n runFunction: run_COWTree,\n tags: [.validation, .abstraction, .String],\... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_COWTree.swift | cpp_apple_swift_benchmark_single-source_COWTree.swift | Swift | 3,371 | 0.95 | 0.100671 | 0.077519 | node-utils | 718 | 2024-07-24T17:45:48.396341 | Apache-2.0 | false | 20b65946fe71dbaaf1f4475009a08242 |
//===--- CString.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_CString.swift | cpp_apple_swift_benchmark_single-source_CString.swift | Swift | 3,962 | 0.95 | 0.11 | 0.193182 | python-kit | 294 | 2024-10-17T23:13:28.310082 | MIT | false | 43c4e1b0acb4046cf73d9553c99b65a9 |
import TestsUtils\npublic let benchmarks = [\n BenchmarkInfo(\n name: "CSVParsing.Char",\n runFunction: run_CSVParsing_characters,\n tags: [.miniapplication, .api, .String],\n setUpFunction: { buildWorkload() }),\n BenchmarkInfo(\n name: "CSVParsing.Scalar",\n runFunction: run_CSVParsing_scalars,\n ... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_CSVParsing.swift | cpp_apple_swift_benchmark_single-source_CSVParsing.swift | Swift | 12,531 | 0.95 | 0.080092 | 0.0275 | python-kit | 651 | 2025-04-05T07:00:39.069659 | Apache-2.0 | false | 56c8c81c25f2a59a4539090d1f65d8d5 |
//===--- DataBenchmarks.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_DataBenchmarks.swift | cpp_apple_swift_benchmark_single-source_DataBenchmarks.swift | Swift | 20,942 | 0.95 | 0.097345 | 0.027344 | vue-tools | 924 | 2024-05-08T18:33:34.560295 | MIT | false | f068b03f14e5c1b363703164963b299f |
//===--- DeadArray.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_DeadArray.swift | cpp_apple_swift_benchmark_single-source_DeadArray.swift | Swift | 1,106 | 0.95 | 0.085106 | 0.3 | node-utils | 622 | 2025-03-10T14:33:49.977532 | MIT | false | 0a69b4cbf9d577d9421b2913cc8daa2b |
//===--- DevirtualizeProtocolComposition.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// S... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_DevirtualizeProtocolComposition.swift | cpp_apple_swift_benchmark_single-source_DevirtualizeProtocolComposition.swift | Swift | 1,273 | 0.95 | 0.133333 | 0.297297 | react-lib | 811 | 2023-09-22T08:20:45.036072 | MIT | false | b527ee07e72af3293fa6b7e5d780a26a |
//===--- DictionaryBridge.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_DictionaryBridge.swift | cpp_apple_swift_benchmark_single-source_DictionaryBridge.swift | Swift | 1,786 | 0.95 | 0.126761 | 0.283333 | node-utils | 45 | 2023-10-31T00:27:40.740607 | Apache-2.0 | false | 2c5942bb3db7c27b96e2b10d8de401ef |
//===--- DictionaryBridgeToObjC.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_DictionaryBridgeToObjC.swift | cpp_apple_swift_benchmark_single-source_DictionaryBridgeToObjC.swift | Swift | 2,306 | 0.95 | 0.093023 | 0.202532 | react-lib | 450 | 2024-12-25T06:28:45.535186 | GPL-3.0 | false | 918fc73c365d146c364bbeb767cd85a3 |
//===--- DictionaryCompactMapValues.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_DictionaryCompactMapValues.swift | cpp_apple_swift_benchmark_single-source_DictionaryCompactMapValues.swift | Swift | 1,696 | 0.95 | 0.085106 | 0.268293 | awesome-app | 277 | 2024-06-12T11:51:17.680881 | Apache-2.0 | false | a5027449e72b23c500b6ed04dbdc0edf |
//===--- DictionaryCopy.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_DictionaryCopy.swift | cpp_apple_swift_benchmark_single-source_DictionaryCopy.swift | Swift | 2,496 | 0.95 | 0.1 | 0.316667 | python-kit | 822 | 2025-03-02T02:25:14.056310 | MIT | false | c875b92af273b19a5a5ddfc33b7fd06b |
//===--- DictionaryGroup.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_DictionaryGroup.swift | cpp_apple_swift_benchmark_single-source_DictionaryGroup.swift | Swift | 1,753 | 0.95 | 0.079365 | 0.203704 | python-kit | 376 | 2025-07-07T23:58:11.089265 | MIT | false | 84a4b5096608f60631131dfbb746de4a |
//===--- DictionaryKeysContains.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_DictionaryKeysContains.swift | cpp_apple_swift_benchmark_single-source_DictionaryKeysContains.swift | Swift | 2,362 | 0.95 | 0.098765 | 0.324324 | vue-tools | 980 | 2025-06-26T01:20:02.304640 | Apache-2.0 | false | a6d79e25e523d037a8f5c655526ab17c |
//===----------------------------------------------------------------------===//\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_DictionaryOfAnyHashableStrings.swift | cpp_apple_swift_benchmark_single-source_DictionaryOfAnyHashableStrings.swift | Swift | 2,263 | 0.95 | 0.1 | 0.197183 | python-kit | 198 | 2024-04-30T23:30:05.214726 | BSD-3-Clause | false | b150e7dd36d2425d0d8cbdb20c7da677 |
//===--- DictionaryRemove.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_DictionaryRemove.swift | cpp_apple_swift_benchmark_single-source_DictionaryRemove.swift | Swift | 2,492 | 0.95 | 0.091837 | 0.152941 | node-utils | 555 | 2025-01-20T01:54:24.026328 | GPL-3.0 | false | cbf02a8c00b4c841c7969a7b0eac89d9 |
//===--- DictionarySubscriptDefault.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_DictionarySubscriptDefault.swift | cpp_apple_swift_benchmark_single-source_DictionarySubscriptDefault.swift | Swift | 3,376 | 0.95 | 0.099174 | 0.164948 | python-kit | 606 | 2024-04-21T04:06:01.213654 | Apache-2.0 | false | 6f55031f26958cd31e33066193bc14ee |
//===--- DictionarySwap.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_DictionarySwap.swift | cpp_apple_swift_benchmark_single-source_DictionarySwap.swift | Swift | 2,966 | 0.95 | 0.078431 | 0.157303 | vue-tools | 279 | 2024-02-11T04:03:04.139977 | BSD-3-Clause | false | 096ee4cf21267d9c575733c03706edb5 |
// DictOfArraysToArrayOfDicts benchmark\n//\n// Description: Convert a dictionary of [key: [values]] to an array of\n// dictionaries [[key: value]] using zipWith.\n// Source: https://gist.github.com/airspeedswift/3675952127ee775551b0\n\nimport TestsUtils\n\npublic let benchmarks = [\n BenchmarkInfo(\n ... | dataset_sample\swift\swift\cpp_apple_swift_benchmark_single-source_DictOfArraysToArrayOfDicts.swift | cpp_apple_swift_benchmark_single-source_DictOfArraysToArrayOfDicts.swift | Swift | 3,566 | 0.95 | 0.047945 | 0.220472 | python-kit | 772 | 2024-09-29T07:15:11.291470 | MIT | false | ad23871c5f83dadd065b59783a94aa6c |
//===--- Differentiation.swift -------------------------------------------===//\n//\n// This source file is part of the Swift.org open source project\n//\n// Copyright (c) 2014 - 2020 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_Differentiation.swift | cpp_apple_swift_benchmark_single-source_Differentiation.swift | Swift | 1,863 | 0.95 | 0.09589 | 0.2 | node-utils | 436 | 2024-02-17T03:33:42.964389 | MIT | false | 277e419ae0dc27c0f819ad31a175adf7 |
//===--- Diffing.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_Diffing.swift | cpp_apple_swift_benchmark_single-source_Diffing.swift | Swift | 3,145 | 0.95 | 0.057971 | 0.169231 | react-lib | 276 | 2024-04-26T05:57:03.085769 | GPL-3.0 | false | 1899942deaebcb412e2b1df8e88e60c3 |
//===--- DiffingMyers.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_DiffingMyers.swift | cpp_apple_swift_benchmark_single-source_DiffingMyers.swift | Swift | 6,388 | 0.95 | 0.107843 | 0.228571 | python-kit | 39 | 2024-01-23T22:15:22.018354 | Apache-2.0 | false | 0dfd72876f67a93d339860ac76f93543 |
//===--- DropFirst.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_DropFirst.swift | cpp_apple_swift_benchmark_single-source_DropFirst.swift | Swift | 6,938 | 0.95 | 0.122449 | 0.079498 | vue-tools | 219 | 2024-11-06T12:58:14.318231 | Apache-2.0 | false | c53a1ec2a6b411f5c9471a2493c4ddb4 |
//===--- DropLast.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_DropLast.swift | cpp_apple_swift_benchmark_single-source_DropLast.swift | Swift | 6,863 | 0.95 | 0.122449 | 0.079498 | node-utils | 239 | 2024-06-10T06:35:12.055414 | BSD-3-Clause | false | 3f70c51e3437aeeb89cbf397e056f08d |
//===--- DropWhile.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_DropWhile.swift | cpp_apple_swift_benchmark_single-source_DropWhile.swift | Swift | 7,078 | 0.95 | 0.179592 | 0.079498 | vue-tools | 889 | 2024-01-13T11:18:12.932491 | GPL-3.0 | false | 9170377710652df3ae76551c3aa17831 |
//===--- ErrorHandling.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_ErrorHandling.swift | cpp_apple_swift_benchmark_single-source_ErrorHandling.swift | Swift | 1,116 | 0.95 | 0.148936 | 0.268293 | python-kit | 272 | 2023-10-20T17:57:57.021379 | GPL-3.0 | false | c6aaaf615182f6c612496d7e5b341d11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.