Skip to content

Commit

Permalink
Merge branch 'main' into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Jul 30, 2024
2 parents 1aae1a9 + e1fbf87 commit 259e5cc
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/GemFile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/ObserveStream/ObserveStream.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Alpaca.Markets" Version="7.0.4" />
<PackageReference Include="Alpaca.Markets" Version="7.1.0" />
<PackageReference Include="Skender.Stock.Indicators" Version="3.0.0-preview1014-0025" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/UseQuoteApi/UseQuoteApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Alpaca.Markets" Version="7.0.4" />
<PackageReference Include="Alpaca.Markets" Version="7.1.0" />
<PackageReference Include="Skender.Stock.Indicators" Version="2.5.0" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions tests/indicators/Tests.Indicators.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.4.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />
<PackageReference Include="MSTest.TestAdapter" Version="3.5.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.5.0" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
4 changes: 2 additions & 2 deletions tests/other/Tests.Other.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.4.3" />
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />
<PackageReference Include="MSTest.TestAdapter" Version="3.5.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.5.0" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions tests/performance/Perf.Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ namespace Tests.Performance;

// HELPERS, both public and private

[ShortRunJob]
public class HelperPerformance
{
private static IEnumerable<Quote> h;
Expand Down
7 changes: 4 additions & 3 deletions tests/performance/Perf.Indicators.Static.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Tests.Performance;

[ShortRunJob]
public class IndicatorsStatic
{
private static IEnumerable<Quote> q;
Expand Down Expand Up @@ -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();

Expand Down Expand Up @@ -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();

Expand Down
1 change: 1 addition & 0 deletions tests/performance/Perf.Internals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ namespace Tests.Performance;

// INTERNAL FUNCTIONS

[ShortRunJob]
public class InternalsPerformance
{
[Params(20, 50, 250, 1000)]
Expand Down

0 comments on commit 259e5cc

Please sign in to comment.