Skip to content

Commit 4e17ad1

Browse files
authored
Merge pull request #21 from cloudtoid/refactor
Refactor
2 parents 66246a1 + cc28948 commit 4e17ad1

62 files changed

Lines changed: 2872 additions & 2154 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ jobs:
1919
dotnet-version: |
2020
9.0.x
2121
22-
- name: Build - Debug
23-
run: dotnet build src/Interprocess.sln
24-
2522
- name: Test - Debug
26-
run: dotnet test --no-build --verbosity=detailed src/Interprocess.sln
23+
run: dotnet test src/Interprocess.sln
2724

2825
- name: Build - Release
2926
run: dotnet build -c Release src/Interprocess.sln

.vscode/launch.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Publisher Sample",
9+
"type": "dotnet",
10+
"request": "launch",
11+
"projectPath": "${workspaceFolder}/src/Sample/Publisher/Publisher.csproj"
12+
},
13+
{
14+
"name": "Subscriber Sample",
15+
"type": "dotnet",
16+
"request": "launch",
17+
"projectPath": "${workspaceFolder}/src/Sample/Subscriber/Subscriber.csproj"
18+
}
19+
]
20+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
"Diagnoser",
55
"Interprocess",
66
"Kaby",
7+
"Onnx",
78
"Pedram",
89
"Posix",
910
"Rezaei",
11+
"Roslynator",
12+
"Timespec",
1013
"Xeon",
1114
"Xunit"
1215
]

.vscode/tasks.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"type": "shell",
7+
"command": "dotnet",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/src"
11+
],
12+
"group": {
13+
"kind": "build",
14+
"isDefault": true
15+
},
16+
"problemMatcher": [
17+
"$msCompile"
18+
],
19+
"presentation": {
20+
"reveal": "always",
21+
"panel": "shared"
22+
}
23+
},
24+
]
25+
}

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ A lot has gone into optimizing the implementation of this library. For instance,
107107

108108
| Method | Description |
109109
|------------------------------------------------ |-------------- |
110-
| Message enqueue | Benchmarks the performance of enqueuing a message. |
111110
| Message enqueue and dequeue | Benchmarks the performance of sending a message to a client and receiving that message. It is inclusive of the duration to enqueue and dequeue a message. |
112111
| Message enqueue and dequeue - no message buffer | Benchmarks the performance of sending a message to a client and receiving that message. It is inclusive of the duration to enqueue and dequeue a message and memory allocation for the received message. |
113112

@@ -117,12 +116,6 @@ You can replicate the results by running the following command:
117116
dotnet run Interprocess.Benchmark.csproj -c Release
118117
```
119118

120-
You can also be explicit about the .NET SDK and Runtime(s) versions:
121-
122-
```sh
123-
dotnet run Interprocess.Benchmark.csproj -c Release -f net9.0 --runtimes net9.0
124-
```
125-
126119
---
127120

128121
### On Windows
@@ -141,7 +134,6 @@ Results:
141134

142135
| Method | Mean (ns) | Error (ns) | StdDev (ns) | Allocated |
143136
|------------------------------------------------ |----------:|-----------:|------------:|----------:|
144-
| Message enqueue | `192.7`| `3.61`| `3.21`| `-` |
145137
| Message enqueue and dequeue | `305.6`| `5.96`| `6.62`| `-` |
146138
| Message enqueue and dequeue - no message buffer | `311.5`| `5.90`| `9.85`| `32 B` |
147139

@@ -182,7 +174,6 @@ Results:
182174

183175
| Method | Mean (ns) | Error (ns) | StdDev (ns) | Allocated |
184176
|------------------------------------------------ |----------:|-----------:|------------:|----------:|
185-
| Message enqueue | `5.3`| `-`| `-`| `-`|
186177
| Message enqueue and dequeue | `169.9`| `3.08`| `4.01`| `-`|
187178
| Message enqueue and dequeue - no message buffer | `179.4`| `1.91`| `1.60`| `32 B`|
188179

0 commit comments

Comments
 (0)