Skip to content

Commit

Permalink
Merge pull request #2 from Aaronontheweb/v1.0.0-release
Browse files Browse the repository at this point in the history
v1.0.0 release of Phobos.Actor.Common
  • Loading branch information
Aaronontheweb authored Mar 8, 2018
2 parents 622744b + 2a714f9 commit 631acb4
Show file tree
Hide file tree
Showing 10 changed files with 209 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
_3/8/2018 8:37:49 PM_
### System Info
```ini
NBench=NBench, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null
OS=Microsoft Windows NT 6.2.9200.0
ProcessorCount=16
CLR=4.0.30319.42000,IsMono=False,MaxGcGeneration=2
```

### NBench Settings
```ini
RunMode=Throughput, TestMode=Measurement
NumberOfIterations=5, MaximumRunTime=00:00:01
Concurrent=True
Tracing=True
```

## Data
-------------------

### Totals
| Metric | Units | Max | Average | Min | StdDev |
|---------------- |---------------- |---------------- |---------------- |---------------- |---------------- |
|TotalCollections [Gen0] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
|TotalCollections [Gen1] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
|TotalCollections [Gen2] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
|TotalBytesAllocated | bytes | 0.00 | 0.00 | 0.00 | 0.00 |
|[Counter] Operations | operations | 25,548,331.00 | 25,548,331.00 | 25,548,331.00 | 0.00 |

### Per-second Totals
| Metric | Units / s | Max / s | Average / s | Min / s | StdDev / s |
|---------------- |---------------- |---------------- |---------------- |---------------- |---------------- |
|TotalCollections [Gen0] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
|TotalCollections [Gen1] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
|TotalCollections [Gen2] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
|TotalBytesAllocated | bytes | 0.00 | 0.00 | 0.00 | 0.00 |
|[Counter] Operations | operations | 160,499,719.60 | 160,410,169.13 | 160,331,602.34 | 60,754.21 |

### Raw Data
#### TotalCollections [Gen0]
| Run # | collections | collections / s |ns / collections |
|---------------- |---------------- |---------------- |---------------- |
| 1 | 0.00 | 0.00 | 159,278,895.76 |
| 2 | 0.00 | 0.00 | 159,284,357.02 |
| 3 | 0.00 | 0.00 | 159,346,820.13 |
| 4 | 0.00 | 0.00 | 159,253,978.78 |
| 5 | 0.00 | 0.00 | 159,179,910.50 |

#### TotalCollections [Gen1]
| Run # | collections | collections / s |ns / collections |
|---------------- |---------------- |---------------- |---------------- |
| 1 | 0.00 | 0.00 | 159,278,895.76 |
| 2 | 0.00 | 0.00 | 159,284,357.02 |
| 3 | 0.00 | 0.00 | 159,346,820.13 |
| 4 | 0.00 | 0.00 | 159,253,978.78 |
| 5 | 0.00 | 0.00 | 159,179,910.50 |

#### TotalCollections [Gen2]
| Run # | collections | collections / s |ns / collections |
|---------------- |---------------- |---------------- |---------------- |
| 1 | 0.00 | 0.00 | 159,278,895.76 |
| 2 | 0.00 | 0.00 | 159,284,357.02 |
| 3 | 0.00 | 0.00 | 159,346,820.13 |
| 4 | 0.00 | 0.00 | 159,253,978.78 |
| 5 | 0.00 | 0.00 | 159,179,910.50 |

#### TotalBytesAllocated
| Run # | bytes | bytes / s | ns / bytes |
|---------------- |---------------- |---------------- |---------------- |
| 1 | 0.00 | 0.00 | 159,278,895.76 |
| 2 | 0.00 | 0.00 | 159,284,357.02 |
| 3 | 0.00 | 0.00 | 159,346,820.13 |
| 4 | 0.00 | 0.00 | 159,253,978.78 |
| 5 | 0.00 | 0.00 | 159,179,910.50 |

#### [Counter] Operations
| Run # | operations | operations / s | ns / operations |
|---------------- |---------------- |---------------- |---------------- |
| 1 | 25,548,331.00 | 160,399,975.64 | 6.23 |
| 2 | 25,548,331.00 | 160,394,476.13 | 6.23 |
| 3 | 25,548,331.00 | 160,331,602.34 | 6.24 |
| 4 | 25,548,331.00 | 160,425,071.92 | 6.23 |
| 5 | 25,548,331.00 | 160,499,719.60 | 6.23 |


## Traces
[NBench][DEBUG][3/8/2018 8:37:33 PM][Thread 0001] Beginning Warmups for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][DEBUG][3/8/2018 8:37:33 PM][Thread 0001] ----- BEGIN PRE-WARMUP -----
[NBench][INFO][3/8/2018 8:37:33 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][DEBUG][3/8/2018 8:37:33 PM][Thread 0001] Throughput mode: estimating how many invocations of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1 will take 1s
[NBench][DEBUG][3/8/2018 8:37:47 PM][Thread 0001] Throughput mode: executed 87203803 instances of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1 in roughly 1s. Using that figure for benchmark.
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][DEBUG][3/8/2018 8:37:47 PM][Thread 0001] ----- END PRE-WARMUP -----
[NBench][DEBUG][3/8/2018 8:37:47 PM][Thread 0001] ----- BEGIN WARMUPS -----
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][DEBUG][3/8/2018 8:37:48 PM][Thread 0001] ----- END WARMUPS -----
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for run 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for run 2 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for run 3 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for run 4 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:49 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
[NBench][INFO][3/8/2018 8:37:49 PM][Thread 0001] Generating report for run 5 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1


7 changes: 5 additions & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
#### 0.1.0 August 14 2017 ####
First release
#### 1.0.0 March 8 2018 ####
Introduced the following two interfaces:

* `INeverTrace` - disables all tracing for any actors who implement this interface.
* `INeverMonitor` - disables all monitoring for any actors who implement this interface.
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Target "Nuget" DoNothing
// all
"BuildRelease" ==> "All"
"RunTests" ==> "All"
"NBench" ==> "All"
//"NBench" ==> "All"
"Nuget" ==> "All"

RunTargetOrDefault "Help"
19 changes: 19 additions & 0 deletions src/Phobos.Actor.Common/INeverMonitor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// -----------------------------------------------------------------------
// <copyright file="INeverMonitor.cs" company="Petabridge, LLC">
// Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com>
// </copyright>
// -----------------------------------------------------------------------

namespace Phobos.Actor.Common
{
/// <summary>
/// Marker interface used to indiate that this actor never
/// produces Phobos.Monitoring events under any circumstances.
/// </summary>
/// <remarks>
/// This interface cannot be overridden by configuration.
/// </remarks>
public interface INeverMonitor
{
}
}
19 changes: 19 additions & 0 deletions src/Phobos.Actor.Common/INeverTrace.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// -----------------------------------------------------------------------
// <copyright file="INeverTrace.cs" company="Petabridge, LLC">
// Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com>
// </copyright>
// -----------------------------------------------------------------------

namespace Phobos.Actor.Common
{
/// <summary>
/// Marker interface used to indicate that this actor
/// never produces Phobos.Tracing events under any circumstances.
/// </summary>
/// <remarks>
/// This interface cannot be overridden by configuration.
/// </remarks>
public interface INeverTrace
{
}
}
15 changes: 10 additions & 5 deletions src/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
<PropertyGroup>
<Copyright>Copyright © 2017 Your Company</Copyright>
<Authors>Your Authors</Authors>
<VersionPrefix>0.1.0</VersionPrefix>
<PackageReleaseNotes>Placeholder</PackageReleaseNotes>
<PackageIconUrl></PackageIconUrl>
<PackageProjectUrl></PackageProjectUrl>
<PackageLicenseUrl></PackageLicenseUrl>
<VersionPrefix>1.0.0</VersionPrefix>
<PackageReleaseNotes>Introduced the following two interfaces:
`INeverTrace` - disables all tracing for any actors who implement this interface.
`INeverMonitor` - disables all monitoring for any actors who implement this interface.</PackageReleaseNotes>
<PackageIconUrl>
</PackageIconUrl>
<PackageProjectUrl>
</PackageProjectUrl>
<PackageLicenseUrl>
</PackageLicenseUrl>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
Expand Down
9 changes: 7 additions & 2 deletions src/phobos.actor.common.Tests.Performance/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System;
// -----------------------------------------------------------------------
// <copyright file="UnitTest1.cs" company="Petabridge, LLC">
// Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com>
// </copyright>
// -----------------------------------------------------------------------

using NBench;

namespace Phobos.Actor.Common.Tests.Performance
Expand All @@ -23,4 +28,4 @@ public void TestMethod1()
_opsCounter.Increment();
}
}
}
}
9 changes: 7 additions & 2 deletions src/phobos.actor.common.Tests/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System;
// -----------------------------------------------------------------------
// <copyright file="UnitTest1.cs" company="Petabridge, LLC">
// Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com>
// </copyright>
// -----------------------------------------------------------------------

using Xunit;

namespace Phobos.Actor.Common.Tests
Expand All @@ -10,4 +15,4 @@ public void TestMethod1()
{
}
}
}
}
8 changes: 0 additions & 8 deletions src/phobos.actor.common/Class1.cs

This file was deleted.

3 changes: 2 additions & 1 deletion src/phobos.actor.common/phobos.actor.common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@


<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netstandard1.0</TargetFramework>
<Description>Common interfaces and classes used inside Phobos.Actor consumers.</Description>
</PropertyGroup>

</Project>

0 comments on commit 631acb4

Please sign in to comment.