Skip to content

Commit 631acb4

Browse files
Merge pull request #2 from Aaronontheweb/v1.0.0-release
v1.0.0 release of Phobos.Actor.Common
2 parents 622744b + 2a714f9 commit 631acb4

File tree

10 files changed

+209
-21
lines changed

10 files changed

+209
-21
lines changed
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
# Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
2+
_3/8/2018 8:37:49 PM_
3+
### System Info
4+
```ini
5+
NBench=NBench, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null
6+
OS=Microsoft Windows NT 6.2.9200.0
7+
ProcessorCount=16
8+
CLR=4.0.30319.42000,IsMono=False,MaxGcGeneration=2
9+
```
10+
11+
### NBench Settings
12+
```ini
13+
RunMode=Throughput, TestMode=Measurement
14+
NumberOfIterations=5, MaximumRunTime=00:00:01
15+
Concurrent=True
16+
Tracing=True
17+
```
18+
19+
## Data
20+
-------------------
21+
22+
### Totals
23+
| Metric | Units | Max | Average | Min | StdDev |
24+
|---------------- |---------------- |---------------- |---------------- |---------------- |---------------- |
25+
|TotalCollections [Gen0] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
26+
|TotalCollections [Gen1] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
27+
|TotalCollections [Gen2] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
28+
|TotalBytesAllocated | bytes | 0.00 | 0.00 | 0.00 | 0.00 |
29+
|[Counter] Operations | operations | 25,548,331.00 | 25,548,331.00 | 25,548,331.00 | 0.00 |
30+
31+
### Per-second Totals
32+
| Metric | Units / s | Max / s | Average / s | Min / s | StdDev / s |
33+
|---------------- |---------------- |---------------- |---------------- |---------------- |---------------- |
34+
|TotalCollections [Gen0] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
35+
|TotalCollections [Gen1] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
36+
|TotalCollections [Gen2] | collections | 0.00 | 0.00 | 0.00 | 0.00 |
37+
|TotalBytesAllocated | bytes | 0.00 | 0.00 | 0.00 | 0.00 |
38+
|[Counter] Operations | operations | 160,499,719.60 | 160,410,169.13 | 160,331,602.34 | 60,754.21 |
39+
40+
### Raw Data
41+
#### TotalCollections [Gen0]
42+
| Run # | collections | collections / s |ns / collections |
43+
|---------------- |---------------- |---------------- |---------------- |
44+
| 1 | 0.00 | 0.00 | 159,278,895.76 |
45+
| 2 | 0.00 | 0.00 | 159,284,357.02 |
46+
| 3 | 0.00 | 0.00 | 159,346,820.13 |
47+
| 4 | 0.00 | 0.00 | 159,253,978.78 |
48+
| 5 | 0.00 | 0.00 | 159,179,910.50 |
49+
50+
#### TotalCollections [Gen1]
51+
| Run # | collections | collections / s |ns / collections |
52+
|---------------- |---------------- |---------------- |---------------- |
53+
| 1 | 0.00 | 0.00 | 159,278,895.76 |
54+
| 2 | 0.00 | 0.00 | 159,284,357.02 |
55+
| 3 | 0.00 | 0.00 | 159,346,820.13 |
56+
| 4 | 0.00 | 0.00 | 159,253,978.78 |
57+
| 5 | 0.00 | 0.00 | 159,179,910.50 |
58+
59+
#### TotalCollections [Gen2]
60+
| Run # | collections | collections / s |ns / collections |
61+
|---------------- |---------------- |---------------- |---------------- |
62+
| 1 | 0.00 | 0.00 | 159,278,895.76 |
63+
| 2 | 0.00 | 0.00 | 159,284,357.02 |
64+
| 3 | 0.00 | 0.00 | 159,346,820.13 |
65+
| 4 | 0.00 | 0.00 | 159,253,978.78 |
66+
| 5 | 0.00 | 0.00 | 159,179,910.50 |
67+
68+
#### TotalBytesAllocated
69+
| Run # | bytes | bytes / s | ns / bytes |
70+
|---------------- |---------------- |---------------- |---------------- |
71+
| 1 | 0.00 | 0.00 | 159,278,895.76 |
72+
| 2 | 0.00 | 0.00 | 159,284,357.02 |
73+
| 3 | 0.00 | 0.00 | 159,346,820.13 |
74+
| 4 | 0.00 | 0.00 | 159,253,978.78 |
75+
| 5 | 0.00 | 0.00 | 159,179,910.50 |
76+
77+
#### [Counter] Operations
78+
| Run # | operations | operations / s | ns / operations |
79+
|---------------- |---------------- |---------------- |---------------- |
80+
| 1 | 25,548,331.00 | 160,399,975.64 | 6.23 |
81+
| 2 | 25,548,331.00 | 160,394,476.13 | 6.23 |
82+
| 3 | 25,548,331.00 | 160,331,602.34 | 6.24 |
83+
| 4 | 25,548,331.00 | 160,425,071.92 | 6.23 |
84+
| 5 | 25,548,331.00 | 160,499,719.60 | 6.23 |
85+
86+
87+
## Traces
88+
[NBench][DEBUG][3/8/2018 8:37:33 PM][Thread 0001] Beginning Warmups for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
89+
[NBench][DEBUG][3/8/2018 8:37:33 PM][Thread 0001] ----- BEGIN PRE-WARMUP -----
90+
[NBench][INFO][3/8/2018 8:37:33 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
91+
[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
92+
[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.
93+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
94+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
95+
[NBench][DEBUG][3/8/2018 8:37:47 PM][Thread 0001] ----- END PRE-WARMUP -----
96+
[NBench][DEBUG][3/8/2018 8:37:47 PM][Thread 0001] ----- BEGIN WARMUPS -----
97+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
98+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
99+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
100+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
101+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
102+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
103+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
104+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
105+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
106+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
107+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
108+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
109+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
110+
[NBench][INFO][3/8/2018 8:37:47 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
111+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
112+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
113+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
114+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
115+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
116+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for warmup 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
117+
[NBench][DEBUG][3/8/2018 8:37:48 PM][Thread 0001] ----- END WARMUPS -----
118+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
119+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
120+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
121+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for run 1 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
122+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
123+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
124+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
125+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for run 2 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
126+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
127+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
128+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
129+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for run 3 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
130+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
131+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
132+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
133+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Generating report for run 4 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
134+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking setup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
135+
[NBench][INFO][3/8/2018 8:37:48 PM][Thread 0001] Invoking Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
136+
[NBench][INFO][3/8/2018 8:37:49 PM][Thread 0001] Invoking cleanup for Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
137+
[NBench][INFO][3/8/2018 8:37:49 PM][Thread 0001] Generating report for run 5 of Phobos.Actor.Common.Tests.Performance.UnitTest1+TestMethod1
138+
139+

RELEASE_NOTES.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
#### 0.1.0 August 14 2017 ####
2-
First release
1+
#### 1.0.0 March 8 2018 ####
2+
Introduced the following two interfaces:
3+
4+
* `INeverTrace` - disables all tracing for any actors who implement this interface.
5+
* `INeverMonitor` - disables all monitoring for any actors who implement this interface.

build.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ Target "Nuget" DoNothing
271271
// all
272272
"BuildRelease" ==> "All"
273273
"RunTests" ==> "All"
274-
"NBench" ==> "All"
274+
//"NBench" ==> "All"
275275
"Nuget" ==> "All"
276276

277277
RunTargetOrDefault "Help"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// -----------------------------------------------------------------------
2+
// <copyright file="INeverMonitor.cs" company="Petabridge, LLC">
3+
// Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com>
4+
// </copyright>
5+
// -----------------------------------------------------------------------
6+
7+
namespace Phobos.Actor.Common
8+
{
9+
/// <summary>
10+
/// Marker interface used to indiate that this actor never
11+
/// produces Phobos.Monitoring events under any circumstances.
12+
/// </summary>
13+
/// <remarks>
14+
/// This interface cannot be overridden by configuration.
15+
/// </remarks>
16+
public interface INeverMonitor
17+
{
18+
}
19+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// -----------------------------------------------------------------------
2+
// <copyright file="INeverTrace.cs" company="Petabridge, LLC">
3+
// Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com>
4+
// </copyright>
5+
// -----------------------------------------------------------------------
6+
7+
namespace Phobos.Actor.Common
8+
{
9+
/// <summary>
10+
/// Marker interface used to indicate that this actor
11+
/// never produces Phobos.Tracing events under any circumstances.
12+
/// </summary>
13+
/// <remarks>
14+
/// This interface cannot be overridden by configuration.
15+
/// </remarks>
16+
public interface INeverTrace
17+
{
18+
}
19+
}

src/common.props

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
<PropertyGroup>
33
<Copyright>Copyright © 2017 Your Company</Copyright>
44
<Authors>Your Authors</Authors>
5-
<VersionPrefix>0.1.0</VersionPrefix>
6-
<PackageReleaseNotes>Placeholder</PackageReleaseNotes>
7-
<PackageIconUrl></PackageIconUrl>
8-
<PackageProjectUrl></PackageProjectUrl>
9-
<PackageLicenseUrl></PackageLicenseUrl>
5+
<VersionPrefix>1.0.0</VersionPrefix>
6+
<PackageReleaseNotes>Introduced the following two interfaces:
7+
`INeverTrace` - disables all tracing for any actors who implement this interface.
8+
`INeverMonitor` - disables all monitoring for any actors who implement this interface.</PackageReleaseNotes>
9+
<PackageIconUrl>
10+
</PackageIconUrl>
11+
<PackageProjectUrl>
12+
</PackageProjectUrl>
13+
<PackageLicenseUrl>
14+
</PackageLicenseUrl>
1015
<NoWarn>$(NoWarn);CS1591</NoWarn>
1116
</PropertyGroup>
1217
<PropertyGroup>

src/phobos.actor.common.Tests.Performance/UnitTest1.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using System;
1+
// -----------------------------------------------------------------------
2+
// <copyright file="UnitTest1.cs" company="Petabridge, LLC">
3+
// Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com>
4+
// </copyright>
5+
// -----------------------------------------------------------------------
6+
27
using NBench;
38

49
namespace Phobos.Actor.Common.Tests.Performance
@@ -23,4 +28,4 @@ public void TestMethod1()
2328
_opsCounter.Increment();
2429
}
2530
}
26-
}
31+
}

src/phobos.actor.common.Tests/UnitTest1.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using System;
1+
// -----------------------------------------------------------------------
2+
// <copyright file="UnitTest1.cs" company="Petabridge, LLC">
3+
// Copyright (C) 2018 - 2018 Petabridge, LLC <https://petabridge.com>
4+
// </copyright>
5+
// -----------------------------------------------------------------------
6+
27
using Xunit;
38

49
namespace Phobos.Actor.Common.Tests
@@ -10,4 +15,4 @@ public void TestMethod1()
1015
{
1116
}
1217
}
13-
}
18+
}

src/phobos.actor.common/Class1.cs

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/phobos.actor.common/phobos.actor.common.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44

55
<PropertyGroup>
6-
<TargetFramework>netstandard2.0</TargetFramework>
6+
<TargetFramework>netstandard1.0</TargetFramework>
7+
<Description>Common interfaces and classes used inside Phobos.Actor consumers.</Description>
78
</PropertyGroup>
89

910
</Project>

0 commit comments

Comments
 (0)