-
Notifications
You must be signed in to change notification settings - Fork 3
Performance
Steven Stallion edited this page Jun 20, 2019
·
2 revisions
The following measurements were collected using a superficial benchmark suite
provided by the github.com/sstallion/go-eeprom
package. The device under test
was a 64Kbit Atmel AT28C64B.
$ go test -v -short -bench . -benchtime 10ms github.com/sstallion/go-eeprom
=== RUN TestReset
--- SKIP: TestReset (0.00 seconds)
=== RUN TestVerify
--- SKIP: TestVerify (0.00 seconds)
PASS
BenchmarkRead8K 1 129741291 ns/op
BenchmarkWriteBytes8K 1 44841252234 ns/op
BenchmarkWritePages8K 1 736189218 ns/op
BenchmarkErase 1 21344897 ns/op
ok github.com/sstallion/go-eeprom 45.804s