[symbolize] Check modtime on ids.txt

This change checks the mod time on the ids.txt file
prior to reading the file and thus prior to performing
verificiation of the ids.txt. Coupled with caching this
reduces the primary cost of the symbolize to be parsing (30-40%, 30% regex alone),
lock contention (15%). This represents something like a 1000x
speed up. Further optimization seems much harder. Increasing
go channel buffer sizes should give a 25%-50% improvement.

Change-Id: I0da1a05c7e31afc68d8ddc2eecd0acf42ae59961
2 files changed
tree: 7f2dc067ae55b651189631f8ab5a2118fd11315c
  1. .gitignore
  2. Gopkg.lock
  3. Gopkg.toml
  4. LICENSE
  5. PATENTS
  6. README.md
  7. bloaty/
  8. cache/
  9. cmd/
  10. color/
  11. elflib/
  12. gndoc/
  13. isatty/
  14. logger/
  15. manifest
  16. ninjalog/
  17. symbolize/
README.md

tools

This repo contains tools used in Fuchsia build and development.

Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe. To add a tool to the build:

  • Edit the bot config.
  • Find the builder_mixins section with name: "tools".
  • Edit the JSON in properties_j to add a string to the packages list:
"fuchsia.googlesource.com/tools/cmd/your-new-tool"