From 1782e36dab965a2314f302d20f6a77c21a7f69fd Mon Sep 17 00:00:00 2001 From: AKosylo Date: Thu, 2 Nov 2023 10:42:36 +0100 Subject: [PATCH] rename PerfTestCL to Tools --- DXFeedFramework.xcodeproj/project.pbxproj | 14 +++++++------- README.md | 10 +++++----- Samples/{PerfTestCL => Tools}/Arguments.swift | 2 +- .../ConnectEventListener.swift | 2 +- Samples/{PerfTestCL => Tools}/ConnectTool.swift | 0 Samples/{PerfTestCL => Tools}/DumpTool.swift | 0 Samples/{PerfTestCL => Tools}/HelpTool.swift | 0 Samples/{PerfTestCL => Tools}/IpfConnect.swift | 0 .../{PerfTestCL => Tools}/LatencyTestTool.swift | 0 Samples/{PerfTestCL => Tools}/LiveIpfSample.swift | 0 Samples/{PerfTestCL => Tools}/PerfTestTool.swift | 0 Samples/{PerfTestCL => Tools}/ScheduleSample.swift | 0 .../{PerfTestCL => Tools}/SubscriptionUtils.swift | 0 .../Tools.entitlements} | 0 Samples/{PerfTestCL => Tools}/ToolsCommand.swift | 0 Samples/{PerfTestCL => Tools}/main.swift | 2 +- Samples/Utils/DXFTimer.swift | 2 +- Samples/Utils/Endpoint+Ext.swift | 2 +- Samples/Utils/EventCode+String.swift | 2 +- Samples/Utils/Performance/LatencyListener.swift | 2 +- .../Utils/Performance/LatencyMetricsPrinter.swift | 2 +- Samples/Utils/Performance/PerfDiagnostic.swift | 2 +- 22 files changed, 21 insertions(+), 21 deletions(-) rename Samples/{PerfTestCL => Tools}/Arguments.swift (99%) rename Samples/{PerfTestCL => Tools}/ConnectEventListener.swift (94%) rename Samples/{PerfTestCL => Tools}/ConnectTool.swift (100%) rename Samples/{PerfTestCL => Tools}/DumpTool.swift (100%) rename Samples/{PerfTestCL => Tools}/HelpTool.swift (100%) rename Samples/{PerfTestCL => Tools}/IpfConnect.swift (100%) rename Samples/{PerfTestCL => Tools}/LatencyTestTool.swift (100%) rename Samples/{PerfTestCL => Tools}/LiveIpfSample.swift (100%) rename Samples/{PerfTestCL => Tools}/PerfTestTool.swift (100%) rename Samples/{PerfTestCL => Tools}/ScheduleSample.swift (100%) rename Samples/{PerfTestCL => Tools}/SubscriptionUtils.swift (100%) rename Samples/{PerfTestCL/PerfTestCL.entitlements => Tools/Tools.entitlements} (100%) rename Samples/{PerfTestCL => Tools}/ToolsCommand.swift (100%) rename Samples/{PerfTestCL => Tools}/main.swift (98%) diff --git a/DXFeedFramework.xcodeproj/project.pbxproj b/DXFeedFramework.xcodeproj/project.pbxproj index 6a3b1f3be..504aae02a 100644 --- a/DXFeedFramework.xcodeproj/project.pbxproj +++ b/DXFeedFramework.xcodeproj/project.pbxproj @@ -555,7 +555,7 @@ 64125E352A1F689A00FB32BA /* libDxFeedGraalNativeSdk.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libDxFeedGraalNativeSdk.dylib; path = graal_builds/osx_universal/libDxFeedGraalNativeSdk.dylib; sourceTree = ""; }; 64148B642ABB5C320063110E /* Tools */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Tools; sourceTree = BUILT_PRODUCTS_DIR; }; 64148B662ABB5C320063110E /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = ""; }; - 64148B6E2ABB5C4A0063110E /* PerfTestCL.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = PerfTestCL.entitlements; sourceTree = ""; }; + 64148B6E2ABB5C4A0063110E /* Tools.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Tools.entitlements; sourceTree = ""; }; 6417DD1E2A39C9A7008912D6 /* LatencyDiagnostic.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LatencyDiagnostic.swift; sourceTree = ""; }; 641A59992AB4794E003899FB /* TradeETH.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TradeETH.swift; sourceTree = ""; }; 641AC1A82A61AE4000EF6D6C /* DXAliases.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DXAliases.swift; sourceTree = ""; }; @@ -930,10 +930,10 @@ path = Interop; sourceTree = ""; }; - 64148B652ABB5C320063110E /* PerfTestCL */ = { + 64148B652ABB5C320063110E /* Tools */ = { isa = PBXGroup; children = ( - 64148B6E2ABB5C4A0063110E /* PerfTestCL.entitlements */, + 64148B6E2ABB5C4A0063110E /* Tools.entitlements */, 64148B662ABB5C320063110E /* main.swift */, 647426AC2ABC85F20012F793 /* Arguments.swift */, 647426A62ABC7F080012F793 /* ConnectEventListener.swift */, @@ -948,7 +948,7 @@ 648BD56A2AC4576F004A3A95 /* HelpTool.swift */, 648BD56C2AC56A04004A3A95 /* SubscriptionUtils.swift */, ); - path = PerfTestCL; + path = Tools; sourceTree = ""; }; 641BCBBF2A21051A00FE23C2 /* Market */ = { @@ -1345,7 +1345,7 @@ 64B627162A375BBA00196D07 /* QuoteTableApp */, 642DC9262AAA21C000974F5C /* IpfTableApp */, 64B4364C2AB9D3410003919E /* ScheduleSampleApp */, - 64148B652ABB5C320063110E /* PerfTestCL */, + 64148B652ABB5C320063110E /* Tools */, ); path = Samples; sourceTree = ""; @@ -2488,7 +2488,7 @@ 64148B682ABB5C320063110E /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - CODE_SIGN_ENTITLEMENTS = Samples/PerfTestCL/PerfTestCL.entitlements; + CODE_SIGN_ENTITLEMENTS = Samples/Tools/Tools.entitlements; CODE_SIGN_STYLE = Manual; DEVELOPMENT_TEAM = ""; ENABLE_HARDENED_RUNTIME = YES; @@ -2505,7 +2505,7 @@ 64148B692ABB5C320063110E /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - CODE_SIGN_ENTITLEMENTS = Samples/PerfTestCL/PerfTestCL.entitlements; + CODE_SIGN_ENTITLEMENTS = Samples/Tools/Tools.entitlements; CODE_SIGN_STYLE = Manual; DEVELOPMENT_TEAM = ""; ENABLE_HARDENED_RUNTIME = YES; diff --git a/README.md b/README.md index 538ecae80..8bc28379f 100644 --- a/README.md +++ b/README.md @@ -164,20 +164,20 @@ Quote{AAPL, eventTime=0, time=20221219-223312.000, timeNanoPart=0, sequence=0, b ## Tools -[Tools](https://github.com/dxFeed/dxfeed-graal-swift-api/tree/swift/Samples/PerfTestCL/) +[Tools](https://github.com/dxFeed/dxfeed-graal-swift-api/tree/swift/Samples/Tools/) is a collection of tools that allow you to subscribe to various market events for the specified symbols. The tools can be downloaded from [Release](https://github.com/dxFeed/dxfeed-graal-swift-api/releases) (tools.zip includes self-contained versions) -* [Connect](https://github.com/dxFeed/dxfeed-graal-swift-api/blob/swift/Samples/PerfTestCL/ConnectTool.swift) +* [Connect](https://github.com/dxFeed/dxfeed-graal-swift-api/blob/swift/Samples/Tools/ConnectTool.swift) connects to the specified address(es) and subscribes to the specified events with the specified symbol -* [Dump](https://github.com/dxFeed/dxfeed-graal-swift-api/blob/swift/Samples/PerfTestCL/DumpTool.swift) +* [Dump](https://github.com/dxFeed/dxfeed-graal-swift-api/blob/swift/Samples/Tools/DumpTool.swift) dumps all events received from address. This was designed to retrieve data from a file -* [PerfTest](https://github.com/dxFeed/dxfeed-graal-swift-api/blob/swift/Samples/PerfTestCL/PerfTestTool.swift) +* [PerfTest](https://github.com/dxFeed/dxfeed-graal-swift-api/blob/swift/Samples/Tools/PerfTestTool.swift) connects to the specified address(es) and calculates performance counters (events per second, memory usage, CPU usage, etc.) -* [LatencyTest](https://github.com/dxFeed/dxfeed-graal-swift-api/blob/swift/Samples/PerfTestCL/LatencyTestTool.swift) +* [LatencyTest](https://github.com/dxFeed/dxfeed-graal-swift-api/blob/swift/Samples/Tools/LatencyTestTool.swift) connects to the specified address(es) and calculates latency. To run tools on macOs, it may be necessary to unquarantine them: diff --git a/Samples/PerfTestCL/Arguments.swift b/Samples/Tools/Arguments.swift similarity index 99% rename from Samples/PerfTestCL/Arguments.swift rename to Samples/Tools/Arguments.swift index e496d8b7d..b7ef6f630 100644 --- a/Samples/PerfTestCL/Arguments.swift +++ b/Samples/Tools/Arguments.swift @@ -1,6 +1,6 @@ // // ArgumentParser.swift -// PerfTestCL +// Tools // // Created by Aleksey Kosylo on 21.09.23. // diff --git a/Samples/PerfTestCL/ConnectEventListener.swift b/Samples/Tools/ConnectEventListener.swift similarity index 94% rename from Samples/PerfTestCL/ConnectEventListener.swift rename to Samples/Tools/ConnectEventListener.swift index 210e06f40..c1dc052b4 100644 --- a/Samples/PerfTestCL/ConnectEventListener.swift +++ b/Samples/Tools/ConnectEventListener.swift @@ -1,6 +1,6 @@ // // ConnectEventListener.swift -// DXFeedFramework +// Tools // // Created by Aleksey Kosylo on 21.09.23. // diff --git a/Samples/PerfTestCL/ConnectTool.swift b/Samples/Tools/ConnectTool.swift similarity index 100% rename from Samples/PerfTestCL/ConnectTool.swift rename to Samples/Tools/ConnectTool.swift diff --git a/Samples/PerfTestCL/DumpTool.swift b/Samples/Tools/DumpTool.swift similarity index 100% rename from Samples/PerfTestCL/DumpTool.swift rename to Samples/Tools/DumpTool.swift diff --git a/Samples/PerfTestCL/HelpTool.swift b/Samples/Tools/HelpTool.swift similarity index 100% rename from Samples/PerfTestCL/HelpTool.swift rename to Samples/Tools/HelpTool.swift diff --git a/Samples/PerfTestCL/IpfConnect.swift b/Samples/Tools/IpfConnect.swift similarity index 100% rename from Samples/PerfTestCL/IpfConnect.swift rename to Samples/Tools/IpfConnect.swift diff --git a/Samples/PerfTestCL/LatencyTestTool.swift b/Samples/Tools/LatencyTestTool.swift similarity index 100% rename from Samples/PerfTestCL/LatencyTestTool.swift rename to Samples/Tools/LatencyTestTool.swift diff --git a/Samples/PerfTestCL/LiveIpfSample.swift b/Samples/Tools/LiveIpfSample.swift similarity index 100% rename from Samples/PerfTestCL/LiveIpfSample.swift rename to Samples/Tools/LiveIpfSample.swift diff --git a/Samples/PerfTestCL/PerfTestTool.swift b/Samples/Tools/PerfTestTool.swift similarity index 100% rename from Samples/PerfTestCL/PerfTestTool.swift rename to Samples/Tools/PerfTestTool.swift diff --git a/Samples/PerfTestCL/ScheduleSample.swift b/Samples/Tools/ScheduleSample.swift similarity index 100% rename from Samples/PerfTestCL/ScheduleSample.swift rename to Samples/Tools/ScheduleSample.swift diff --git a/Samples/PerfTestCL/SubscriptionUtils.swift b/Samples/Tools/SubscriptionUtils.swift similarity index 100% rename from Samples/PerfTestCL/SubscriptionUtils.swift rename to Samples/Tools/SubscriptionUtils.swift diff --git a/Samples/PerfTestCL/PerfTestCL.entitlements b/Samples/Tools/Tools.entitlements similarity index 100% rename from Samples/PerfTestCL/PerfTestCL.entitlements rename to Samples/Tools/Tools.entitlements diff --git a/Samples/PerfTestCL/ToolsCommand.swift b/Samples/Tools/ToolsCommand.swift similarity index 100% rename from Samples/PerfTestCL/ToolsCommand.swift rename to Samples/Tools/ToolsCommand.swift diff --git a/Samples/PerfTestCL/main.swift b/Samples/Tools/main.swift similarity index 98% rename from Samples/PerfTestCL/main.swift rename to Samples/Tools/main.swift index 235fcb56c..ed073e90f 100644 --- a/Samples/PerfTestCL/main.swift +++ b/Samples/Tools/main.swift @@ -1,6 +1,6 @@ // // main.swift -// SwiftTestCLI +// Tools // // Created by Aleksey Kosylo on 20.02.2023. // diff --git a/Samples/Utils/DXFTimer.swift b/Samples/Utils/DXFTimer.swift index 97857942f..afb0a140f 100644 --- a/Samples/Utils/DXFTimer.swift +++ b/Samples/Utils/DXFTimer.swift @@ -1,6 +1,6 @@ // // RepeatingTimer.swift -// DxFeedPertTestApp +// DXFeedFramework // // Created by Aleksey Kosylo on 16.06.23. // diff --git a/Samples/Utils/Endpoint+Ext.swift b/Samples/Utils/Endpoint+Ext.swift index 7c60b9d5d..bbd98e1c8 100644 --- a/Samples/Utils/Endpoint+Ext.swift +++ b/Samples/Utils/Endpoint+Ext.swift @@ -1,6 +1,6 @@ // // Endpoint+Ext.swift -// TestApp +// DXFeedFramework // // Created by Aleksey Kosylo on 12.06.23. // diff --git a/Samples/Utils/EventCode+String.swift b/Samples/Utils/EventCode+String.swift index 4aabebc9d..e4261544a 100644 --- a/Samples/Utils/EventCode+String.swift +++ b/Samples/Utils/EventCode+String.swift @@ -1,6 +1,6 @@ // // EventCode+String.swift -// PerfTestCL +// DXFeedFramework // // Created by Aleksey Kosylo on 21.09.23. // diff --git a/Samples/Utils/Performance/LatencyListener.swift b/Samples/Utils/Performance/LatencyListener.swift index bc835b14a..cf3544cb1 100644 --- a/Samples/Utils/Performance/LatencyListener.swift +++ b/Samples/Utils/Performance/LatencyListener.swift @@ -1,6 +1,6 @@ // // LatencyListener.swift -// Tools +// DXFeedFramework // // Created by Aleksey Kosylo on 04.10.23. // diff --git a/Samples/Utils/Performance/LatencyMetricsPrinter.swift b/Samples/Utils/Performance/LatencyMetricsPrinter.swift index 129e0c1d6..86509dd16 100644 --- a/Samples/Utils/Performance/LatencyMetricsPrinter.swift +++ b/Samples/Utils/Performance/LatencyMetricsPrinter.swift @@ -1,6 +1,6 @@ // // LatencyMetricsPrinter.swift -// PerfTestCL +// DXFeedFramework // // Created by Aleksey Kosylo on 25.09.23. // diff --git a/Samples/Utils/Performance/PerfDiagnostic.swift b/Samples/Utils/Performance/PerfDiagnostic.swift index e837506ba..37623c574 100644 --- a/Samples/Utils/Performance/PerfDiagnostic.swift +++ b/Samples/Utils/Performance/PerfDiagnostic.swift @@ -1,6 +1,6 @@ // // Diagnostic.swift -// DxFeedPertTestApp +// DXFeedFramework // // Created by Aleksey Kosylo on 14.06.23. //