Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix DecodeBasic benchmark - Same instance of the Basic struct can't be reused between benchmarks - Move Person struct to the package level - Add pure JSON unmarshal benchmark - Run benchmarks in TravisCI to prevent future breakages
- Loading branch information
Showing
2 changed files
with
39 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ go: | |
|
||
script: | ||
- go test | ||
- go test -bench . -benchmem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters