Skip to content

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

  1. http://godoc.org/github.com/sstallion/go-eeprom
  2. http://www.atmel.com/devices/at28c64b.aspx
Clone this wiki locally