Skip to content

narqo/benchserder

Repository files navigation

See marshallers.go for the list of tested marshallers.

Run all benchmarks

```
% go test -mod=vendor ./ -run XX -bench .
```

Run benchmarks for specific marshaller

```
% go test -mod=vendor ./ -run XX -bench '/marshaller=easyjson'
```

Run benchmarks for specific file type

```
% go test -mod=vendor ./ -run XX -bench '//file=event_2K'
```

Run benchmarks for subset of marshallers and file types

```
% go test -mod=vendor ./ -run XX -bench '/marshaller=(json|easyjson|segmentio-json)$/file=event_2K'
```

Run compression rate benchmarks

```
% go test -mod=vendor ./ -run XX -bench 'Compression'
```

About

Benchmarking different data encoders in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages