User:GNUtoo/Benchmarks

From flashrom
< User:GNUtoo
Revision as of 15:45, 25 October 2016 by GNUtoo (talk | contribs) (Created page with "== Methodologies and usual caveats == * The time command doesn't print how long a command ran, instead it measures resource usages, like CPU time. * When writing to a flash ch...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Methodologies and usual caveats

  • The time command doesn't print how long a command ran, instead it measures resource usages, like CPU time.
  • When writing to a flash chip, flashrom will read it, then write the differences and read it again to verify it was written correctly. Because it only writes the differences, benchmarks needs to take it into account by erasing the flash or flashing an known image before starting the test.
  • Coreboot has reproducible builds. This can be used to share an image to flash.
  • If flashrom failed to write some zones, it might try again. TODO: Verify if/when it prints a warning.