[ledger][benchmarks] Randomize keys.

Keys generated for the benchmarks had the index as a prefix, making
them partially sequential (e.g. 1, 10, 2, 3, 4, 5, 6, 7, 8, 9). After
this CL, keys will have the index as a suffix, forcing a random order
in insertions/updates, while still allowing retrieving the keys' ids.

Note that this change will likely change some of the results in the
dashboard, because of the re-ordering of the keys.

Test: All benchmarks are still running correctly.
Change-Id: If88eeb556dbccf1a668d3af2040614d9b068d7b1
4 files changed
tree: 66c057e8aa08868f3cd65e0eff70b572744360fb
  1. .clang-format
  2. .clang-tidy
  3. .gitignore
  5. BUILD.gn
  9. README.md
  10. bin/
  11. boards/
  12. build/
  13. cloud/
  14. docs/
  15. examples/
  16. infra/
  17. lib/
  18. navbar.md
  19. packages/
  20. products/
  21. public/
  22. tests/
  23. third_party/
  24. web/


Peridot is a framework for composed, intelligent and distributed user experiences.

Applications not explicitly designed to interoperate (and possibly implemented in different programming languages) are ephemerally downloaded and dynamically composed to run in a shared context. The framework manages application lifecycle, resources and view hierarchy; and well as context and suggestion infrastructure.

State of Peridot experiences is transparently synchronized across user devices using a distributed offline-first storage system.

Read more