You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,17 +113,17 @@ Check out the [examples](examples) folder for more examples, like [how to genera
113
113
114
114
Two of the top priorities of this parser are performance and concurrency.
115
115
116
-
Here are some benchmark results from a system with an Intel i7 2600k CPU and a SSD disk running Windows 10 and a demo with 85'000 frames.
116
+
Here are some benchmark results from a system with an Intel i7 6700k CPU and a SSD disk running Windows 10 and a demo with 85'000 frames.
117
117
118
118
### Overview
119
119
120
120
|Benchmark|Description|Average Duration|Speed|
121
121
|-|-|-|-|
122
-
|`BenchmarkConcurrent`|Read and parse 8 demos concurrently|2.84 s (per 8 demos)|~240'000 ticks / s|
123
-
|`BenchmarkDemoInfoCs`|Read demo from drive and parse|1.24 s|~68'000 ticks / s
124
-
|`BenchmarkInMemory`|Read demo from memory and parse|1.21 s|~70'000 ticks / s
122
+
|`BenchmarkConcurrent`|Read and parse 8 demos concurrently|2.06 s (per 8 demos)|~330'000 ticks / s|
123
+
|`BenchmarkDemoInfoCs`|Read demo from drive and parse|0.89 s|~95'000 ticks / s
124
+
|`BenchmarkInMemory`|Read demo from memory and parse|0.88 s|~96'000 ticks / s
125
125
126
-
*That's about 1h of gameplay per second when parsing in parallel (recorded at 64 ticks per second) - or 18 minues per second when only parsing a single demo at a time.*
126
+
*That's almost 1.5 hours of gameplay per second when parsing in parallel (recorded at 64 ticks per second) - or 25 minues per second when only parsing a single demo at a time.*
127
127
128
128
### Raw output
129
129
@@ -132,15 +132,14 @@ $ go test -run _NONE_ -bench . -benchtime 30s -benchmem -concurrentdemos 8
0 commit comments