You can test the difference in performance according to the pinpoint sampling value. You must install Swift tools in your test environment.
- Change
let url = URL(string: "http://localhost:3000")!
in PinpointNodeAgentTester.swift - Run below command line swift tool
$ swift test
Test Case '-[PinpointNodeAgentTesterTests.PinpointNodeAgentTesterTests testPerformanceTest]' passed (7.407 seconds).