Skip to content

Fuzzing: Add CIFuzz#239

Merged
buger merged 1 commit intobuger:masterfrom
AdamKorcz:cifuzz1
Nov 25, 2021
Merged

Fuzzing: Add CIFuzz#239
buger merged 1 commit intobuger:masterfrom
AdamKorcz:cifuzz1

Conversation

@AdamKorcz
Copy link
Contributor

Description: What this PR does
Adds CIFuzz to jsonparsers OSS-fuzz integration. In short, CIFuzz is a service offered by OSS-fuzz to run jsonparsers fuzzers during the CI to prevent bugs from being introduced.
In this PR the fuzz time is set to 600 seconds but can be changed.

More about CIFuzz can be found here: https://google.github.io/oss-fuzz/getting-started/continuous-integration/

Benchmark before change:

Benchmark after change:

For running benchmarks use:

go test -test.benchmem -bench JsonParser ./benchmark/ -benchtime 5s -v
# OR
make bench (runs inside docker)

@buger buger merged commit a6f867e into buger:master Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants