FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NetCode/NetCode.Benchmarks/Program.cs at main · Levchenkov/NetCode · GitHub
Levchenkov
/
NetCode
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
71
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
NetCode
/
NetCode.Benchmarks
/
Program.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (15 loc) · 514 Bytes
Breadcrumbs
NetCode
/
NetCode.Benchmarks
/
Program.cs
Copy path
File metadata and controls
18 lines (15 loc) · 514 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// See https://aka.ms/new-console-template for more information
using
BenchmarkDotNet
.
Running
;
using
NetCode
.
Benchmarks
;
var
switcher
=
new
BenchmarkSwitcher
(
new
[
]
{
typeof
(
BitReader_ReadBits_Benchmark
)
,
typeof
(
BitReader_ReadByte_Benchmark
)
,
typeof
(
BitReader_ReadInt_Benchmark
)
,
typeof
(
BitWriter_WriteBits_Benchmark
)
,
typeof
(
BitWriter_WriteByte_Benchmark
)
,
typeof
(
BitWriter_WriteInt_Benchmark
)
,
typeof
(
ByteReaderBenchmark
)
,
typeof
(
ByteWriterBenchmark
)
,
}
)
;
switcher
.
Run
(
args
)
;
Back
|
FazBrowse Home
|
New Git URL