mirror of https://bitbucket.org/ausocean/av.git
filter: benchmark: error checking for write function update descriptions
This commit is contained in:
parent
f3df9f51f8
commit
96ec7003db
|
@ -143,8 +143,15 @@ func BenchmarkDifference(b *testing.B) {
|
||||||
>>>>>>> 450df394... filter: benchmark: remove \n from log
|
>>>>>>> 450df394... filter: benchmark: remove \n from log
|
||||||
for n := 0; n < b.N; n++ {
|
for n := 0; n < b.N; n++ {
|
||||||
for _, x := range testPackets {
|
for _, x := range testPackets {
|
||||||
|
<<<<<<< HEAD
|
||||||
f.Write(x)
|
f.Write(x)
|
||||||
>>>>>>> 31ccc30a... benchmark testing file
|
>>>>>>> 31ccc30a... benchmark testing file
|
||||||
|
=======
|
||||||
|
_, err := f.Write(x)
|
||||||
|
if err != nil {
|
||||||
|
b.Fatalf("cannot write to diff filter: %v#", err)
|
||||||
|
}
|
||||||
|
>>>>>>> 3800faf9... filter: benchmark: error checking for write function update descriptions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
tests.go contains 15 JPEG frames in hex used for testing in filter_test.go.
|
tests.go contains 15 JPEG frames in hex used for testing in filter_test.go.
|
||||||
These are used to test the benchmarking for the filters found in this
|
These are used to test the benchmarking for the filters found in this
|
||||||
|
@ -9,6 +10,11 @@ DESCRIPTION
|
||||||
These are used to test the benchmarking for the filters found in this
|
These are used to test the benchmarking for the filters found in this
|
||||||
folder, the output of the filters can be found in testout/test_outFILTER.mjpeg
|
folder, the output of the filters can be found in testout/test_outFILTER.mjpeg
|
||||||
>>>>>>> 03d46b19... filter: benchmark: chaning descriptions
|
>>>>>>> 03d46b19... filter: benchmark: chaning descriptions
|
||||||
|
=======
|
||||||
|
tests.go contains 15 JPEG frames in hex used for testing in filter_test.go.
|
||||||
|
These are used to test the benchmarking for the filters found in this
|
||||||
|
folder, the output of the filters can be found in testout/test_outFILTER.mjpeg
|
||||||
|
>>>>>>> 3800faf9... filter: benchmark: error checking for write function update descriptions
|
||||||
|
|
||||||
AUTHOR
|
AUTHOR
|
||||||
Ella Pietraroia <ella@ausocean.org>
|
Ella Pietraroia <ella@ausocean.org>
|
||||||
|
|
Loading…
Reference in New Issue