-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix to SSTDEG Read never return EOF. - Relaxed random standard deviation to 50 (SSTDEG). - Improvement to ReadAggr Read try to read from each source until return required bytes. - Improvement to Salter try to read from source until return required bytes when creating a new token. - Added a new test Bash script. - Added a new file to keep track of benchmark results.
- Loading branch information
Showing
7 changed files
with
54 additions
and
39 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
BenchmarkSalter-4 200000 10109 ns/op 672 B/op 9 allocs/op | ||
BenchmarkSSTDEG-4 20000 96517 ns/op 3655 B/op 57 allocs/op | ||
BenchmarkSSTDEGWait-4 30000 81137 ns/op 3053 B/op 47 allocs/op |
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
go test -v --race ./... | ||
go test -v ./... | ||
test -z "$(gofmt -s -l -w . | tee /dev/stderr)" | ||
test -z "$(golint ./... | tee /dev/stderr)" | ||
go vet ./... | ||
go test -bench . -benchmem ./... | grep "Benchmark" > bench_result.txt |