diff --git a/.github/workflows/test-performance.yml b/.github/workflows/test-performance.yml index 990171bef..b1204b3d6 100644 --- a/.github/workflows/test-performance.yml +++ b/.github/workflows/test-performance.yml @@ -50,4 +50,4 @@ jobs: working-directory: tests/performance/BenchmarkDotNet.Artifacts/results run: | echo "### Package version ${{ steps.gitversion.outputs.fullSemVer }}" >> $GITHUB_STEP_SUMMARY - cat Tests.Performance.IndicatorPerformance-report-github.md >> $GITHUB_STEP_SUMMARY + cat Tests.Performance.IndicatorsStatic-report-github.md >> $GITHUB_STEP_SUMMARY diff --git a/docs/GemFile.lock b/docs/GemFile.lock index edd0bb195..bbae87126 100644 --- a/docs/GemFile.lock +++ b/docs/GemFile.lock @@ -256,7 +256,7 @@ GEM pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (5.1.1) - racc (1.8.0) + racc (1.8.1) rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) diff --git a/docs/examples/ObserveStream/ObserveStream.csproj b/docs/examples/ObserveStream/ObserveStream.csproj index 3305eec6e..096da51bd 100644 --- a/docs/examples/ObserveStream/ObserveStream.csproj +++ b/docs/examples/ObserveStream/ObserveStream.csproj @@ -7,7 +7,7 @@ - + diff --git a/docs/examples/UseQuoteApi/UseQuoteApi.csproj b/docs/examples/UseQuoteApi/UseQuoteApi.csproj index 3f510bd45..e0c16336b 100644 --- a/docs/examples/UseQuoteApi/UseQuoteApi.csproj +++ b/docs/examples/UseQuoteApi/UseQuoteApi.csproj @@ -7,7 +7,7 @@ - + diff --git a/tests/indicators/Tests.Indicators.csproj b/tests/indicators/Tests.Indicators.csproj index 43d896e29..02ddd7d74 100644 --- a/tests/indicators/Tests.Indicators.csproj +++ b/tests/indicators/Tests.Indicators.csproj @@ -15,8 +15,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/other/Tests.Other.csproj b/tests/other/Tests.Other.csproj index d36287d56..b28d53258 100644 --- a/tests/other/Tests.Other.csproj +++ b/tests/other/Tests.Other.csproj @@ -15,8 +15,8 @@ - - + + diff --git a/tests/performance/Perf.Helpers.cs b/tests/performance/Perf.Helpers.cs index 15c50536a..8b5b4ed54 100644 --- a/tests/performance/Perf.Helpers.cs +++ b/tests/performance/Perf.Helpers.cs @@ -2,6 +2,7 @@ namespace Tests.Performance; // HELPERS, both public and private +[ShortRunJob] public class HelperPerformance { private static IEnumerable h; diff --git a/tests/performance/Perf.Indicators.Static.cs b/tests/performance/Perf.Indicators.Static.cs index 65412f505..36ebfd01a 100644 --- a/tests/performance/Perf.Indicators.Static.cs +++ b/tests/performance/Perf.Indicators.Static.cs @@ -4,6 +4,7 @@ namespace Tests.Performance; +[ShortRunJob] public class IndicatorsStatic { private static IEnumerable q; @@ -42,9 +43,6 @@ public static void SetupCompare() [Benchmark] public object GetAdl() => q.GetAdl(); - [Benchmark] - public object GetAdlWithSma() => q.GetAdl(14); - [Benchmark] public object GetAdx() => q.GetAdx(); @@ -120,6 +118,9 @@ public static void SetupCompare() [Benchmark] public object GetDpo() => q.GetDpo(14); + [Benchmark] + public object GetDynamic() => q.GetDynamic(20); + [Benchmark] public object GetElderRay() => q.GetElderRay(); diff --git a/tests/performance/Perf.Internals.cs b/tests/performance/Perf.Internals.cs index 3c544d817..461dbab29 100644 --- a/tests/performance/Perf.Internals.cs +++ b/tests/performance/Perf.Internals.cs @@ -2,6 +2,7 @@ namespace Tests.Performance; // INTERNAL FUNCTIONS +[ShortRunJob] public class InternalsPerformance { [Params(20, 50, 250, 1000)]