Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Specify DDR4 in benchmark system because faster RAM
(DDR5 or overclocked DDR4) makes a difference in this
specific comparison.
  • Loading branch information
fxamacker authored May 18, 2023
1 parent de6c7eb commit 95b9e5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Decoding 10 bytes of malicious data into `[]byte` shouldn't exhaust memory. E.g.
| ugorji/go 1.1.0 - 1.2.6 | 💥 runtime: | out of memory: | cannot allocate |

```
go1.19.6, linux/amd64, i5-13600K
GOMAXPROCS=6 go test -bench=. -benchmem -count=20
go1.19.6, linux/amd64, i5-13600K (DDR4)
go test -bench=. -benchmem -count=20
```

fxamacker/cbor CBOR safety settings include: MaxNestedLevels, MaxArrayElements, MaxMapPairs, and IndefLength.
Expand Down

0 comments on commit 95b9e5b

Please sign in to comment.